Hi everyone,
I have a problem with flashing the S32K144EVB with Simulink auto code generation toolbox.
I followed the steps proposed in the "Model_Based_Design_Toolbox_Quick_Start.pdf" and was trying to flash the hello world UART example. I always get the following error.
------------------
The procedure to build is complete. However, UART communication can not be performed.
I guess the downloader is not working well for some reason.
Are there any other toolboxes or settings required to make UART communication?
Could you tell me how to do it?
Hi,
You simply copy paste the .mot file in the local disk. After that you can check the LASTSTAT.TXT on the openSDA.
Hope this helps,
Marius
Hello 渉 久保田,
Looks like the program fails to copy the lpuart_hello_world_s32k14x.mot file to the mounted S32K144 EVB.
Firstly you need to open the config block, go to Target Connection tab and under the OpenSDA, please select the right disk mount of the board. If is set on Custom, just press the Refresh Button and select the right one (On my machine it is mounted as drive D).
Please try this approach and if this is not working, please go to C:\Users\AAA\Documents\MATLAB\Add-Ons\Toolboxes\NXP_MBDToolbox_S32K1xx\S32_Examples\lpuart_hello_world_s32k14x_mbd_rtw\lpuart_hello_world_s32k14x.mot and manually copy the .mot file on the disk.
Hope this helps,
Marius
Hi, Marius Lucian Andrei,
Thank you for your reply.
I checked the settings, but the settings for "Target Connection" were not wrong.
How do I manually copy mot files to disk?
By the way, I forgot to tell you that the matlab version is R2019a.(OS: Win10 x6)