Setup MQX with PE on K20

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

Setup MQX with PE on K20

跳至解决方案
1,107 次查看
hard_ware
Contributor III

Hello,

 

I have some Problems to set up a new project in CW 10.1 with MQX 3.7 and PE for my self designed Kinetis K20 board.

I tried to setup a new PE projekt by myself and add the component MQX, but get several files not found erros.

I also tried to take the Kwikstik MQX+PE sample project and tried to change the CPU component, but got errors because it seems to be not enough only to change the CPU in the PE component. (Kwikstik has K40 CPU)

 

Is there any "how to" for setting up an MQX + PE project or a sample Project for K20 (100pin) CPU?

0 项奖励
回复
1 解答
684 次查看
MarkP_
Contributor V

Hi,
Taking PE to use (for K60,K10, etc.) goes in this way:

1)Create a project in normal way:
  New->MQX 3.7 Project->
  Select Board: TWRK60n512 Board
  ...

2)Change from bsp to bsp_pe
  Close/remove project bsp_twrk60n512
  Import project bsp_twrk60n512_pe
  This compiles the same source with "Generated code" directory and has the PE components.

3)Add needed PE components from Component Library
  (Can be opened by Window -> Show View -> Other -> Processor Expert ->..)

4)Edit components in Component Inspector

  (For detailed features select Advanced or Expert option).

5)Port K60 to K20 by changing the files needed.
  Example for K60=>K10 in post attachment "Kinetis_k10.txt":
  https://community.freescale.com/thread/85890


For Processor Expert question the forum
http://forums.freescale.com/t5/Processor-Expert-General-Issues/bd-p/PEGEN
is better.

 

If still compile errors exist, post the error list here.

~Mark

在原帖中查看解决方案

0 项奖励
回复
3 回复数
684 次查看
hard_ware
Contributor III

Can anybody help me setting up MQX with PE for Kinetis K20?

0 项奖励
回复
685 次查看
MarkP_
Contributor V

Hi,
Taking PE to use (for K60,K10, etc.) goes in this way:

1)Create a project in normal way:
  New->MQX 3.7 Project->
  Select Board: TWRK60n512 Board
  ...

2)Change from bsp to bsp_pe
  Close/remove project bsp_twrk60n512
  Import project bsp_twrk60n512_pe
  This compiles the same source with "Generated code" directory and has the PE components.

3)Add needed PE components from Component Library
  (Can be opened by Window -> Show View -> Other -> Processor Expert ->..)

4)Edit components in Component Inspector

  (For detailed features select Advanced or Expert option).

5)Port K60 to K20 by changing the files needed.
  Example for K60=>K10 in post attachment "Kinetis_k10.txt":
  https://community.freescale.com/thread/85890


For Processor Expert question the forum
http://forums.freescale.com/t5/Processor-Expert-General-Issues/bd-p/PEGEN
is better.

 

If still compile errors exist, post the error list here.

~Mark

0 项奖励
回复
684 次查看
hard_ware
Contributor III

Thank you, this helped a lot.

 

I took the twrk60n512_pa BSB and just had to delete the enet function, but also had to change the CPU componetn in the ProcessorExpert to get the right pins maped with my package.´

 

regards,

hard-ware

0 项奖励
回复