Monitor code which can load application code trhough UART in to flash for MCF5232

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

Monitor code which can load application code trhough UART in to flash for MCF5232

676 Views
ManojM
Contributor I

Hi,
In one of the product, we are migrating from MC68376 processor to Coldfire MCF5232.

I was developing bootloader/monitor code. Purpose of this code is to take *.elf or S-record file through UART and load it to flash. So that each time we need not to use BDM/JTAG. Is there any example code for such application?

Labels (1)
0 Kudos
1 Reply

262 Views
TomE
Specialist II

Overkill, and possibly not supported for your exact board:

 

http://www.denx.de/wiki/view/U-Bootdoc/SupportedHardware

 

It does list support for 2 ColdFire boards.

 

You could try porting it to your board. it would be very educational. It might be less work to write a complete loader from scratch (I'm currently fighting an already-ported version of U-Boot that won't compile cleanly :smileyhappy:.

 

If you don't want to run the whole thing, you might find sections that do what you want (S Record, serial comms, flash burning).

 

You'll have to use the BDM once on each board to load this in though.

 

0 Kudos