how to use codewarrior?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to use codewarrior?

1,354 次查看
oolongtea
Contributor I

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

标签 (1)
0 项奖励
回复
6 回复数

1,226 次查看
TomLEE
Contributor III

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.

0 项奖励
回复

1,226 次查看
oolongtea
Contributor I

Hi Thomas.  Thank you for your reply.

Actually there's an error during the make.

It said undefined : "check_mS_timer"

Looks like it's being called from the "Kit_sample->app_main.c" program.

Should I move some files to the same directory?

I've attached the screenshot.

Thanks for the help,

-Ken

0 项奖励
回复

1,226 次查看
TomLEE
Contributor III

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.

1,226 次查看
oolongtea
Contributor I

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

0 项奖励
回复

1,226 次查看
TomLEE
Contributor III

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...

0 项奖励
回复

1,226 次查看
oolongtea
Contributor I

No problem Thomas.  Thanks for your replies.

I sent a support ticket and I hope their support is as great as their product.

thanks!

0 项奖励
回复