avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] avrdude and um232h


From: dcgcl
Subject: [avrdude-dev] avrdude and um232h
Date: Sat, 10 May 2014 22:24:45 +0200
User-agent: KMail/4.13 (Linux/3.14.2-1-ARCH; KDE/4.13.0; x86_64; ; )

system: archlinux
avrdude: 6.1
libftdi1: 1.1
libusb: 1.0.18
programmer: um232h
target: atmega328p, bare-boned, internal 8MHz oscillator, low_fuses=0xE2, 
high_fuses=0xDA, extended_fuses=0x05
wiring: following instructions 
"http://helix.air.net.au/index.php/avrdude-and-ftdi-232h/"; 


Hello,

I bought an um232h and now I'm tyring to program an atmega328p. Using 
"arduinoISP" works, using "um232h" doesn't work: 

    # avrdude  -p m328p -c um232h -b 3000000 -t 

    E avrftdi_program_enable(884): Device is not responding to program enable. 
Check connection.
    avrdude: initialization failed, rc=-1
            Double check connections and try again, or use -F to override
            this check.


    avrdude done.  Thank you.

Executing "avrdude  -p m328p -c um232h -b 3000000 -t -F": 
    
    # avrdude  -p m328p -c um232h -b 3000000 -t -F

    E avrftdi_program_enable(884): Device is not responding to program enable. 
Check connection.
    avrdude: initialization failed, rc=-1
    avrdude: AVR device initialized and ready to accept instructions
    avrdude: Device signature = 0xe8dc6b
    avrdude: Expected signature for ATmega328P is 1E 95 0F
    avrdude> part
    >>> part 

    AVR Part                      : ATmega328P
    Chip Erase delay              : 9000 us
    PAGEL                         : PD7
    BS2                           : PC2
    RESET disposition             : dedicated
    RETRY pulse                   : SCK
    serial program mode           : yes
    parallel program mode         : yes
    Timeout                       : 200
    StabDelay                     : 100
    CmdexeDelay                   : 25
    SyncLoops                     : 32
    ByteDelay                     : 0
    PollIndex                     : 3
    PollValue                     : 0x53
    Memory Detail                 :

                            Block Poll               Page                       
Polled
      Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   
ReadBack
      ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- 
---------
      eeprom        65    20     4    0 no       1024    4      0  3600  3600 
0xff 0xff
      flash         65     6   128    0 yes     32768  128    256  4500  4500 
0xff 0xff
      lfuse          0     0     0    0 no          1    0      0  4500  4500 
0x00 0x00
      hfuse          0     0     0    0 no          1    0      0  4500  4500 
0x00 0x00
      efuse          0     0     0    0 no          1    0      0  4500  4500 
0x00 0x00
      lock           0     0     0    0 no          1    0      0  4500  4500 
0x00 0x00
      calibration    0     0     0    0 no          1    0      0     0     0 
0x00 0x00
      signature      0     0     0    0 no          3    0      0     0     0 
0x00 0x00

    avrdude> q
    >>> q 

    avrdude done.  Thank you.
    
The device signature is changing randomly. Any idea?

Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]