Skip to main content
Mahendra
Associate III
April 24, 2020
Question

How to Change The IROM Address

  • April 24, 2020
  • 3 replies
  • 2260 views

Hi,

Is it possible to change the IROM address using STM32CubeIDE 1.3.0 ?

since the default IROM address is started from 0x08000000. So, I would like to change it to 0x08002000.

I attach a screenshot. Please see the picture.

0693W000000WNfaQAG.png

Please help. Thanks.

This topic has been closed for replies.

3 replies

LJim
Visitor II
January 23, 2021

I can't find the config dialog too. But the memory is defined in "STM32xxxxxxxx_Flash.ld", I think we can modify it manually. I am a newcomer to CubeIDE, Not tested..

Cartu38 OpenDev
Graduate II
January 25, 2021

@LJim​ advice is right one. No UI if STM32CubeIDE about memory(ies) definition. Right place for is linker scripts (*.ld file(s))

Mahendra
MahendraAuthor
Associate III
January 25, 2021

Hi, @LJim​ & @Cartu38 OpenDev​ 

Thanks for replying. Really appreciate the answer.

Please see this picture, this way is solve my problem.

Open Run Configurations > Click on Startup tab > Click the available startup > Click Edit then this dialog will appear on your monitor.

Write the offset in hex, in this case, my offset is 0x2000. So, the program will start from 0x08002000 (0x08000000 + 0x2000)

0693W000007CVdQQAW.png