Page 1 of 1

difference between ponyser and siprog

Posted: Mon Apr 29, 2013 9:05 am
by SemiconductorCat
Hi all, I have made ponyser programmer to burn hex files into my Atmega8 microcontroller.
But it does not correctly read the device signature there. Does anybody know the reason for this?
Image


I have used very low settings. I have even tried pull-up resistor to the RESET line. This is
my command line for avrdude setup.
Please note that I got usbto serial converter in /dev/ttyUSB0

Code: Select all

sandun@sandun-Aspire-4741:~$ sudo avrdude -c ponyser -P  /dev/ttyUSB0 -p m8 -i 500 -b 9600

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.



When I used the `-F` option , it realized that device signature 0x00000000 have been read. Which is invalid
signature for ATmega8.

Code: Select all

sandun@sandun-Aspire-4741:~$ sudo avrdude -c ponyser -P  /dev/ttyUSB0 -p m8 -i 500 -F

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
avrdude: Expected signature for ATMEGA8 is 1E 93 07

avrdude done.  Thank you.


And I have tested this with desktop motherboard with a inbuild serial port too. But it did not respond to it
either.

Any idea to make this work? Any idea where the trouble is?
Is that trouble is with the chip?. I have also double checked the wiring configurations.

Is that signature is programmed by the bootloader. But I didn't heard anything like that in the
datasheet. No matter bootloader is programmed or not it should respond to the device code
request , Am I right ?


--Thx in advance--

Re: difference between ponyser and siprog

Posted: Mon Apr 29, 2013 11:18 pm
by SevenZero
Hello

It is really good to hear that you have stepped in to practical micros.

However, I haven't use this circuit to program the ATMegas, so can't give you much help on this. However the chip ID is coming from the chip itself. No bootloader is necessary for that, a blank chip should do it.

I recommend you to use the Atmel ICSP programmer which is guaranteed to work with almost all Mega series ICs. It works with no trouble at all.
See TRONIC.LK