cancel
Showing results for 
Search instead for 
Did you mean: 

Which code needs to be put in SRAM4 when using LPBAM tool

AKova.3
Associate

I have been trying to figure out which code exactly needs to be put in SRAM4 memory region for the LPBAM tool to work. All the examples I could find only use SRAM4 and fail to explain which parts are strictly needed to be placed in that part of the memory. The most concrete explanation I could find is from a workshop on LPBAM:

https://rristm.github.io/tomas_materials_v2/RRISTM/stm32u5_workshop/master/handson4.md/3

AKova3_0-1721211628268.png

I have followed that advice and was able to get my application to work only under a debug session. With no active debug session I was getting DMA linked list update error. I tried placing all object files related to my LPBAM application (the folder generated by Cube) in SRAM4 and my application still would not run without an active debug session. If like in the examples I only use SRAM4 then my application works in both cases which makes me belive that there still is some part of the code that I am missing that needs to be placed in SRAM4. Any help would be appriciated.

0 REPLIES 0