Simple QSPI/EzPort Flasher Running on an M52221DEMO Board

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

Simple QSPI/EzPort Flasher Running on an M52221DEMO Board

2,074 Views
RichTestardi
Senior Contributor II
Hi all,
 
This turned out to be really simple, so I thought I'd share it...
 
If you want to program the flash on your target board using the QSPI/EzPort interface, and you already have an M52221DEMO board (or similar), you can clone the DEMO board's flash to the target board pretty easily using the DEMO board's QSPI interface!
 
 
-- Rich
 
 
Labels (1)
0 Kudos
Reply
3 Replies

813 Views
blackjack
Contributor I

Hello Rich,

                   I cannot open the website you have given

.

http://www.testardi.com/rich/coldfire/flasher.htm

 

 

Could you please provide me again

 

Thanks

Ganesh

0 Kudos
Reply

813 Views
RichTestardi
Senior Contributor II

Sorry for the delayed reply -- somehow I did not get the e-mail notification...

 

If you want to use a ColdFire device to program another one with an S19 file, it is now totally trivial.

 

You can install StickOS on one device (http://www.cpustick.com/downloads.htm), and then wire up its SPI lines to the other device (http://www.cpustick.com/stickos.htm#_Toc294447719) and then you can log into StickOS via a terminal emulator and first set the pins as you have wired them with the "pins" command, and then use the "download <n>" command, where <n> is the target device system clock in Hz (typically 8000000 after reset and before running code, but it depends on how you have CLKMOD* wired).  Then paste the S19 file into the terminal emulator and it will reset the target, put it into EzPort mode, and download the file.

 

You can also see all the code to do this in the skeleton project at the bottom of the downloads page.  Full documentation on StickOS is also on the downloads page, or here: http://www.cpustick.com/stickos.htm

 

Feel free to e-mail if you have questions.

 

-- Rich (rich@testardi.com)

0 Kudos
Reply

813 Views
Jetoleg
Contributor II

Hi,

I am developing my own EzPort Flasher. I have some problems with PP command execution. I was hopping to get some info from this topic, but your link is gone. Could you move info at some readable location? Thanks in advance!

0 Kudos
Reply