Processor Expert Help

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

Processor Expert Help

3,519 次查看
flyingasics
Contributor I

I have two questions....

 

1) Does anyone have a guide/advice on how to add processor expert to code that has been generated by beestack w/o screwing up main.c ect....

 

2) Does anyone have a guide/advice on how to add beans downloaded from www.processorexpert.com to codewarrior. We have a licensed version so that shouldn't be a problem.  I have found the import command in the bean wizard, and beans will show up under the "view beans installed" command, but they will not show up in the bean selector.

 

We are working on a project with 4 hardware guys and 1 software guy, so you can see why we need these beans to avoid some of the low level coding work.

 

Thanks

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

324 次查看
CrasyCat
Specialist III
Hello
 
ProcessorExpert will create his own main function.
This cannot be disabled (as far as I know.
 
If you want to integrate Processor Expert in your own application I would recommend you to rename your main function into something else and call it from within the Processor Expert generated main function.
Also if you have an existing application you probably have a .prm file for the linker.
 
So in the CPU Bean Build Options, Set "Generate prm file" to NO
If you have interrupts that are served from outside ProcessorExpert you need to define a Interrupt Vector Bean for these and initialize them appropriately.
 
You can use free beans from the web if you own a Standard or Professional edition of CodeWarrior.
You will then download so called packages from ProcessorExpert web site.
 
Then in CodeWarrior select "Processor Expert" -> "Update" -> "Update ProcessorExpert from Package" and then browse for the package you have downloaded previously.
 
Make sure to close CodeWarrior and restart it to activate the new packages.
 
CrasyCat
0 项奖励

324 次查看
flyingasics
Contributor I
   Edit - I got it to work.

Thanks for the reply, I am still having problems adding a bean.  I followed your instuctions, and the bean shows up under View -> Installed Beans Overview. After restarting it will not show up in the Bean Selector..



Message Edited by flyingasics on 2008-02-20 05:28 PM
0 项奖励

324 次查看
CompilerGuru
NXP Employee
NXP Employee
One reason why PE does not show beans is if you do not have the license, or if the license is at least not properly configured.
Check the "Filter" tab on the bottom of the bean selector that you do not filter out non licensed beans.
Basically you can click on the Licensed entry to toggle it.

Daniel
0 项奖励