studio 4 via jtag interface clears device EEPROM and EESAVE

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

Hei all,

Device : ATMEGA16
Studio4 : V 4.08 build 310
Interface to device : JTAG-ICE

Situation
----------
Device is loaded with a program and also with valid EEPROM data. The EESAVE fush
is programmed, meaning that EEPROM data is preserved on a chip Erase.

Next i Start up Studio4 and load the Project-name_cof.aps file produced by Imagecraft
c-compiler.

Problem
----------
After studio4 is initialised and the device is stopped, i notice that the EEPROM contents
is erased, all FF's, and that the EESAVE flag is unprogrammed ???

I need help to get out of this one.

Regards,
Fabrizio.

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

Solution Found.

When Studio4 is loaded with the Project-name_cof.aps file produced by Imagecraft
c-compiler. Select the Menu item Debug | Jtag-ICE options | Debug

Check the Selection box "Preserve EEPROM contents when reprograming device"

Apply your changes.

This will prevent the EEPROM in the device, and The EESAVE-fush, to be cleared when
Studio4 reprograms the device.

Fabrizio.