IAP overview
Figure 1. FlowChart of the IAP Driver
Start
AN2078
Push button is No
pressed?
Yes
Initialize the STR7 UART & PLL
Display the IAP Main Menu
Download
Download or
Jump?
Jump to User Program
Receive a binary file
No Success
Yes
Program the internal Flash
Jump to the User Program
No
All data
Yes
programmed
successfully?
Display the error
message ‘Failed
to receive the
file’
Display the name and the size of
the received file
User Application
Software
Display the error message
‘Verfification failed’
4/13