Porting code to a new microcontroller

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

Porting code to a new microcontroller

跳至解决方案
3,202 次查看
yoplait
Contributor I

Hello, 

I am a newbie in Code Warrior and I have this next problem: I have some code that is configured for MCF52223 microcontroller and M52223EVB. What I need is to port it to MCF2229 and the new M52229EVB. The project was created without Process expert … but with the old Init from Micro APL.

How can I do that. 

Any hints or links would be appreciated.

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
2,884 次查看
ProcessorExpert
Senior Contributor III

Hello,

 

If I understand your problem correctly. You have some old project created using CFInit tool for M52223EVB and now you need to port such created project to the Processor Expert project for the M52229EVB.

Generally Processor Expert do not support importing project from other tools like CFInit, and as far as I know that there is currently no plan to implement it in near future.

I think that the beast way would be to follow these steps:
1. Create new Processor Expert for M52223EVB in latest CodeWarriror V10.1
2. Setup the CPU component according to settings in CFInit tool

3. Add appropriate PE´s initialization components and setup them along your original project
4. Generate the code, try to make work and debug possible issues. If you have encounter any problems, you can compare values that are written to the same registers as it’s done in the code of your original project.
5.Use Change Device/Connection menu command switch to the M52259EVB. Details are provided in enclosed pdf file.
6. Do not forget setup the M52259 after this step according to M52223.

In case you problem will persist or you will encounter some problems please post here the original CFInit project.

 

best regards
Vojtech Filip
Processor Expert Support Team

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,885 次查看
ProcessorExpert
Senior Contributor III

Hello,

 

If I understand your problem correctly. You have some old project created using CFInit tool for M52223EVB and now you need to port such created project to the Processor Expert project for the M52229EVB.

Generally Processor Expert do not support importing project from other tools like CFInit, and as far as I know that there is currently no plan to implement it in near future.

I think that the beast way would be to follow these steps:
1. Create new Processor Expert for M52223EVB in latest CodeWarriror V10.1
2. Setup the CPU component according to settings in CFInit tool

3. Add appropriate PE´s initialization components and setup them along your original project
4. Generate the code, try to make work and debug possible issues. If you have encounter any problems, you can compare values that are written to the same registers as it’s done in the code of your original project.
5.Use Change Device/Connection menu command switch to the M52259EVB. Details are provided in enclosed pdf file.
6. Do not forget setup the M52259 after this step according to M52223.

In case you problem will persist or you will encounter some problems please post here the original CFInit project.

 

best regards
Vojtech Filip
Processor Expert Support Team

0 项奖励
回复