Trying to flash code in RAM of nRF52832 using Segger Embedded Studio.
Is there any SDK Example program for the same Please share the same
Trying to flash code in RAM of nRF52832 using Segger Embedded Studio.
Is there any SDK Example program for the same Please share the same
I have not tried in any other Cortex M4 before, So I don't know whether it is different or Not.
I need (sic?) to execute the whole program(all function call) from RAM
Why?
If you explain your goal, people may be able to help you get there ...
http://www.catb.org/esr/faqs/smart-questions.html#goal
Again:
I have tried different methods
What, exactly, have you tried?
What problems, exactly, are you having?
My goal is very simple. I'm trying to flash blinky SDE example program directly to RAM. Such a way that if I power OFF & ON the board. LED should not blink.(Code will be gone off)
No, "running from RAM" is not a goal - it is a means to an end.
RAM is volatile - so, when you power-off the board, the code will be gone!
So running from RAM is not going to achieve your stated goal with the LED!
I have tried setting of ProgramSection load="No" in Flash area and making ProgramSection load="yes" in the RAM area in 'Flash_Placement.xml' and removed FLASH related Macro in Section Placement MAcro in Common (Private Configuration), but I got build error in many cases.