AVR Studio/AVR ISP EEPROM

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

To debug an ATmega103 problem, I want to read the EEPROM and transfer it to AVR Studio for simulation. The AVR STudio version 3.22 Prog and STK500 functions don't work with my STK300 dongle. So I tried to read the EEPROM with AVR ISP version 2.65 and upload this file to the AVR Studio simulated EEPROM.

I tried every possible file format, but none worked. If I chose Intel hex, AVR Studio says it has an invalid checksum. If I chose any other format, it says not an Intel hex file.

I did this some time ago on earlier versions of the software. AVR Studio warned me about an invalid checksum, but it still worked. Since then, I got a new computer and I "upgraded" the software.

Is there a way to bypass the checksum? I don't want to key in the whole EEPROM memory.

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

Hi Robert,

The AVR ISP software doesn't calculate any checksum when saving its .hex files. This is why AVR Studio won't accept them. The best solution I can think of, is creating an algorithm to calculate the checksums. I'm sorry I had no easy solutions.

Does anyone have a checksum program ready for Robert?

Best regards,

Morten, AVR tech. support, Atmel FAE

admin's test signature
 

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

Hi All!

I've just received the following mail along with the attached .exe file from Kanda. I assume you have, too, but this way it's made more available.

----

Hi,

I have attached a program that will generate the required checksum, load
your saved .hex file into it and save it under a different name, you should
now be able to load it into Astudio

----

Thank you, Kanda.

Best regards,

Morten, AVR tech. support, Atmel FAE

admin's test signature