Download uEZ+ Bootloader User`s Manual
Transcript
Table of Contents 1. 2. 3. 4. 5. 6. 7. 8. Introduction __________________________________________________________________________________________________________________5 Compatibility _________________________________________________________________________________________________________________5 Components __________________________________________________________________________________________________________________6 Base Bootloader _______________________________________________________________________________________________________________6 Application Bootloader ________________________________________________________________________________________________________6 Application’s Startup Tasks _____________________________________________________________________________________________________7 Questions ____________________________________________________________________________________________________________________7 Bootloader Quick Start _________________________________________________________________________________________________________8 Quick Start: Installing the Template Application _________________________________________________8 Configuring the Bootloader - Flip the Screen ____________________________________________________8 9. Bootloader Implementation _____________________________________________________________________________________________________9 Base Bootloader Configuration (BBL.INI) ________________________________________________________9 Application Bootloader Configuration (ABL.INI) _________________________________________________11 Example Project “Template App” _____________________________________________________________12 Template App Project Configuration (APP.INI and RESOURCE.INI) __________________________________12 CrossWorks 2.0 __________________________________________________________________________12 IAR ____________________________________________________________________________________13 Converting HEX file to BIN file (SplitLPC1788HexIntoBins.exe)_____________________________________16 Converting BIN files to IMG file (BIN2IMG.exe) __________________________________________________16 Copy and Test _____________________________________________________________________________17 10.Directory Structure on SDCard and USB Flash Drive ________________________________________________________________________________17 11.INI Customized Installs (INSTALL.INI) ____________________________________________________________________________________________18 Example INSTALL.INI file: ___________________________________________________________________18 Structure of INSTALL.INI file _________________________________________________________________19 INSTALL section __________________________________________________________________________19 File sections_____________________________________________________________________________19 Types __________________________________________________________________________________19 12.uEZ® Resource Packager (uEZRP.exe) ____________________________________________________________________________________________20 Appendix A: Test Case Scenarios______________________________________________________________________________________________21 TC1 __________________________________________________________________________Bootloader Test 21 TC2 ____________________________________________________________________Loading an application 21 TC3 ___________________________________________________________________Upgrade the application 22 TC4 _________________________________________________________Interrupt power at start of upgrade 22 TC5_________________________________Interrupt Power when new application is copied to internal flash 23 TC6 ______________________________________________________________Upgrading with Invalid Images 24 TC7 ____________________________________________________________________No Images on USB drive 24 TC8 ___________________________________________________________________Corrupted internal flash 24 TC9 _______________________________________________________________________No ABL on USB drive 24 TC10______________________________________________________Unattended Mode and Rename Feature 24 TC11 __________________________________________________________________Product Name matching !2