cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing ram2 in STM 32 based micro controller - STM32WLE5CC

shreyas
Associate II

The following are the steps i am following to access ram2 (my Microcontroller documents - https://www.st.com/en/microcontrollers-microprocessors/stm32wle5cc.html)

  • See the linker script ,how they have defined ram2 in my linker script they have defines as .RAM2_region .

  • Now will go the code then find the function which i have to shift to ram2 will add before or after the function - __attribute__((section(".RAM2_region"))) .

  • I am able to see the movement of the function from ram1 to ram2 but when i flash the code into my device its not working  i mean the that particular function is not working .
    Can anyone let me know what mistake i am doing to access ram2 , if you can provide with example code it would be really helpful .

Thank you

0 REPLIES 0