I try to use MBD tool for Simulink model with PIL mode. I have two question about this.
Windows 7 64bit
S32 power v1.1
1.When I run the model, model will build and try to programming the code to the MCU with SDA serial port(COM3).
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?