Using the command line flash programming tool

With Red Suite 3, Red Suite 4 and LPCXpresso, you can program the flash using a command line utility.

Running the flash programming utility

Note: If using the LPCXpresso debug probe, LPC-Link, see Booting LPC-Link.

Run the flash programming utility with the following options

If using LPC-Link (the NXP LPCXpresso evaluation board debug probe) as your debug connection, first of all boot the LPC-Link

Examples

To load the executable file app.axf and start it executing on an LPC1758 target using Red Probe, use the following command line:

crt_emu_cm3_nxp -pLPC1758 -flash-load-exec=app.axf

To load the binary file binary.bin to address 0x1000 to an LPC1343 target using LPC-Link on Windows XP or Linux, use the following command line:

crt_emu_lpc11_13_nxp -wire=hid -pLPC1343 -flash-load=binary.bin -load-base=0x1000

To load the executable file app.axf and start executing on a TI LM3S811 target, using Red Probe, Red Probe+, or TI ICDI, use the following command line:

crt_emu_cm3_lmi -pLM3S811 -flash-load-exec=app.axf

Also see....

CommandLineFlashProgramming (last edited 2012-12-14 12:53:04 by DerekMorris)