Dear NXP Team,
I am using MIMXRT1064-EVK and first I have started with
to set up a development environment with the MCUXpresso IDE toolchain. I have also successfully run the 'hello world' and 'led blinky' examples.
After that, I have installed the i.MXRT1xxx support package and MBDT for MATLAB and Simulink, and started with the getting started guide for NXP i.MXRT1xxx MBDT with Simulink as follows:
I have followed all the steps and instructions carefully but still, I am getting the error enclosed in the "mytest2024a_20240416_120817.txt" file.
Thank you very much for your support and reply. Here, I am seeking your guidance to solve my mistake.
Best regards,
Bvin
Solved! Go to Solution.
Hello Stefan,
Thank you for your fast reply.
You are right about the linker file. The error itself is with the default linker file defined inside MBDT which I have used to configure my Simulink model. I have solved the error and modified the default linker file with the right name for the included files.
The default linker file (MIMXRT1064xxxxA.Id) path for MIMXRT1064 is as follows:
C:\Users\***\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_IMXRT1xxx\mbdtbx_imxrt\devices\MIMXRT1064\linker_files\default\flash
1. Open file: MIMXRT1064xxxxA.Id
2. Look for the below-mentioned text lines:
INCLUDE "evkmimxrt1064_bubble_peripheral_Debug_library.ld"
INCLUDE "evkmimxrt1064_bubble_peripheral_Debug_memory.ld"
3. Replaced the text lines mentioned in Step-2 with the following lines:
INCLUDE "mimxrt1064xxxxA_library.ld"
INCLUDE "mimxrt1064xxxxA_memory.ld"
4. Save file: MIMXRT1064xxxxA.Id
5. Now, I have run the Simulink model again and there was no error.
Enclosed you can find both the Original and Modified versions of the default linker files of the MBDT for your better understanding.
Best regards,
Bvin
Hello, @Bvin
Looking into the log file you have posted, it seems to me that your are trying to use a custom linker file that does not exist. If may I ask, did you provided another linker file to your model? How did you configured your model? Can you provide more information on how did you configured it?
Regards!
Stefan.
Hello Stefan,
Thank you for your fast reply.
You are right about the linker file. The error itself is with the default linker file defined inside MBDT which I have used to configure my Simulink model. I have solved the error and modified the default linker file with the right name for the included files.
The default linker file (MIMXRT1064xxxxA.Id) path for MIMXRT1064 is as follows:
C:\Users\***\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_IMXRT1xxx\mbdtbx_imxrt\devices\MIMXRT1064\linker_files\default\flash
1. Open file: MIMXRT1064xxxxA.Id
2. Look for the below-mentioned text lines:
INCLUDE "evkmimxrt1064_bubble_peripheral_Debug_library.ld"
INCLUDE "evkmimxrt1064_bubble_peripheral_Debug_memory.ld"
3. Replaced the text lines mentioned in Step-2 with the following lines:
INCLUDE "mimxrt1064xxxxA_library.ld"
INCLUDE "mimxrt1064xxxxA_memory.ld"
4. Save file: MIMXRT1064xxxxA.Id
5. Now, I have run the Simulink model again and there was no error.
Enclosed you can find both the Original and Modified versions of the default linker files of the MBDT for your better understanding.
Best regards,
Bvin