Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

An Option to Reset or not the EEPROM Content

2 posters

Go down  Message [Page 1 of 1]

KerimF

KerimF

I guess there is already a function in the SimulIDE code that resets the EEPROM content when the MCU Monitor is invoked for the first time.

To debug easily the part of the user code/function that initializes the MCU EEPROM, the EE content needs to be restored to its fresh state/content (all its bytes=0xFF). I hope it is not difficult to implement this option in the near future.

arcachofo

arcachofo

Currently it works similar to a real device: EEPROM is always persistent.
There is already a new property "EEPROM persistent" in development version.

KerimF

KerimF

arcachofo wrote:Currently it works similar to a real device: EEPROM is always persistent.
There is already a new property "EEPROM persistent" in development version.

Thank you.

KerimF

KerimF

SimulIDE_1.0.1-R1374_Win32

It seems the "EEPROM persistent" (if unchecked) works after saving the schematic and opening it again only.

I hoped it could be made to also work, if unchecked, every time the debugger starts.
(And when the function of initializing EEPROM in the code has no more bugs, the "EEPROM persistent" could be checked again, or not, for further debugging sessions of the remaining functions.)

arcachofo

arcachofo

I hoped it could be made to also work, if unchecked, every time the debugger starts.
You are right, if EEPROM is not persistent it should be cleared after any reset.

arcachofo

arcachofo

Solved at Rev 1392.

KerimF

KerimF

I wonder if it is possible to add the option, in ATmega8 properties, of ‘persistent EEPROM’ also in SimulIDE_1.0.0 as done in SimulIDE_1.0.1-R1386.

Thank you.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum