Hi,
I have a MIMXRT1020-EVK board and MATLAB 2021a on my Windows 10, and I am trying to run the exkmimxrt1024_gpio_interrupt.mdl example by following the "MBDT i.MX RT1xxxx Quick Start Guide".
But once I reach step 2. in the "2.3 Hello World Example" (in page 15), I get this error in the MATLAB console:
Failure in config_vol_disks_cbk(0) : Supported boards are only IMXRT1010-EVK, IMXRT1060-EVK, IMXRT1064-EVK or IMXRT1170-EVK
However, the example I choose was from the folder "IMXRT_Examples\imxrt102x", and I suppose the "x" there is a catch-all for the boards ..RT1020 and ..RT1024. So I am wondering what is wrong? could there be something I can edit in the hardware settings or in the linker file to force MIMXRT1020-EVK board to be supported?
Please enlighten me asap. Thanks!
Solved! Go to Solution.
Hi @ylahdili
Unfortunately, the i.MX RT 1020 MCUs are not supported for now by the NXP`s MBD Toolbox for IMXRT Platform. That`s the reason why the error appears when trying to select the OpenSDA driver. Currently, the only MCU supported from the IMXRT102x part is IMXRT 1024 and the EVK-MIMXRT1024 which was used to build and test all the examples from IMXRT_Examples\imxrt102x.
Regards,
Stefan.
Hi @stefancinipeanu,
Thank you very much Stefan for your clear and prompt reply. I see, and your screenshot indeed shows that MBDT 1.3.0 only support the i.MX RT1024 MCU, not my i.MX RT1020 MCU. I was thinking that since both MCUs basically share the same instruction set (ISA), then both will be treated similarly by the MBDT compiler (especially since even older generation i.MX RT1011 is supported).
So I think my solution is to just purchase an i.MX RT1024-EVK.
But maybe I will try one last thing before: if I click the "build" button on Simulink for that example on the Quick Guide (ignoring that "select OpenSDA driver" step), this will make MATLAB coder generate a .bin file in the example folder, which I can just copy-paste into the mass storage that appears when I plug in my i.MX RT1020EVK board to PC, this -I read somewhere- has the same effect as deploying that example into the board. I tried it actually once, but seems like I only managed to override the default blinky demo pre-loaded on the board. I will try again with some other examples maybe, and if you have any tips that can make my EVK work with Simulink blocks please do not hesitate to share anything, it's all useful. Thanks a lot!!
Best Wishes,
Youness
Hi @ylahdili
Unfortunately, the i.MX RT 1020 MCUs are not supported for now by the NXP`s MBD Toolbox for IMXRT Platform. That`s the reason why the error appears when trying to select the OpenSDA driver. Currently, the only MCU supported from the IMXRT102x part is IMXRT 1024 and the EVK-MIMXRT1024 which was used to build and test all the examples from IMXRT_Examples\imxrt102x.
Regards,
Stefan.