This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to load and execute from RAM in arm Keil

Hi

I'm working with the TLE9879 evalkit and ARM Keil uVision5. I'm trying to load and run my entire application from RAM, but I'm unsure about the setup process.

Could anyone share some guidance or steps on how to configure ARM Keil uVision5 for loading and executing applications in RAM on the TLE9879 evalkit? Any insights or examples would be a big help.

Mario

Parents
  • If you want to run the entire application in RAM, then you must not do a (Flash) download. Instead, you need a special project configuration, for which you can study existing example projects. One is the "CMSIS-RTOS Blinky (MCBSTM32E)", that you can access via the PackInstaller example tab. This project has a target called "STM32F103 RAM". Please see, how this project is configured, especially also the Debug_RAM.ini. In there the application is loaded to RAM and the PC and SP are set accordingly. I hope this helps.

Reply
  • If you want to run the entire application in RAM, then you must not do a (Flash) download. Instead, you need a special project configuration, for which you can study existing example projects. One is the "CMSIS-RTOS Blinky (MCBSTM32E)", that you can access via the PackInstaller example tab. This project has a target called "STM32F103 RAM". Please see, how this project is configured, especially also the Debug_RAM.ini. In there the application is loaded to RAM and the PC and SP are set accordingly. I hope this helps.

Children
No data