AnsweredAssumed Answered

running application in RAM with IAR

Question asked by Ryan Lush on Jan 15, 2018
Latest reply on Jan 24, 2018 by Ryan Lush

I would like to write an IAR application that lives solely in RAM. I have a bootloader that will load the code via USB at runtime but I don't know how to setup the linker script. Does anyone have an example? Just a linker script would be nice but a whole project would be fantastic.


IAR Execute in RAM after copying from Flash or ROM 

IAR Download and run whole application in RAM (Cortex-M3) 


I'm trying to follow these examples but IAR doesn't work that way anymore (big surprise). I took the gpio_led_output I found in the CMSIS pack examples but it tells me I can only edit the linker in the text editor. Honestly I didn't even know the "edit" button would bring up another menu, I always assumed it just open the file in an editor.