Is it possible to write GPREGRET when S210 is running? Writing directly to register causing HardFault.
Is it possible to write GPREGRET when S210 is running? Writing directly to register causing HardFault.
Hi,
I've misread your application.
If you want to store variables after reset, you must store the variable to flash. There's an example on this in our SDK, which is called "flashwrite_example".
GPREGRET register will be cleared after reset. Same with RAM.
Best regards Håkon
Hi,
I've misread your application.
If you want to store variables after reset, you must store the variable to flash. There's an example on this in our SDK, which is called "flashwrite_example".
GPREGRET register will be cleared after reset. Same with RAM.
Best regards Håkon