cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot Set Ram2's Load address

zdong.1
Associate II

0693W000000X75xQAC.png

Mcu:stm32L471RET6

IDE:stm32cubeide 1.1.0

How can i set the ram2's load address like as ram?

4 REPLIES 4
berendi
Principal

The contents of the .bss sections are initialized to 0 by the runtime startup code, they are not loaded from anywhere.

zdong.1
Associate II

When build the project, the ide generate the bin file and include large mount of zero at the end of the file. I try to set the ram2's load address to solve this problem.Is there any other way?

When build the project, the ide generate the bin file and include large mount of zero at the end of the file. I try to set the ram2's load address to solve this problem.Isthere any other way?

berendi
Principal

Check the map file, what is actally loaded at at those addresses filled with zeroes.

What else did you change in the linker file?