jtronix
Member level 3
Hi,
I want to write data into internal flash where code is being executed. When i perform write operation on flash at that time i can not read or execute from flash so in this case i have to copy flash related code into RAM.
using __attribute__(("section name")) command I'd successfully mapped function into RAM but don't know how to copy that function from ROM to RAM so execution can happen. even i couldn't found ROM address for copy in .map file
I want to write data into internal flash where code is being executed. When i perform write operation on flash at that time i can not read or execute from flash so in this case i have to copy flash related code into RAM.
using __attribute__(("section name")) command I'd successfully mapped function into RAM but don't know how to copy that function from ROM to RAM so execution can happen. even i couldn't found ROM address for copy in .map file