µTasker Forum

µTasker Forum => NXPTM LPC2XXX and LPC17XX => Topic started by: FAQ on June 29, 2009, 11:52:00 AM

Title: Using the uTaskerCombine utility
Post by: FAQ on June 29, 2009, 11:52:00 AM
How is the uTaskerCombine.exe program used?

For example, what does the following do exactly?

uTaskerCombine "..\..\uTaskerBoot\GNU_LPC23XX\uTaskerV1.3_boot.bin" uTaskerV1.3_BM.bin 0x1000 uTaskerBM.bin
Title: Re: Using the uTaskerCombine utility
Post by: mark on June 29, 2009, 11:54:36 AM
Hi

"..\..\uTaskerBoot\GNU_LPC23XX\uTaskerV1.3_boot.bin" uTaskerV1.3_BM.bin 0x1000 uTaskerBM.bin

The file "..\..\uTaskerBoot\GNU_LPC23XX\uTaskerV1.3_boot.bin" is the boot loader file (occupies memory range 0x00000000...0x00000fff).
The file "uTaskerV1.3_BM.bin" is the application file as generated by the compiler (without the upload header). It is linked to start at 0x00001000

The value "0x1000" tells the program that the start address of the application file is 0x00001000.

The file "uTaskerBM.bin" is the file to be generated.

Therefore the file "uTaskerBM.bin" then consists of the two input files mixed together in binary format:

- 0x00000000 = boot loader
- End of boot loader to 0x00001000 is filled with 0xff
-0x00001000 is the start of the application


This file can then be downloaded (after conversion to HEX) with FlashMagic to program a complete boot + application.

Regards

Mark