AVRDUDE and ATMEGA88PA

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I can't get AVRdude to program an ATmega88PA device, it fails on the first address in the verify pass.

Running avrdude 5.10 under Windows/Eclipse (or cmd). I'm using the -F option and the atmega88 profile. The programming process seems to work fine, I can read the device signature and I think I can program the fuse bytes, but the flash part will not verify. Reading the device with AVRSTUDIO it looks like nothing got programmed at all. I folloed the suggestions of modifying the avrdude.conf file by changing the signature of the 88 to match the one of the 88PA device, but to no avail.

I hate having to go back to AVRSTUDIO...

Anybody have this working OK?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

First off. You should never use -F flag.

By all means add a mega88P entry to the avrdude.conf file, or download a later avrdude.

I don't think that the configuration is any different for the P / non-P chips. You can compare the mega328P with the mega168 entries in avrdude.conf.

I suspect you have made a typo somewhere. Re-install a virgin avrdude.conf and start again.

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

By all means add a mega88P entry to the avrdude.conf file, or download a later avrdude.

David,
Is there a later version then 5.10 available, and if so, where do I get it? I did the modification to the .conf twice on two different machines...

Thanks
gary

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

My avrdude is v5.10. I have used avrdude to upload to a mega328P via the Arduino bootloader.

I will try it via usbasp if you like. However I only have a m328p or m168.

Usbasp should work perfectly with any AVR and ISP. Did you buy your usbasp or make it yourself?

If you can use Studio, perhaps you have an AVRISP-2 that can verify avrdude.

David.