cancel
Showing results for 
Search instead for 
Did you mean: 

difference of CoreReset and SystemReset?

hg_chen
Associate II
Posted on July 14, 2008 at 09:03

difference of CoreReset and SystemReset?

2 REPLIES 2
hg_chen
Associate II
Posted on May 17, 2011 at 12:39

Is there information for CoreReset and SystemReset which are in

NVIC.c file?

void NVIC_GenerateSystemReset(void)

{

SCB->AIRCR = AIRCR_VECTKEY_MASK | (u32)0x04;

}

void NVIC_GenerateCoreReset(void)

{

SCB->AIRCR = AIRCR_VECTKEY_MASK | (u32)0x01;

}

tibo
Associate II
Posted on May 17, 2011 at 12:39

VECTRESET (= core reset) resets only the Cortex core, without any other on-chip devices (like UART etc.). SYSRESETREQ (= system reset) is an outgoing signal from the core to the other on-chip-logic. It resets the other devices on the chip and the reset controller outside of the chip. As a result the whole chip (including the core) is reset. You may only use one of these bits (not both at the same time).

You can find more info in ''6.3 Cortex-M3 reset modes'' in ''ARM, Cortex-MS Technical Reference Manual'' and in ''The Definitive Guide to them ARM Cortex-M3'', from Joseph Yiu, page 231. The book is anserwering many detailed questions.