i have ever encounter a same problem. Firstly, You must update the firmware of JM60.You must download it from freescale web http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=M52259DEMOKIT&nodeId=0162468rH3YTLC00...http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=M52259DEMOKIT&nodeId=0162468rH3YTLC00...
The file name is OSBDM-JM60 Firmware .About step of update,you may see a file in it.At then,You also must update the codewarrior 7.1 with service pack 7.1.1 and 7.1.2.
The secondly, It is very importantly.
You must open the project which you want to debug and run in codewarrior for coldfire.
And You must build the project and link it without errors.
At then, You mus click a menu named tool on the menu bar.
You may see a fuction named flash programmer
Firstly,You must select load setting and select a file named MCF52259_INTFLASH.xml.And You also select OSBDM-V2-V4 JM60 in connection way.
Secondly, You must select Erase/Blank Check on the left side.
At that time, on the right side, You may see a button named Erase.
You must click it to erase you r flash rom of your MCF52259.
Thirdly, You must click the Program/Vertify on the left side. On the right side, You must click a button named program for download the hex code into flash rom of mcf52259.
Now,You have done successfully.
Finally, You must connect all the wire and line to your computer.
At that time, You may press your reset button to run the code.Or,You also click debug button that is in the codewarrior to run the code,At then, You may study the code in stepinto mode.
I have a video that got from freescale about the problem.
You may mail to me.
My e-mail: tjrfyty@163.com
MSN: tjrfyty@163.com