How to create Code Warrior project with code generated by Motor Control Development Toolbox in Simulink?

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

How to create Code Warrior project with code generated by Motor Control Development Toolbox in Simulink?

Jump to solution
5,524 Views
zili
Contributor II

Hi,

I'm using Motor Control Development Toolbox in Simulink for MPC5643L and trying to download the code into the MCU. For some reason, code downloading by RAppID doesn't work. Thus, I'm trying to create a code warrior project (CodeWarrior 10.7) with the generated code. Should I use the makefile importer wizard in CW or create a CW project and add files? What is the right procedure to do this work? Many thanks.

1 Solution
3,987 Views
raduivan
NXP Employee
NXP Employee

Hi Zili,

   To be able to download the application using the toolbox you have to flash the rbf file first, please see where to look for MPC564xL.rbf file ? 

Regarding the second question you can use CW elf importer to load the executable info and to make a debug session.

pastedImage_2.png

pastedImage_3.png

Best regards,

Radu

View solution in original post

0 Kudos
22 Replies
187 Views
raduivan
NXP Employee
NXP Employee

Hi,

   Please use the following format : c:/cw_installs/CW MCU v10.7/

Regards,

Radu

0 Kudos
187 Views
zili
Contributor II

Thank you very much, Radu. I can see the generated .elf file now.

0 Kudos