Hi:
Now there is a S32K144 control board to do PIL test, because there is no openSDA interface on the board, so serial port is chosen as PIL download port when doing PIL setting.Since there is no corresponding example for reference, several questions are asked.
1. When choosing serial port to do PIL download port, does MCU end need to do other Settings?Like adding UART port Settings to MCU?
2. Need to install firmware download software of MCU for MATLAB to download PIL firmware through UART port?
Or manually download PIL firmware through JLINK and then run PIL simulation?
Any Suggestions?
Best Regards!
Liu qimin
mcu.so have a way to ... this problem.
Hi Paul:
Thanks for your reply!
According to the information you provided, after writing in the RBF file, PIL can be run.But there is a strange problem, which is that the first time it works, the second time it gets an error, what's going on?
I am curious, PC specify COM port and MCU not specify UART port PIN.How do they establish communication?
Best Regards!
Liu qimin
Hi liuqimin,
1. No, you don't need to do other settings, except the selection of the correct COM port in config block and use the UART1 interface, PC6 pin for RX, and PC7 pin for TX, on the board.
2. To download the application to the board using the UART interface, you need to flash the NXP_MBDToolbox_S32K1xx\tools\BootLoader\RBF_Files\S32K144_Bootloader.rbf file over JTAG interface using the S32 Design Studio for ARM.
The procedure of flashing the boot loader algorithm is described in the Motor Control Class: Lecture 3 - Input Commands first video starting with 2.04 minute.