Running Code from SRAM
Hi:
I am using STM3221G-EVAL board. The board has a couple of switches to select the Boot source.
Boot related jumpers
BOOT 0 BOOT 1 Boot source
0 1 or 0 STM3221G-EVAL boots from
User Flash
(Default setting)
1 1 STM3221G-EVAL boots from
Embedded SRAM
1 0 STM3221G-EVAL boots from
System Memory
I would like to place the code in SRAM instead of User Flash. I am using the Demonstration Builder example firmware provided by ST and using IAR tool chain.
I have been changing parameters on the Linker and in some of the firmware header files, to avoid the errors, but the firmware doesn't work.What are the normal guidelines to do this?Thanks, #run-code-from-sram