2008-07-14 12:03 AM
difference of CoreReset and SystemReset?
2011-05-17 03:39 AM
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; }2011-05-17 03:39 AM
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.