cancel
Showing results for 
Search instead for 
Did you mean: 

Jump to code in RAM

TVan.11
Associate

In the documentation for switching to low power run mode it mentions that you need to jump to code in RAM before shutting down the FLASH.

How do you specify that code should be placed in RAM?

OK Update:

This is for the STM8L151F3.

I found link to a suggested way to do it (http://www.cosmic-software.com/faq/faq4.php)

I finally got it to build but when I use STVP it does not give me access to the RAM area.

Am I going to have to make relocating code before the jump?

Why does ST not have an example of how to do what the specify must be done to go into LP run or LP halt modes?

0 REPLIES 0