4.3.8 Exiting...................................................................................................................................... 41
4.4 Boot Mode 2 (Programming the User Area).................................................................. 42
4.4.1 Starting the Flash Development Toolkit................................................................................ 42
4.4.2 Selecting an Option ................................................................................................................. 42
4.4.3 Connecting the Device............................................................................................................. 44
4.4.4 Selecting a File ........................................................................................................................ 46
4.4.5 Programming ........................................................................................................................... 48
4.4.6 Blank Check and Checksum................................................................................................... 50
4.5 User Boot Mode.............................................................................................................. 51
4.5.1 Writing a Program in the User Boot Area ............................................................................. 51
4.5.2 Disconnecting the Device........................................................................................................ 52
4.5.3 Configuring the Project........................................................................................................... 53
4.5.4 Setting the User Program Mode............................................................................................. 55
4.5.5 Connecting the Device............................................................................................................. 59
4.5.6 Programming ........................................................................................................................... 60
4.5.7 Blank Check and Checksum................................................................................................... 63
4.6 User Program Mode....................................................................................................... 64
4.6.1 Writing a Program in the User Area...................................................................................... 64
4.6.2 Setting the User Program Mode............................................................................................. 65
4.6.3 Connecting the Device............................................................................................................. 69
4.6.4 Programming ........................................................................................................................... 70
4.6.5 Blank Check and Checksum................................................................................................... 72
5. Flash Development Toolkit Processing....................................................................73
6. Sample Program ......................................................................................................74
6.1 File Configuration.......................................................................................................... 74
6.2 Source Files.................................................................................................................... 75
6.3 Modules .......................................................................................................................... 76
6.4 Module Hierarchical Structure...................................................................................... 77
6.5 Flow of the Program ...................................................................................................... 80
6.5.1 Program Processing Flow ....................................................................................................... 80
6.5.2 Main Processing (main) .......................................................................................................... 81
6.5.3 ROM Main Processing (RomMain)......................................................................................... 81
6.5.4 RAM Main Processing (RamMain)......................................................................................... 82
7. Source Files of the Sample Program .......................................................................83
7.1 Header Files................................................................................................................... 83
7.1.1 Bit Rate Setting (GenTest.h) .................................................................................................. 83
iii
Comentários a estes Manuais