iv Embedded Bootloader Reference Manual, Rev 0.0 Freescale Semiconductor
3.2.1 Normal Use Example (Default)....................................................................................................3-9
3.2.2 Flash Erase Disabled Example......................................................................................................3-9
Chapter 4 Embedded Bootloader Programming................................................................. 4-1
4.1 Programming To An Empty (Erased) Board................................................................................4-1
4.2 Upgrading The Embedded Bootloader.........................................................................................4-5
Chapter 5 Application Integration Reference Guide........................................................... 5-1
5.1 Product Deliverables.....................................................................................................................5-1
5.1.1 Embedded Bootloader Image........................................................................................................5-1
5.1.2 Application Support Files.............................................................................................................5-1
5.1.3 Application Linker File.................................................................................................................5-2
5.2 Application....................................................................................................................................5-2
5.2.1 Compiler Defines..........................................................................................................................5-2
5.2.2 Unreferenced Symbols..................................................................................................................5-2
5.2.3 System Clock Setup......................................................................................................................5-3
5.3 Application Support Files.............................................................................................................5-3
5.3.1 DigiType.h....................................................................................................................................5-3
5.3.2 Gb60_io.h..................................................................................................................................... 5-3
5.3.3 Crt0.c and Crt.h.............................................................................................................................5-4
5.3.4 Embedded_Bootloader.h and Embedded_Bootloader.c...............................................................5-5
5.3.5 NV_Data.c and NV_Data.h.......................................................................................................... 5-5
5.3.6 ISR_Vectors.c...............................................................................................................................5-5
5.3.7 DummyIsr.c.................................................................................................................................. 5-6
Chapter 6 Port Integration Reference Guide....................................................................... 6-1
6.1 Embedded Bootloader Build Environment...................................................................................6-1
6.1.1 HCS08 Compiler...........................................................................................................................6-1
6.1.2 HCS08 Linker...............................................................................................................................6-1
6.1.3 HCS08 LibMaker..........................................................................................................................6-1
6.2 Product Deliverables.....................................................................................................................6-2
6.2.1 Embedded_Bootloader.mcp..........................................................................................................6-2
6.2.2 HCS08_Flash_Lib.Lib..................................................................................................................6-2
6.2.3 Embedded_Bootloader_Functionality_Lib.Lib............................................................................6-2
6.2.4 Source Files...................................................................................................................................6-2