Flashing the M52223EVB - Connection Problems

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

Flashing the M52223EVB - Connection Problems

10,011 Views
PopsStack
Contributor I
I have been trying for some time now with no success. I have tried flashing both Stationery built code as well as the CMX provided USB Mass Storage stuff to the M52223EVB (Rev B Board). I have religously followed (I think) the Targeting Coldfire (PDF) document.
 
Each time I try do an erase I get a message saying failed to write - error in connection. So I presume it can't be a badly built project cause the erase must happen before attmepting to load the Flash.
 
I then tried to use the Hardware Diagnostics option - I get:
 
" Connect Failed : Can't conenct to PE micro via USB "
 
There must be something simple that I am missing out on.
 
Does the J1 jumper of BDM_Config or JTAG have anything to do with this. I have tried both - same story.
 
All my code generated under Console Debug gets things like the PIT, ADC etc running quite nicely.
 
Maybe I have not read an important document prior to this??????
 
That tall building down the road looks like a good option - I am getting desparate.
Labels (1)
0 Kudos
Reply
22 Replies

306 Views
PopsStack
Contributor I
I got very brave and did some serious fiddling - used the 52221 XML file - noting that this one had diffierent mem start address - then did an erase - I nearly fell off my chair.
 
Then tried to use the 52223 file - also worked. Very confused.
 
Maybe I should manually change the mem address settings in the 52223 file to start at 0 and keep the rest to look like the 52221 file.
 
Once I had managed the erase I loaded the USB Mass Storage stuff - it does not see the memory stick when I do a Dir etc nor recognizes the connection - are there any jumpers that I need to change other than the Host one.
0 Kudos
Reply

306 Views
J2MEJediMaster
Specialist I
OK, let's try this: go to the flash programmer (Tools | Flash Programmer). Select the Target Settings panel. Choose 5222x from the Target Processor pull-down menu, and PEMICRO_USB from the Connection pull-down menu. Now select the Erase / Blank Check panel and try to erase the memory.
 
Note: I went to the pemicro web site (www.pemicro.com) and downloaded their drivers and installed those. I don't have a Coldfire board, so that's about as far as I can take this. HTH. Sorry if you've covered this ground already.
 
---Tom
0 Kudos
Reply