cancel
Showing results for 
Search instead for 
Did you mean: 

Reset code SPC5

PChia.2237
Senior

Hi,

i can't find the reboot code the spc5 core.

I mean the equivalent code for SPC5 of STM32 HAL_NVIC_SystemReset();

Thank you

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee
5 REPLIES 5
Javier1
Principal

try NVIC_SystemReset()

Or just use a watchdog isntead (https://stackoverflow.com/questions/25121107/nvic-systemreset-not-working-for-stm32f4)

we dont need to firmware by ourselves, lets talk
PChia.2237
Senior

 NVIC_SystemReset() is for STM32. Not works in SPC5.

I have a look on SWT, but still not found the code for reset.

Erwan YVIN
ST Employee

Hello Pchia ,

you can check the boot.s and crt0.s in VLE Assembler in some Test application.

Best Regards

Erwan

At the and i have used SWT0 to MCU restart

Erwan YVIN
ST Employee