cancel
Showing results for 
Search instead for 
Did you mean: 

startup mechanism of SPC58NNx

Long1
Associate

With the MCU enable BAF and Core0 / 1 /2 reset vectors are place at 0xFC0008 / 0xFC0004 / 0xFC000C, my question is how the 3 reset vector be called during power on? just be called one by one? the reference manual doesn't give clearly description; this confused me a long time.

3 REPLIES 3
Joe WILLIAMS
ST Employee

Hi Long1

 

This post has been escalated to the ST Online Support Team for additional assistance.  We'll contact you directly.

 

Regards

Joe

STMicro Support

FSPIL
ST Employee

Hi Long1,

The BAF code enables all the cores one by one in sequence.

 

Regards,

Francesco

 


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Giuseppe DI-GIORE
ST Employee

The boot record starts with a 16-bit signature, then the second 16-bit is a bit-mask to tell to the BAF which cores to start.

Boot record example:

0xFC0000 .long 0x00A50003
0xFC0004 .long _reset_address2 /* Core 2 reset address. */
0xFC0008 .long _reset_address0 /* Core 0 reset address. */

The "3" (b'11) in the first word (word_0) indicates to the BAF to start core_2 and core_0 using as boot address what is stored in word 1 and word 2

Note: on SPC58, core_2 is the main core (which starts first), then core_0 start after, the last core starting si core_1 (in a three core device).