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.
Yes, I need to execute the whole program(all function call) from RAM. I know we need to change in linker script 'Flash_Placement.xml' & Section Placement Macro. I have tried different methods referring website still I have not got a solution.
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!
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!
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?
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.