cancel
Showing results for 
Search instead for 
Did you mean: 

Questions about SBRV

zhangtinglu
Associate III

"Contains the word aligned CPU2 boot reset start address offset within the selected memory

area by C2OPT"

SBRV sets CPU2 boot address, but I use STM32cubeProgrammer to get NUCLEO board data as follows:

0690X000009jBGLQA2.png

The starting address of CPU2 is 0x08032C00, but SFSA is 0xcb and the address is 0x080cb000. My understanding is that SFSA should be aligned with the starting address of CPU2. As the picture says:

0690X000009jBHEQA2.png

​SFSA--0x080FFFFF is a dedicated area belonging to M0+,So what does it mean to set SBRV to 32C00 !

1 ACCEPTED SOLUTION

Accepted Solutions
Remi QUINTIN
ST Employee

​SBRV is an offset aligned on a word boundary (4 bytes). So the real offset is 0x32C00 x 4 = 0xCB000 which points to 0x080CB000. SFSA is pointing to the same location 0x080CB000 in Flash memory.

View solution in original post

2 REPLIES 2
Remi QUINTIN
ST Employee

​SBRV is an offset aligned on a word boundary (4 bytes). So the real offset is 0x32C00 x 4 = 0xCB000 which points to 0x080CB000. SFSA is pointing to the same location 0x080CB000 in Flash memory.

I see. tks