First, OpenSDA Drive was not recognized after I installed the S32K Toolbox;
Then, I set "Custon OpenSDA Drive Name" to" H:EVB-S32K144";
And then download the program, and it's stuck here;
I think the program didn't download into S32K144EVB, but I don't know how to solve it;
Finally, I tried serial downloading again, but I still failed.
Please help me!!
Hello @orange_ ,
If you press the refresh button, the driver E should be displayed next to the Custom option, like in the following image. But make sure you have the OpenSDA selected because it looks like the model tries to download over the Serial option.
If this still does not work, select Custom option but type only the letter E in the Drive Name.
Hope this helps,
Marius
Hello Marius,
First, I have selected OpenSDA, and then I did the following:
1. Click "Refresh", but "H: EVB-S32K144" is not recognized;
2. "H" or "H:EVB-S32K144" were set in "Custom OpenSDA Drive Name", but the results faile. The program is always loaded here.
Please help me,
Orange_
Hello @orange_ ,
Does your user has enough privileges to access that drive?
When the process completes, then go inside the generate folder, and copy the .mot generated file in the local disk H.
Hope this helps,
Marius
Hello Marius,
Could you please specify how to set the drive access?
I don't know exactly how to set the access rights of "H: EVB-S32K144", and I keep stopping in this interface and can't proceed to the next step.
I can see "gpio. s32k1414. mot" in drive "H: EVB-S32k144" directory, but the hardware has no response.
Please help me!!
Orange_
Hello @orange_ ,
It looks like the .mot file gets on the OpenSDA on the board, but something is not right with the board.
Please open the LASTSAT.TXT and check its content.
Can you pleae check the jumpers settings on the EVB board?
Regards,
Marius
Hello @mariuslucianand ,
Since I can use OenpSDA to download programs for "S32K144EVB" in the S32DS environment, I tried to replace the "GCC-6.3-Arm32-eABI" folder in the MATLAB directory with the "GCC-6.3-Arm32-eABI" folder in the S32DS directory. As a result, I was able to download programs for "S32K144EVB".
Of course, I also need to customize "OpenSDA Drive Name" to "H".
I sincerely thank you for your guidance and advice on this issue.
Although I can download the program successfully now, I still don't understand why this is successful, if you can tell me the reason, I would be very grateful.
Orange_
Hello Orange,
Well, as I said before, looks like the program (gpio_s32k144.mot) is successfully copied on the board. So there might be an issue either with the board or with the OpenSDA.
I don't understand what you have done by copying the GCC-6.3-Arm32-eABI" folder...
Also, I don't understand your status. Is the program running on the board, or not?
On the S32K144 there is an LED, D2, next to the OpenSDA board. This led is a status indicator. The following document explains the status codes. https://www.nxp.com/docs/en/user-guide/OPENSDAUG.pdf
So I see two options in your case.
1. Try to update the OpenSDA firmware (see the previous document explanation)
2. Make sure that your user has enough privileges to access external USB dis. For that, contact your it administrator.
Hope this helps,
Marius
Hello Marius,
Thank you for your help.
Now the program can run successfully on the board.
Maybe there is something wrong with OpenSDA or board.
Orange_
Hello Marius,
Maybe the board or OpenSDA is a problem, but the program runs successfully.
I will check the board and OpenSDA according to your instructions.
Orange_
Hello @mariuslucianand,
As you can see in the figure, I have successfully connected "S32K144EVB" to my computer, but "OpenSDA" is not recognized and still not recognized after pressing "Refresh", so I type "H" in "Custom OpenSDA Drive Name";
This is the result of "build". The program stops at this interface and cannot proceed to the next step;
The result of opening the LASTSAT.TXT is shown in the figure below;
Finally, refer to the "Model-based Design Toolbox QSG" and I have set that place J107 jumper on positions 2-3 and place J104 jumper on positions 2-3;
The program always stops at that interface and can't take the next step, and the hardware isn't responding.
I really need your help. Please help me!!
Orange_
Hello Marius,
Thank you for your suggestion.
Could you please explain it in detail?
Orange_