logo elektroda
logo elektroda
X
logo elektroda
REKLAMA
REKLAMA
Adblock/uBlockOrigin/AdGuard mogą powodować znikanie niektórych postów z powodu nowej reguły.

[atmega162][avrdude] Win7 x64 odmowa dostępu

DrV 06 Sty 2011 17:21 2781 4
REKLAMA
  • #1 8967281
    DrV
    Poziom 10  
    Witam,

    mam mały problem, programator nie chce mi działać normalnie:

    
    avrdude.exe: stk500_getsync(): not in sync: resp=0x00
    avrdude.exe: ser_open(): can't open device "com3": Odmowa dostępu.
    


    Co może być nie tak? Programator mam taki:
    http://allegro.pl/show_item.php?item=1373451100

    W trybie administratora uruchamiam, swoją drogą na profilu i tak mam pełne prawa do wszystkiego.

    Pozdrawiam
  • REKLAMA
  • REKLAMA
  • #3 8967566
    DrV
    Poziom 10  
    Jest w Systemie, komunikuje się z programatorem - mogę mu zmienić soft, ale już nic poza programator.

    To samo się dzieje na drugim komputerze, z WinXp.
  • REKLAMA
  • #5 8968061
    DrV
    Poziom 10  
    Czytałem, jedna od bootloader'a druga od Vcc - wtedy wychodzi na Pin

    Jednakże w obu przypadkach - VCC z programatora, i VCC z zewnętrznego źródła problem ten jest nadal.


    Edit:

    zmiana AVRdude na trochę inny:

    
    avrdude.exe: stk500v2_command(): command failed
    avrdude.exe: initialization failed, rc=-1
    avrdude.exe: AVR device initialized and ready to accept instructions
    
    Reading | ################################################## | 100% 0.10s
    
    avrdude.exe: Device signature = 0xffffff
    avrdude.exe: Yikes!  Invalid device signature.
    avrdude.exe: Expected signature for ATMEGA162 is 1E 94 04
    avrdude.exe: reading input file "E:\ds18b20.hex"
    avrdude.exe: input file E:\ds18b20.hex auto detected as Intel Hex
    avrdude.exe: writing flash (2678 bytes):
    
    Writing | ##avrdude.exe: stk500v2_command(): unknown status 0x81
    avrdude.exe: stk500v2_paged_write: write command failed
    ################################################ | 100% 0.74s
    
    avrdude.exe: failed to write flash memory, rc=-1
    
    avrdude.exe done.  Thank you.
    


    bez -F nie pyka wogóle, a tak sypie tym błędem rc=-1, czyżbym ATmege wysadził?


    Problem rozwiązałem - jak się okazało FUSEbit się przestawił -.-
    Ale z pomocą przyszedł Generator z programatora podpięty do XTAL1, ustawiłem Fusebit i działa.
REKLAMA