Error installing Simulink Support Package for Arduino Hardware

Im having trouble setting up my Nano 33 IOT that I got from the Arduino Engineering Kit V2.

For context, I'm following the instructions at this website https://engineeringkit.arduino.cc/aekr2/module/engineering/lesson/01-unboxing-and-installations specifically step 1.3

For the installation step "Testing the Simulink-Arduino USB Connection". During step 2. "Test Arduino Connection" the Build is successful, but the Download fails with the following error:

27-Dec-2024 05:10:27: Sketch uses 11460 bytes (4%) of program storage space. Maximum is 262144 bytes.
Global variables use 3508 bytes (10%) of dynamic memory, leaving 29260 bytes for local variables. Maximum is 32768 bytes.

e[92mUsed platforme[0m e[92mVersione[0m e[90mPathe[0m
e[93marduino:samde[0m 1.8.9 e[90mC:\ProgramData\MATLAB\SupportPackages\R2024b\aCLI\data\packages\arduino\hardware\samd\1.8.9e[0m

Not sure what the issue is as this is a fresh install, and I've tried resetting the Nano 33 IOT a few times as well.

Thanks!

Hi @dwang9.

Did you mean to write "Test the Connection" instead of "Test Arduino Connection"?:

https://engineeringkit.arduino.cc/aekr2/module/engineering/lesson/01-unboxing-and-installations#:~:text=2.%20Test%20the%20Connection

2. Test the Connection

When asked to verify the setup, click on Next to proceed. This is done to check if the third party tools are installed properly and if the connection between the Arduino board and the computer is proper. Click on Test Connection.

Are you certain it failed? I ask because the output you shared is what we expect to see after a successful compilation, and doesn't contain any error messages at all.

Did MATLAB show any additional text other than what you provided above when the download failed?

Hi,

So yes I was talking about the "Test Arduino Connection" step, and maybe you are right, I was a little confused about the error message as well. But when I clicked the "Test Connect" button and after it ran, the Download portion had a red Octagon with an exclamation beside it and when I clicked "View Logs" I got that "error" message.

I'll continue on with the instructions and report back if I'm having any issues or if this was just a UI bug.

Thanks!

1 Like