How do I burn a .elf to MCF52259 from the command line? (burner.exe?)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I burn a .elf to MCF52259 from the command line? (burner.exe?)

1,040 Views
toni_homedes
Contributor I

I'm preparing a CLI / Makefile development environment (cygwin) and I've managed to do everything up to generating an elf, but now I need to be able to

 

    burn the elf to the MCU via a script

 

and though I've found that I need to use

 

    burner.exe

 

I can't find how to properly use it. Our environment is:

 

    MCF52259 + USB ColFire(r) MultiLink / Win 7 64 bits

 

Please direct me to some manual/howto/whatever so I can learn to configure and use burner.exe

 

Thanks

Labels (1)
Tags (3)
0 Kudos
Reply
4 Replies

753 Views
BlackNight
NXP Employee
NXP Employee

You could technically use the burner.exe to flash a program to the device.

The burner.exe could output the file to a serial port.

But you would need a production programmer which has a serial port connected to that serial port.

Otherwise you need a programmer or debugger/downloader/flasher which accepts the output files(s), e.g. S19 file.

753 Views
toni_homedes
Contributor I

Thanks Erich,

I already had the impression that the S19 was made from the elf but I didn't know way nor how. As I've said to Pascal I'll have a look at the documentation and try to find my way

0 Kudos
Reply

753 Views
trytohelp
NXP Employee
NXP Employee

Hello Toni,

The Bruner.exe tool is not a tool to flash the application on board.

This tool can be use to create the Srecord file (or bin file).

By default the entry file used is the debugger file (code + debug info).

with this file the burner will create a Srecord file.

Probably you're using the MCU v10.x tool (MCU V10.4 is the last version).

there is a doc under \CW_MCU_v10.4\MCU\Help\PDF\Build_Tools_Utilities.pdf

Please have a look page 165: Burner Utility


If you want to create a makefile or a script in order to:

- build the project,

- flash it on board.

I recommend you to refer to the Command-Line Debugger shell.

You will find some info in the CodeWarrior Common Features Guide.pdf manual.

      - page 283 -> Chapter 4 Debugger Shell,

      - page 347 -> Chapter 5 Debugger Script Migration,

      - page 30 -> 2.2 Command Line Interface

Hope this will help you.

Regards

Pascal

753 Views
toni_homedes
Contributor I

Thanks Pascal,

I'll have a look at the documents you mention and ask back if I can't find the solution

0 Kudos
Reply