Can't flash MPC5775E-EVB USING MBD

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

Can't flash MPC5775E-EVB USING MBD

741 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Customer have following issue:

We bought the MPC5775E 3-phase PMSM Development Kit and to develop control algorithms using the MBD Toolbox on Matlab/Simulink.
Before developing our models we tried flashing some exemple projects from the MBDT Library, but we keep getting the following error message "Loss communication with CCP MCU. Please cycle power and try again"
We have followed all the steps in th "Model-Based Design Toolbox MPC57xx Series Quick Start Guide", verified the jumper configuration the board and tried the different solutions on the following links:
https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Load-Simulink-to-X-MPC5775E-EVB/td-p/12...
https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MPC5777c-loss-of-communication-for-ccp-...
https://community.nxp.com/t5/MPC5xxx/Communication-error-while-flashing-a-new-srec-file-in-DEVKIT/td...
But none of the solutions work and we still get the "Loss communication with CCP MCU. Please cycle power and try again" error message

 

Best regards,

Peter

0 项奖励
回复
2 回复数

481 次查看
enginrd
Contributor II

I was finally able to program from Simulink! I cannot explain what was wrong or how these steps solved it, but hopefully this helps someone else:

I followed the advice in that second link, to test the USB connection. Flashing HelloWorld.elf via S32/default flash algorithm did not yield expected results (garbage would print after flashing, and pressing Reset button resulted in not printing anything), but after this, I was able to load the generated/built Helloworld model directly through Simulink and see the expected results. Further, I can change the model, rebuild/load and see the changes reflected. This leads me to believe that something was hung up and flashing a an ELF file through S32 fixed it.

For science: I did start my test model by saving a copy of one of the example files (to get model properties), such as the UART echo test. Then I changed the Target Config Information block to MPC5775E.

0 项奖励
回复

514 次查看
enginrd
Contributor II

I am in the same situation. Has anyone arrived this, or been able to load an application from the MBDT onto the MPC5775E-EVB? If so, I'd like to know if you did anything different from the Getting Started guide.

 

0 项奖励
回复