AnsweredAssumed Answered

MATLAB Toolchain to program MPC5744P Custom Hardware

Question asked by Samet Can Biçer on Feb 13, 2020
Latest reply on Feb 14, 2020 by Marius-lucian Andrei

Hello,

I am designing a custom hardware(MPC5744P) compliance with MATLAB Target Hardware. I bought a DEVKIT-MPC5744P. Thanks to On-Board Debugger(OpenSDA), I am able to directly program DEVKIT-MPC5744P from MATLAB Simulink via the "Build Model" button. As I understood, in this scenario, programming toolchain is;

  • MATLAB Simulink Model -> RAppID BootLoader Tool -> USB -> On-Board Debugger(MK20DX128VFM5) -> UART -> Target MCU(MPC5744P).

But I don't want to add the Onboard debugger to my custom hardware.

I programmed indirectly MPC5744P with this toolchain;

  • MATLAB Simulink Model -> Generated Source Code -> S32 Studio -> P/E micro Multilink Universal -> JTAG -> Target MCU(MPC5744P)

But I can not program directly MPC5744P via MATLAB Simulink without On-Board Debugger. I want to establish a toolchain like below scenarios to programming my custom hardware;

  1. MATLAB Simulink Model -> RAppID BootLoader Tool -> USB -> external On-Board Debugger(MK20DX128VFM5) -> UART/JTAG -> Target MCU(MPC5744P)
    • Does NXP have an external debugger with OpenSDA compliant DEVKIT-MPC5744P rev.E Schematic?
    • If we make our own On-Board Debugger(MK20DX128VFM5) for using externally, How can I find OpenSDA software(compliant DEVKIT-MPC5744P rev.E Schematic) to program own On-Board Debugger? Could you please share it?
  2. MATLAB Simulink Model -> RAppID BootLoader Tool -> USB -> external COTS Programmer/Debugger(P/E Micro etc.) -> JTAG -> Target MCU(MPC5744P)
    • Which COTS programmer/debugger is compliant with OpenSDA to program directly over MATLAB Simulink to my custom hardware via UART or JTAG?

 

Thanks in advance.

devkit-mpc5744p

custom hardware

opensda

rappid boot

from uart

jtag

usb-uart

Outcomes