Hi, I recently just purchased a eval board M52210DEMO.
I use codeWarrior classic 7.2 and would like to rebuild and flash it.
The program is "Kit_sample" with CMUSB_LITE support.
I clicked "compile" and it run fine.
I clicked "run" or "debug" it pop up an error message?
How should I burn the flash into the chip after "make" or "compile"? I guess I'm not sure which one to use.
My previous experience on other microcontroller is just to use "Build all".
I looked all over and it's frustrating that I cannot find any video/document related to
simple beginner guide like this?
Can anybody tell me what to do?
ps: please see attached file for the error message.
thanks!
-Ken
Hello Ken,
for Coldfire V2 (and other V3, V4 etc...), it's totally different to flash firmware than other CodeWarrior (for Microcontrollers, you only need to click on the green arrow, debug).
Click on "Tools" " Flash Programmer".
Then on new window, for Target Configuration, click on "Load Settings" : choose "MCF52210_INTFLASH.xml" (I hope)
Click on "Erase / Blank Check" then "Erase".
When finished, click "Program / Verify", click on "Program".
That's all ! Your target is programed, now, you can load debbuger by click on the green arrow Debug (or F5) to access to debbugger and run your program.
Regards,
Thomas.
Hi Ken,
sorry, I can't help you because I never use CMXUSB_LITE on Coldfire V2.
This stack is no longer support by Freescale too.
You MUST use Freescale USB stack which is more efficient.
You can download it here : http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MEDICALUSB
Regards,
Thomas.
Hi Thomas. My goal is to use Freescale USB stack with Eclipse 10.2.
I thought it would be easier to use the classic one.
So, what I really want is to make my eval board works with Freescale USB stack 4.02.
However, I bought the wrong board and it doesn't directly support my eval board(M52210DEMO )
Can you tell me what I need to do to be able to use the Stack with my board.
All I need is to run and flash the Keyboard or Mouse example.
thanks alot.
-Ken
Sorry, can't help anymore !
I only use 9S08 (for HID like virtual com port) or Coldfire V1 (host stack for usb stick or use an usb keyboard) with Freescale USB stack.
The easiest way will be to buy an eval board directly supported...