*********************************************************************
  Hercules™ ARM® SafetyMCU Bootloader      
  v00.20.00                                        
  Build Date:  2016-02-18                                       
*********************************************************************

---------------------------------------------------------------------
Introduction
---------------------------------------------------------------------
This version bootloader suppports LS31x, LS12x, LS04x, RM42, RM46, RM48 
families, and supports 3 modes: UART (ymodem), SPI, and CAN.

The F021 Flash API V2.01.01 is supported.
The project is developed under TI CCS6.1, and tested on TI HDKs.

---------------------------------------------------------------------
Batch files for clean and build
---------------------------------------------------------------------
Batch file to clean all the projects and build all the projects
Batch files:
1. clean_all.bat
2. make_all.bat

The *.mk files under /Debug folder in each project are generated by CCS.
Those mk files use the absolute 

Double click the file to clean, and make the projects. 
If doesn't work, please change the path name used in the batch files
   1. the folder name for your project (safetyMCU_Boolooder)
   2. the location of gmake which is in utils\bin folder of CCSxx installation directory

---------------------------------------------------------------------
Interrupt vector table: sys_intvecs.asm
---------------------------------------------------------------------
We change the addresses for SW INT, Abort etc based on the APPLICATION START ADDRESS defined 
in bl_config.h, the default app start addr in bootloader is 0x10100.
Please change the value here for your application.

---------------------------------------------------------------------
Application Image used for bootloader
---------------------------------------------------------------------
1. The application image has to be a raw binary file. Code Composer Studio has the feature to generate 
binary file. 

Copy the next line to: CCS Project Property --> Build -->Steps -->Post-build steps:
"${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd470" "${CG_TOOL_ROOT}/bin/hex470" "${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin"

2. The application image will be programmed and executed at APP_START_ADDRESS which is defined in bl_config.h
   The cmd file for application image project has to be modified for this APP_START_ADDRESS. For example:
 
 /* Memory Map                                                                 */
MEMORY{
    VECTORS (X)  : origin=0x00010100 length=0x00000020       //APP_START_ADDRESS = 0x10100
    FLASH0  (RX) : origin=0x00010120 length=0x0007FFE0
    STACKS  (RW) : origin=0x08000000 length=0x00001300
    RAM     (RW) : origin=0x08001300 length=0x0003ED00
}

---------------------------------------------------------------------
Bootloader Test Tools
---------------------------------------------------------------------
1. Uart bootloader: use any kind of serial terminals, for example TeraTerm, Hyperterminal, etc. All the terminals support YModem protocol
2. SPI bootloader:  Visual C project is available. A USB-SPI adaptor is needed.
3. CAN Bootlaoder:  Visual C project is available. NI USB-8473 adaptor and its driver is required for VC project.