difference between ponyser and siprog

Microcontroller, DSP and FPGA Topics

difference between ponyser and siprog

Postby SemiconductorCat » Mon Apr 29, 2013 3:35 am

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--
User avatar
SemiconductorCat
 
Posts: 462
Joined: Mon Aug 22, 2011 3:12 pm
Cash on hand: 23,861.30
Location: currently in hyperspace

Invitations sent: 0
Registered friends: 0
Reputation point: 9
Corporal

Re: difference between ponyser and siprog

Postby SevenZero » Mon Apr 29, 2013 5:48 pm

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.
http://www.lankatronics.com/development-tools/atmel-development-kits/usbisp-usb-programmer-for-atmel-avr-controllers.html
User avatar
SevenZero
Support Team
Support Team
 
Posts: 286
Joined: Sun Nov 01, 2009 3:07 pm
Cash on hand: 201,474.40

Invitations sent: 0
Registered friends: 0
Reputation point: 10
Corporal


Return to Embedded Processors & Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron