Author Topic: Preparing CodeWarrior binary file for USB boot loader  (Read 8339 times)

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Preparing CodeWarrior binary file for USB boot loader
« on: May 14, 2011, 08:59:16 PM »
Hi All

Here's a note about using the new USB MSD (mass storage device) boot loader with CodeWarrior.

This loader requires a binary image of the application load linked top the correct start address (eg. 0x4080 in the Kinetis project).

CodeWarrior users will probably know that the binary output that this generates is not (always) raw binary (CW version dependent) but may be in Motorola binary format. This is constructed from blocks which each have a small information tag informing of their size and final address location and so is not a direct binary image and will not work with the USB MSD loader.

To convert the Motorola binary file to a raw binary file the uTasker utility uTaskerConvert can be used [latest version can be obtained from: http://www.utasker.com/forum/index.php?topic=1445.0 ]

Code: [Select]
uTaskerConvert uTasker_BM.bin raw.bin -b
This example shows how to convert an input file called uTasker_BM.bin to a binary output file raw.bin, controlled by the -b flag. The output file can then be loaded to the board vis the USB MSD loader.

Regards

Mark