Dear NXP.
I upgraded MBDT 1.5.0 according to the S32K3xx1.5.0 Quick Start Guide and confirmed that each step was completed successfully. I make sure my license is in "lic" folder.
But I can't choose my hardware board in this version.
I tried again and again to reset the computer and simulink and even reinstall the toolbox, but the problem still cannot be solved.
I need to use the 「ICU Blocks」, so I need the latest version toolbox.
Can you help me and give me some suggest?
Thanks
Solved! Go to Solution.
Hi, @SuperBeginner,
Thanks for sharing the installation steps, they helped to discover the problem. You confirmed that you are using MATLAB version 2021a, instead I see that you are using version 2020b, a fact also suggested by the following warning dialog that specifies that the toolbox will be installed on a version of MATLAB that is not supported.
In the S32K3xx Release Notes document, the versions of MATLAB for which there is support are mentioned, starting from version R2021a.
In conclusion, I believe that this information will solve your problem with the installation of the toolbox version 1.5.0.
Best regards,
Dragos
Hi @dragostoma
Thanks you for your reply.
First, regarding the LPUART instance configuration problem, what I didn't explain is that the toolbox I use is 1.4.0, so my RTD version is 3.0.
This is normal.
Because my MBDT 1.5.0 just cannot be used.
Regarding the file you provided, I cannot use it after downloading it.
It did not jump out of any BLOCK and could only show a blank screen.
In the end, the problem will be solved, that is, I put an extra FreeMASTER Config block for my project, and I can use my new configuration LPUART0 correctly.
I asked about the reason, but due to communication difficulties, I couldn't let you clearly understand what I meant, which led to misunderstandings, so I didn't explain it specifically.
Second, I removed MBDT1.4.0 according to your suggestion and cleared the Matlab path with the restoredefaultpath command.
And again refer to the Model_Based_Design_Toolbox_S32K3xx_Series_Quick_Start_Guide.pdf provided by MBDT1.5.0 to install MBDT 1.5.0.
I also have the authorization generated based on my host ID and placed in my LIC folder.
Finally, execute mbd_s32k3_path.m again to set the path to the toolbox.
But the troublesome thing is that my problem is not solved.
I still can't choose any hardware.
None of your suggestions can solve my problem.
Hope you can provide other suggestions, this is really bothering me.
Thanks
By the way, I upload my LPUART0 Project.
I guess that can lead you konw my meaning. Thanks
Hi, @SuperBeginner,
Unfortunately, I have not been able to reproduce the problem you are experiencing. I would need more information in an attempt to identify the problem, namely:
- What MATLAB version are you using?
- If you open an ICU model, for example, delivered with the toolbox, does it work as expected? Can you change the settings in Hardware Implementation? Or is it a problem only with newly created models?
As initial suggestions, I could recommend the following:
- Try to avoid using model names like untitled to avoid any problems that may arise.
- Try to clean the MATLAB path, to avoid the possibility of interfering with another version of the toolbox already installed. You can run the restoredefaultpath command to reset the path to the factory-installed path. Keep in mind that this deletes everything you currently have in the MATLAB path. After resetting the path, from the toolbox_root directory level you must run the mbd_s32k3_path.m script to set the path for the installed toolbox.
Let me know how it works.
Best regards,
Dragos
Hi @dragostoma
I found that the issue might be during the 'Verify MBD Toolbox License' step.
When I use the NXP Support Package and install MBDT1.5.0, I always encounter this warning.
Could you please help me understand how to resolve this issue?
My Add-Ones Managers is:
By the way, I have not any warning when I install the MBDT 1.4.0.
I need to solve this problem. I really need help.
Please help me, Thanks.
Hi, @SuperBeginner,
Let's try to solve this problem or at least figure out where it comes from. From the topics you have recently posted on the community, I notice that you are using MATLAB Version R2021a, and hardware board S32K312-Q172. All good so far, but I notice that you are using both toolbox version 1.4.0 and toolbox version 1.5.0, which can cause problems when both are found in the MATLAB path. So I propose the following:
- Save your work and already configured models to ensure that they are not lost with the following procedures.
- Uninstall version 1.4.0 of MATLAB, if it still exists, using the Uninstall button in the Add-On Manager. This is to ensure that there is no longer any reference to this version of the toolbox. I say this because although in the image you gave no reference to 1.4.0 appears, in the archive sent with the LPUART instance configuration problem, the model seemed to have settings from the toolbox version of 1.4.0, namely the RTD version used was that of 3.0.0, related to the 1.4.0 toolbox.
- After making sure that the only version of the toolbox installed is the latest, namely 1.5.0, try to cleanup the MATLAB path with the restoredefaultpath command that I mentioned in a previous reply. You could also try a MATLAB restart in this step.
- After the path has been reset to default settings, from the toolbox_root directory level you must run the mbd_s32k3_path.m script to set the path for the installed toolbox (1.5.0).
- If everything has worked correctly up to this point, you should be able to correctly use the toolbox and every Simulink model that comes with the toolbox. This will solve the problem you are experiencing with the erroneous display in the Hardware Implementation.
It is also worth mentioning the fact that you can install a toolbox both using the Support Package Installation Guide and following the steps presented or, if you have already downloaded the .mltbx file, you can install it by drag and drop in the MATLAB Command Window. For this step, you must add the license that was already generated based on your host id, in the lic folder.
At this point there should be no more interference with another version of the toolbox and you should be able to use the latest version correctly.
Let us know if something doesn't work and show us the error you encounter.
Best regards,
Dragos
Dear @dragostoma
I have just tried to install MBDT 1.5.0 again and have taken screenshots of the installation steps as thoroughly as possible.
I also tried opening the example "s32k3xx_dio_s32ct," but the result is still the same.
I am still unable to configure my hardware.
Could you please take a look and see what might be the problem?
Thank you.
Hi, @SuperBeginner,
Thanks for sharing the installation steps, they helped to discover the problem. You confirmed that you are using MATLAB version 2021a, instead I see that you are using version 2020b, a fact also suggested by the following warning dialog that specifies that the toolbox will be installed on a version of MATLAB that is not supported.
In the S32K3xx Release Notes document, the versions of MATLAB for which there is support are mentioned, starting from version R2021a.
In conclusion, I believe that this information will solve your problem with the installation of the toolbox version 1.5.0.
Best regards,
Dragos
Dear @dragostoma ,
This is my mistake. Thank you for helping me resolve the issue.
Hi, @dragostoma
Thank you for your reply.
I followed your suggestions, but the issue still hasn't been resolved.
Below is a response to your question
- Matlab version- 2021a
- I can open ICU Model, but I can't change the settings in Hardware Implementation. It leads me can't do anything. This issue exists in both the example project and the new file.
By the way, Whether it's a example or the new file, I can't use ADC Blocks in MBDT 1.4.0.
It alwasy have error message which shows "ADC_.sldd has been changed on disk since it was opened. You should close it and any models that use it, and Simulink will see the changes next time the dictionary is opened. "
I can't solve it. Please help me.
Thanks.
HopeNotWork