Other Parts Discussed in Thread: HALCOGEN,
Hello,
I'm working on a RM46 project where we are using HALCoGen. During startup following both cold and warm resets, I'd like to determine the microcontroller reset reason and store it so it can be used later on in my program. HALCoGen's _c_int00 function contains placeholders for user code to handle different reset causes. However, if I were to add some code here to capture the reset reason in a variable, it would get overwritten by the subsequent PBIST RAM tests which I also want to use.
Is there a way I could temporarily store a single 32-bit value somewhere, maybe a CPU register, during RAM tests and then copy it back to RAM after the tests have completed?
Many thanks