Electronics > Microcontrollers

[SAM] "EEPROM" dealings

<< < (9/9)

Uh, yea, I need to learn to to the debug thing. But as the data is not retained at power on clearly the flashing of the data does not happen and the value I tested with was the first. as soon as I put the write to flash routine in the main program it retains the data.

You can at least read out the device memory before and after and compare them. This is trivial, just do it.

There is no difference between running from the interrupt handler and the regular code. You will have to share your code, I have no idea what is going on.

Well I display the numbers store on a screen so I have effectively already done that, inside the interrupt it does not update. Outside of the interrupt it does. Once this project over I'll have time to look at using the debugger.


[0] Message Index

[*] Previous page

There was an error while thanking
Go to full version