Idiots guild to M52221DEMO

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

Idiots guild to M52221DEMO

1,161 Views
Yoheeb
Contributor I

HI all.

 

I just had some of these kits dropped on my desk, first week on the job.  I like the specs of the board for what we want to do. I installed CW7.2 SE,  and tried to walk through the built-in demo.  I am new to CW and freescale.  I altered the settings in the demo to not use the simulator as it is unsupported by SE version.  I get an error programming the board.

specifically:

"failed writing target address 0x20000500 expected....recieved 0x0"

 

I have also been out of the game when it comes to BSP related work, so, I am flailing around here.  I am feeling pretty green here, and that's how I am going to approach it.

 

Can someone give me the "idiot's guide" to plugging in a M52221Demo board with CW-SE, and programming "something" onto it.  I also think I am misisng some docs, but maybe there were never any other than the quick start.

 

I find it weird that according to the quickstart, you dont' seem to have to move any jumpers or anthing to program it out of the box, despite having some runing code on it.

 

or do I need to flash the device since I don't have PRO?

 

A pointer to some other stuff would be great,  eventually I need to actually put some code on it to do stuff and handle usb, but for now, just blinking an LED woudl be nice!

Labels (1)
0 Kudos
3 Replies

386 Views
Joaqu_n
Contributor I

Hello I have the same problem. and also I'm trying to light a LED:smileywink:. The program compiles fine but when I try to make the debug appears that error. Please someone help me!

error:

 

"Failed writing target address 0x20000500
expected value: 0x40e746fc
...found: 0x0"

0 Kudos

386 Views
mjbcswitzerland
Specialist V

Hi

 

See chapter 5 of http://www.utasker.com/docs/M5223X/uTaskerV1-4_M522XX.PDF

Apart from the Ethernet the document is valid for your chip.

 

Presumably you will be needing the USB operation so also check out: http://www.utasker.com/docs/uTasker/uTaskerV1.3_USB_Demo.PDF

 

Your chip is fully supported in the uTasker package (http://www.utasker.com/forum/index.php?topic=256.0) so also try http://www.utasker.com/forum/index.php?board=2.0

 

Regards

 

Mark

 

 

www.uTasker.com
- OS, TCP/IP stack, USB, device drivers and simulator for M521X, M521XX, M5221X, M5222X, M5223X, M5225X. One package does them all - "Embedding it better..."

 

0 Kudos

386 Views
Yoheeb
Contributor I

Thanks, I'll give it a shot.

 

I am having trouble programming to RAM at the moment, just to run some simple sanity code.  I think it may be related to being stuck on window 7 , the IDE is flaky on this system.  I just want to blink an LED!

 

I appreciate the quick response.

 

0 Kudos