Skip to main content
zdong.1
Associate
May 8, 2020
Question

Cannot Set Ram2's Load address

  • May 8, 2020
  • 3 replies
  • 2120 views

0693W000000X75xQAC.png

Mcu:stm32L471RET6

IDE:stm32cubeide 1.1.0

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

This topic has been closed for replies.

3 replies

berendi
Principal
May 8, 2020

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

zdong.1
zdong.1Author
Associate
May 8, 2020

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?

zdong.1
zdong.1Author
Associate
May 8, 2020

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?

berendi
Principal
May 8, 2020

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

What else did you change in the linker file?