PE and MQX

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PE and MQX

1,019 Views
josemartinez
Contributor III

Hello!!,

I have been creating different projects using Processor Expert, using all the components and configurating them but now I want to use MQX for first time, I'm using CW10.4 and MQX 4.0.

I want to use with MQX the Processor Expert, to use the components aswell but I am not sure the steps I have to follow. I don't know if I have to create a new Bareboard project and then add the MQX OS to my project.

If someone can help me with the steps I have to follow to create a new project.

Thank you.

Jose

0 Kudos
6 Replies

688 Views
albertovargas
NXP Employee
NXP Employee

Hi Jose,

There is a tutorial for Processor Expert & MQX.  It’s included with the documentation installed with MQX. 

You can find it in this path: \Freescale_MQX_4_0\doc\tools\cw\FSL_MQX_in_CW_10_x.pdf


I hope it helps.

Alberto

0 Kudos

688 Views
josemartinez
Contributor III

Hi Alberto,

I have been following this documentation but I got a problem with the example in page 42, when I try to build the project a problem appears, Undefined: "MQX_template_list" if I clic twice in this problem, then appear the bsp.a saying:

Can't find a source file at "C:\Freescale\Freescale_MQX_4_0\demo\pe_demo\cw10\pe_demo_twrk60n512\Int Flash Debug\bsp.a"

Locate the file or edit the source lookup path to include its location.

Other question is that I would like to use my own board with K60 not a twrk60, there is any way to do it, I'm new using MQX and I don't know how to set up to use MQX and PE together.

Thanks

Jose

0 Kudos

688 Views
VictorLorenzo
Contributor IV

Hi Jose,

On second part of your post: The process you need to refer to is called 'BSP Cloning'. There're lots of posts about that subject in the forums. Try this search: https://community.freescale.com/search.jspa?q=BSP+CLONING. Many of the posts are related to derivatives which are not used in the reference designs (tower boards) but there're some related to K60 devices. You'll find some pending issues in the forum but several posts describe the process.

If you're creating your board using the same processor as in the tower (twrk60) you will presummably have no problems for creating the clone and the BSP Cloning Wizard will do all the dirty job for you. After creating the clone you'll need to fine tune the BSP (removing drivers for devices not included in your board, changing pin numbers for the ports/devices, etc), and this is probably the most complex task as it involves dealing with hardware differences between your board and the reference design (tower).

Hope that helps.

688 Views
josemartinez
Contributor III

Hi Victor,

Thanks for your help, I will try to do this. Now I just have to know how to work with PE although I want just use the  Ethernet stack.

Thanks

Jose

0 Kudos

688 Views
VictorLorenzo
Contributor IV

Hi Jose,

I've not used the ENET stack yet, I've only read part of the documentation and looked into some source files. In the MQX instalation directory (usually C:\Freescale\Freescale_MQX_4_0\doc\rtcs) you will find the document named MQXRTCSUG.pdf. It has most information we need about it. I've also read several post in the forum covering from configuration settings to operational issues with specific protocols, to start you can use "RTCS" as search keyword.

If you end up with specific questions about PE, there is one dedicated forum where you can ask here: https://community.freescale.com/community/pex

Victor

0 Kudos

688 Views
albertovargas
NXP Employee
NXP Employee

Hi Jose,

You can find a lot of tutorials for different projects based on Processor Expert on this page: http://mcuoneclipse.com/.

Also, here is the manual for PE: http://cache.freescale.com/files/soft_dev_tools/doc/user_guide/CWPEXUG.pdf?fpsp=1&WT_TYPE=Users%20Gu...

I hope it helps

Alberto

0 Kudos