cancel
Showing results for 
Search instead for 
Did you mean: 

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

Ener.3
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Ener.3
Associate II

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

View solution in original post

3 REPLIES 3
Ener.3
Associate II

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

JHave.1
Associate II

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
Associate II

I used the stm32 Cube Programmer.


_legacyfs_online_stmicro_images_0693W00000bilDNQAY.png