| Electronic Components Datasheet Search |
|
SW4STM32C Datasheet(PDF) 57 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
SW4STM32C Datasheet(HTML) 57 Page - STMicroelectronics |
|
57 / 99 page ![]() DocID030181 Rev 2 57/99 AN4989 Exception handling 98 Independently from the IDE, for projects including the CMSIS library, the content of the registers in the code can also be printed: void HardFault_Handler(void) { volatile uint32_t csfr= SCB-> CSFR ; // load into variable printf ( "SCB-> CSFR 0x%08x \n", SCB-> CSFR) // print while (1) { } } The same content can as well be obtained directly from the memory with any memory browser. Other faults like UNALIGNED, UNDEFINSTR can be managed in a similar way. For more details, refer to the relevant programming manual: • STM32F10xxx/20xxx/21xxx/L1xxxx Cortex®-M3 programming manual (PM0056) • STM32F3, STM32F4 and STM32L4 Series Cortex®-M4 programming manual (PM0214) • STM32F7 Series Cortex®-M7 processor programming manual (PM0253) Relevant information is also available on partners websites: • https://www.iar.com • http://www.keil.com |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |