| Electronic Components Datasheet Search |
|
AN1528 Datasheet(PDF) 7 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1528 Datasheet(HTML) 7 Page - STMicroelectronics |
|
7 / 18 page ![]() 7/18 ST92F120/F124/150/F250 TESTFLASH ■ check the value of the SOUT0 pin (SOUT pin of SCI0 macrocell): if it is low, the “Code Update routine” is called. ■ check the Power-On Vector of the User application: if its value is FFFFh HALT instruction is executed, otherwise the execution jumps into the location it points to. The User Application should check the 2 Output variables of the Power-On routine: The “E3TM Initialization routine” writes an output code in the R0 register to show if the initiali- zation has been successful (Good Code: A4h), or if the E3TM NV Pointers are completely cor- rupted (Bad Code: 40h) and the user software has to call the “E3TM Reset routine” (230032h). The “Code Update routine” writes an output code in the R1 register to show if no update has been requested or the update has been requested and the SCI communications have been performed correctly (Good Code: 23h), or if the update has been requested, but the SCI com- munications has not been performed correctly in the timeout of 10ms (for a Fosc frequency of 4MHz) (Bad Code: 3Fh). Due to the “E3TM Initialization routine”, the Power-On routine can last a long time. The typical duration of the Power-On routine as a function of the external clock period Tck is shown in the following table. 3.2 NON MASKABLE INTERRUPT ROUTINE Inputs: None. Outputs: None. Variables: None. Goal: react to a Non Maskable Interrupt when the Vector Table is remapped in TestFlash. This routine should never be called, since the Vector Table is normally mapped in the Flash address space. This routine does not perform any operation, simply returns from interrupt. Table 2. Power-On routine typical duration Condition Typical Power-on routine duration with Fosc=4MHz Normal operation (no E3 TM operation) 33 ms SOUT0 pulled low, no code update 42 ms Aborted E3 TM write operation (worst case) 165 ms (1) (1) This duration depends also on E3 erasing and programming times |
|
|
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 |