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

Problem z połączeniem podczas programowania ZL3AVR+STK500v2

Koziol.88 12 Sty 2011 11:08 1551 9
REKLAMA
  • #1 8994392
    Koziol.88
    Poziom 10  
    Przeszukałem googla i nie moge znaleźć nic co by pozwoliło rozwiązać mój problem.

    Posiadam płytkę ZL3AVR oraz prgramator USB AVR ISP II FT. Do programowania używam avrdude + avrdude gui v0.2.0

    Płytkę sam składałem - zestaw kit - ale moim zdaniem wszystko jest ok sprawdziłem napięci na pinach oraz połączenia czy nie występuje zimny lut.

    Instalację i konfiguracje programatora (sterowników) przeprowadziłem zgodnie z instrukcją producenta.


    W polu command line wpisane mam np:
    
    "C:\avrdude.exe" -p m32 -c stk500v2 -P com2 -U flash:w:"C:\1Wire.hex":a -e
    



    A w odpowiedzi otrzymuje:
    
    avrdude.exe: stk500v2_getsync(): can't communicate with device: resp=0x01
    
    avrdude.exe: AVR device initialized and ready to accept instructions
    
    Reading | ################################################## | 100% 0.09s
    
    avrdude.exe: Device signature = 0x1e9502
    avrdude.exe: erasing chip
    avrdude.exe: reading input file "C:\1Wire.hex"
    avrdude.exe: writing flash (1184 bytes):
    
    Writing | avrdude.exe: stk500v2_command(): unknown status 0xc9
    avrdude.exe: stk500v2_loadaddr(): failed to set load address
    ################################################avrdude.exe: stk500v2_command(): unknown status 0xc9
    avrdude.exe: stk500v2_loadaddr(): failed to set load address
    ## | 100% 8.13s
    
    avrdude.exe: 1184 bytes of flash written
    avrdude.exe: verifying flash memory against C:\1Wire.hex:
    avrdude.exe: load data flash data from input file C:\1Wire.hex:
    avrdude.exe: input file C:\1Wire.hex contains 1184 bytes
    avrdude.exe: reading on-chip flash data:
    
    Reading | avrdude.exe: stk500v2_command(): unknown status 0xc9
    avrdude.exe: stk500v2_loadaddr(): failed to set load address
    avrdude.exe: stk500v2_recv(): checksum error
    avrdude.exe: stk500v2_getsync(): can't communicate with device: resp=0x01
    avrdude.exe: stk500v2_recv(): checksum error
    avrdude.exe: stk500v2_getsync(): can't communicate with device: resp=0x01
    ##########avrdude.exe: stk500v2_recv(): checksum error
    avrdude.exe: stk500v2_getsync(): can't communicate with device: resp=0x01
    avrdude.exe: stk500v2_recv(): checksum error
    avrdude.exe: stk500v2_getsync(): can't communicate with device: resp=0x01
    ###########avrdude.exe: stk500v2_recv(): checksum error
    avrdude.exe: stk500v2_getsync(): can't communicate with device: resp=0x01
    avrdude.exe: stk500v2_recv(): checksum error
    avrdude.exe: stk500v2_getsync(): can't communicate with device: resp=0x01
    ###########avrdude.exe: stk500v2_recv(): checksum error
    avrdude.exe: stk500v2_getsync(): can't communicate with device: resp=0x01
    avrdude.exe: stk500v2_recv(): checksum error
    avrdude.exe: stk500v2_getsync(): can't communicate with device: resp=0x01
    ################## | 100% 26.72s
    
    avrdude.exe: verifying ...
    avrdude.exe: verification error, first mismatch at byte 0x0000
                 0x0c != 0x4f
    avrdude.exe: verification error; content mismatch
    
    avrdude.exe done.  Thank you.
    


    W czym może tkwić problem?
  • REKLAMA
  • #2 8994399
    Gural
    Poziom 11  
    nie masz połączenia z programatorem.

    Sprawdź połączenie sterowniki i port na którym działasz.
  • REKLAMA
  • #3 8994425
    Koziol.88
    Poziom 10  
    Sterowniki już 3 razy odinstalowywałem i instalowałem. Zwiększałem również opóźnienia i nadal nic. spróbuje w takim razie jeszcze raz.
    EDIT:
    nadal nic różnica pojawiła się tylko w pierwszej linijce tego co wypluwa gui:
    
    avrdude.exe: stk500_getsync(): not in sync: resp=0xf8
    avrdude.exe: stk500v2_getsync(): can't communicate with device: resp=0x01
    avrdude.exe: successfully opened stk500v2 device -- please use -c stk500v2
    
  • #4 8994441
    Gural
    Poziom 11  
    a sprawdź na którym porcie masz programator jesli jest zbyt odległy port tez nie bedzie poprawnie działał.
    sprawdź kable przy isp.
  • #5 8994446
    Koziol.88
    Poziom 10  
    Kable już wcześniej sprawdziłem. Port com przedtem był na com2 teraz jest podłączony do com6 - na obu może pracować avrdude (bo do com8) a nadal jest to samo.
  • REKLAMA
  • #6 8994455
    Gural
    Poziom 11  
    a programator masz podpiedy bezpośrednio do wejścia usb w komputerze?
  • #7 8994464
    Koziol.88
    Poziom 10  
    Tak specjalnie odkopywałem instrukcje do płyty głównej żeby sprawdzić które porty są podpięte bezpośrednio pod kontroler, a które do wbudowanego hub'a. Podpiełem do tego bezpośrdenio pod kontroler.
  • REKLAMA
  • #8 8994476
    Gural
    Poziom 11  
    a masz avrstudio ? lub winavr?
  • #9 8994500
    Koziol.88
    Poziom 10  
    Tak - avrstudio nie wykrywa w ogóle programatora
  • #10 9301037
    Koziol.88
    Poziom 10  
    Po długich perturbacjach z producentem wymienił mi programator na nowy - w obecnej chwili wszystko działa bez zarzutu.
REKLAMA