| Electronic Components Datasheet Search |
|
AN4296 Datasheet(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4296 Datasheet(HTML) 13 Page - STMicroelectronics |
|
13 / 25 page ![]() DocID024590 Rev 3 13/25 AN4296 Execute application code from CCM RAM using the IAR EWARM toolchain 24 2.2.2 Updating the startup file To update the startup file: 1. Make a second vector table to be stored in CCM RAM. The startup_stm32f30x.s file should be modified by removing all entries except for sfe(CSTACK) and Reset_Handler from the original vector table ‘__vector_table’. 2. Add a second vector table to be placed in CCM RAM. It should contain all entries. As an example you can call it ‘__vector_table_CCMRAM’. This vector table must be placed in the intvec_CCMRAM section defined in the linker file. Figure 6. EWARM startup file update for interrupt handler 2.2.3 Place the interrupt handler in CCM RAM Place the interrupt handler to be executed in CCM RAM as described in Section 2.1.2 or the whole stm32f_it.c file as described in Section 2.1.1. 2.2.4 Remap the vector table to CCM RAM In SystemInit function, remap the vector table to CCM RAM by modifying the VTOR register as following: SCB->VTOR = 0x10000000 | VECT_TAB_OFFSET; |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | 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 |