I am working on a OTA Firmware update for my boards, and I have to copy my flash functions into RAM. I run into the problem when running a RAM Function. If I step through the code by assembly instructions, I can get through the RAM function. If I don’t, my board resets. I am assuming a context switch or interrupt is messing with where the RAM function left off, and is causing a reset.
The RAM functions are copied to a declared global array that is of a fixed size. So I don’t think I have some scope problem.
How does FreeRTOS deal with RAM Functions?