Skip to main content
SThor
Associate II
February 21, 2020
Question

Do a cold start i STM32Cube for the ARM cpu

  • February 21, 2020
  • 2 replies
  • 760 views

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

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
February 21, 2020

NVIC_SystemReset() ?​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
SThor
SThorAuthor
Associate II
February 21, 2020

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