Special Considerations - Renesas FSL-T06 User Manual

Flash self-programming library
Table of Contents

Advertisement

Flash Self-Programming Library
Figure 6-2

6.4 Special considerations

R01US0046ED Rev. 1.01
User Manual
Device reprogramming in internal mode
Initialization
phase
Normal
operation
Deactivation
phase
Reprogramming flow – internal mode
Due to the underlying hard- and software concepts, the user application must
take care of some constrains if using the library.
Function re-entrancy
All functions are not re-entrant. So, re-entrant calls of any FSL functions must be
avoided
Entering power safe mode
Entering power safe modes is prohibited during Self-Programming.
Integration into the user application
Start reprogramming
FSL_Init
FSL_CopySections
FSL_SetFrequency
FSL_Erase
N
Error == FSL_OK ?
Y
Fill buffer
FSL_Write
N
Error == FSL_OK ?
Y
N
All data written ?
Y
FSL_FlashEnv_Deactivate
Stop reprogramming
Error treatment
Error treatment
61

Advertisement

Table of Contents
loading

Table of Contents