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
Not entirely clear what you mean by that?
You mean load code into RAM?
Yes I need to load code in RAM instead of Flash Memory.
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.
Please, I know RAM is volatile & it will be gone once it is power off. Again im trying to get a simple solution . I need to flash code in RAM instead of Flash memory is that possible if so how to achieve this?
im trying to get a simple solution
But a solution to what problem ?
What problem, exactly, do you solve by having your code disappear when the power is removed?
im trying to get a simple solution
But a solution to what problem ?
What problem, exactly, do you solve by having your code disappear when the power is removed?
We are working in a flashing prgram(if I try to explain it , it may go pages & pages) So only I have mentioned what I needed.