| Electronic Components Datasheet Search |
|
AN1576 Datasheet(PDF) 5 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1576 Datasheet(HTML) 5 Page - STMicroelectronics |
|
5 / 15 page ![]() 5/15 XFLASH DRIVER 1.3 IMPLEMENTATION GUIDELINES An example is used to describe some generic guidelines you have to follow when developing an application with IAP capability. It includes all the modules you need for an application with IAP: s Reset and initialization routines s Basic user interface s Reprogramming routines (On external Interrupt) s Reprogrammable software module in sector 1 Figure 2. Example Flowchart 1.3.1 Project Configuration 1.3.1.1 Driver Configuration The first step is to correctly configure the stack position in the Xflash.h file. This parameter is defined by the variable STACK_END. The XFlash driver uses this value to address its internal variables located at the top of RAM Page 0. 1.3.1.2 Program Memory Special attention must be paid to the fact that some routines have to be executed from Sector 0 to ensure reliable operations. Therefore pragmas have to be defined in such a way that Sector 0 includes: the XFlash driver, the Reset, Initialization and UserWhileWriteBlock routines as well as any library routines (Delay loops,..) needed for the reprogramming process. Begin Initialization Endless loop in sector1 External Interrupt Load new program from external EEPROM to buffer Start programming phase Software Reset |
|
|
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 |