Skip to main content
Visitor II
March 14, 2019
Question

Jump to code in RAM

  • March 14, 2019
  • 0 replies
  • 474 views

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?

    This topic has been closed for replies.