Skip to main content
Ener.3
Associate II
Apr 4, 2023 12:59 PM UTC
Solved

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

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.
Ener.3
Ener.3Best answer
Associate II
Apr 5, 2023 10:04 AM UTC

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
Apr 5, 2023 10:04 AM UTC

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

JHave.1
Associate
Apr 20, 2023 7:37 AM UTC

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
Apr 25, 2023 7:22 AM UTC

I used the stm32 Cube Programmer.


_legacyfs_online_stmicro_images_0693W00000bilDNQAY.png