AnsweredAssumed Answered

MBD tool with PIL mode

Question asked by Kary Chang on Sep 3, 2017
Latest reply on Jul 27, 2018 by dumitru-daniel.popa
Branched to a new discussion

Hi All:

I try to use MBD tool for Simulink model with PIL mode. I have two question about this.

My environment:

Windows 7 64bit 

MATLAB 2016b

S32 power v1.1

DEVKIT-MPC5744P board

1.When I run the model, model will build and try to programming the code to the MCU with SDA serial port(COM3).

   But in my side, it is very hard to connect to the MCU. I got an error below:

Very very few times I can programming the code to the MCU.

2.I have a SDA serial port with COM3, but for the PIL , I need to use LIN or CAN for data transmission.

That means I need to connect USB2RS232(It will has a COM9 port) adaptor to my computer and connect the RS232 port to the LIN port of the DEVKIT board. Model setting should be as below, right?