Skip to main content
Ener.3
Associate II
April 4, 2023
Solved

CM0PLUS on stm32wl55 doesn't start if start address changed from 0x08020000 to 0x08027800

  • April 4, 2023
  • 3 replies
  • 2342 views

Hello all,

I am working on dual core stm32wl55.

If the start address of CM4 is 0x08000000 and the start address of CM0 is 0x08020000, then everything works well, both applications work fine.

But if i change the address location of the CM0 from 0x08020000 to 0x08027800, the the CM0 doesn't work, only CM4.

The STM32WL55JCIX_FLASH.ld of CM0:

0693W00000bhUm9QAE.pngsystem_stm32wlxx.c

0693W00000bhUmsQAE.pngDoes anyone have an idea what is wrong?

This topic has been closed for replies.
Best answer by Ener.3

In the end, I found the solution - the SBRV bits in the SRRVR register also need to be modified.

3 replies

Ener.3
Ener.3AuthorBest answer
Associate II
April 5, 2023

In the end, I found the solution - the SBRV bits in the SRRVR register also need to be modified.

JHave.1
Associate
April 20, 2023

Can you​ please write exactly how do you modified the SBRV bits? You used the HAL_FLASHEx_OBProgram function? Do you call that from CM4 before CM0Plus boot?

Ener.3
Ener.3Author
Associate II
April 25, 2023

I used the stm32 Cube Programmer.


_legacyfs_online_stmicro_images_0693W00000bilDNQAY.png