Hi,
Is it possible to create some place in memory on fixed address (like an raw int array or custom struct) and get access to it without erasing/cleaning it after restart?
I have an issue with my project - after some time period it stops responding. It is build on FEZ Portal, with UI, Wifi and uses Mikro Bus for ModBus communication and addition ADC. After some time period device stops to respond. My idea is to have some space in memory, on fixes address where I can store current stack and then if something stops responding watchdog should restart CPU and application should find that in that space there is some data and I can find in which moment application stops responding/hangs.
My app is using custom non-preemption multitasking, so each device have custom function and they are executed one after another, each of them is designed to work as short as possible, and if it need to handle some longer action it is partially executed each time specific function was called. Order of those functions could be dynamically change depending on current situation (network request ongoing, modbus communication ongoing etc - in such case some functions could be executed more often than other).
BR
KJ