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.
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?
Please try the blinky example attached below. I just change the address range for the flash segment to code RAM. Segments should be renamed if you want to do it properly.
You also need to set update PC with the debugger to start execution from RAM:
EDIT: You also need to set the VTOR register if you need interrupt forwarding.
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.
I have tried with some register configuration by referring http://markding.github.io/swd_programing_sram/ and can able to flash code successfully in RAM.
Thanks for your support on this Vidar for understanding what I need.
I have tried with some register configuration by referring http://markding.github.io/swd_programing_sram/ and can able to flash code successfully in RAM.
Thanks for your support on this Vidar for understanding what I need.
Could you elaborate how you did it? I also want to download my code to RAM so that I wouldn't damage the flash unit. It's for CI unit test.