cancel
Showing results for 
Search instead for 
Did you mean: 

Do a cold start i STM32Cube for the ARM cpu

SThor
Associate II

Hi

Is there a way to make a cold start

(reboot) in C language in the STM32Cube Environment using a Nuclei board?

In other IDE's for other CPU's it was

possible to create a function that inserted a RESET assembler mnemonic for the

target CPU like this

void ColdStart(void)

{

  ASM("RESET")

}

Is it possible to archive the same om

ST's ARM cpu.

Do the HAL have a function all that do a cold start?

Perhaps it is possible to set a bit in some register?

Is the only way to start a watchdog and neglect to update the watch dog?

(the only watchdog i found was in the

ETH HAL module but it is not what I want)

If so, how is this done?

Regards

2 REPLIES 2

NVIC_SystemReset() ?​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
SThor
Associate II

Awsome, looks like what we are looking for

Thanks a lot

PS

There are a whole bunch of other NVIC functions close to it that will be handy

DS

Regards