Is there a way to set up 2 processors on the same project?

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

Is there a way to set up 2 processors on the same project?

跳至解决方案
1,606 次查看
dynapb
Contributor IV

I am using a MC56F82746 in a project but have an EVM with a MC56F82748 on it.  I want to do preliminary coding on the EVM and then easily switch it to the production board using the other processor.

I can add a second processor to the PE project but when I switch between them it comes up with the following message.

175100_175100.pngpastedImage_1.png

Is there a way to do this without loosing configuration for a processor?

Is the problem just for the Pins1 component?

Is there a better way to do this?

Thanks

Pete

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,392 次查看
BlackNight
NXP Employee
NXP Employee

Hi Pete,

you could add another PinSettings: configure it so it is active for the given CPU configuration, e.g.:

pastedImage_1.png

Inside the PinsSettings, there is a button to move the configuration (to apply for a new CPU).

You can copy your existing one (copy and paste with the context menu), and then configure it for your configuration (Configurations with Processor Expert | MCU on Eclipse shows how to deal with configurations).

I hope this helps,

Erich

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,392 次查看
scottm
Senior Contributor II

Hi Pete,

I've done it Erich's way and it works but I've found it to be really cumbersome.  Processor Expert is really slow to build on some architectures and as far as I can tell you can't tie PEx configurations to build configurations, so you have to change one when you change the other.

For development, when you're switching very rarely, it's probably fine.  For maintaining parallel builds, I've found it to be a real pain.  I've got one major project that has both a ColdFire version and a Kinetis version with thousands of deployed devices that need to be maintained.  I use a single workspace with separate projects for each.  Most of the code is in a shared folder referenced by both projects (well, four projects now counting stuff under development) and only the hardware-specific stuff is kept in the individual projects.

Of course, with that setup I have to maintain all of the PEx settings separately.  The ColdFire and Kinetis PEx components are so different, though, that there's no sharing settings between them.  They often have very different interfaces, too.  For very similar parts that's probably not a big deal, but when you do run into something that PEx doesn't want to do, it can be a huge pain.

Scott

0 项奖励
回复
1,392 次查看
dynapb
Contributor IV

Hi Erich,

Thanks for your input, very helpful.

I do not see any CPU setting in the PinSettings even though it shows a property for it in the Help on the component.

pastedImage_2.png

With your Configurations link I was able to add 2 PinSettings components and enable them in different cofigurations and the IDE seem happy.

pastedImage_1.png

Thanks Much!

Pete

0 项奖励
回复
1,393 次查看
BlackNight
NXP Employee
NXP Employee

Hi Pete,

you could add another PinSettings: configure it so it is active for the given CPU configuration, e.g.:

pastedImage_1.png

Inside the PinsSettings, there is a button to move the configuration (to apply for a new CPU).

You can copy your existing one (copy and paste with the context menu), and then configure it for your configuration (Configurations with Processor Expert | MCU on Eclipse shows how to deal with configurations).

I hope this helps,

Erich

0 项奖励
回复