Only when i disabled the caches was I able to run the code from ram. Later when I am able I'm going to look into enabling the caching.
Im going to attach the code that i use to compile and move the code onto the SD card automatically.
The...
Thank you so so much Paul!
After some digging I found out that I also need to disable the D and I cache with SCB_DisableICache(); and SCB_DisableDCache();
But either way now that I am able to run code from the OCRAM comes the next challenge of...
Hi all,
I'm working on a project where I need to load and execute code dynamically from an SD card. Specifically, I’m allocating memory in RAM2 using malloc(), copying precompiled function code into that memory region, and then trying to call it...
I am currently working on a project that has to run compiled code that is previously loaded on an SD card. So far I have managed to do the loading from an SD card part and I supposedly have done the code execution (but I will upload the execution...
Hello I'm going back to my project after some time and for some reason there is a delay of 7 seconds that happens for some reason.
What happens the MC runs fine, this can be indicated by the internal led i have setup to blink, but when I send...