I'm following the Engineering Kit tutorial, I'm on the very last part of the tutorial where it wants me to connect the data I got from a live script with something in simulink I've created. When I try and run the program I get a :
The following error occurred during deployment to your hardware board:
Unable to create a communication link with the serial port. Please check the input argument PORT and verify that a device is connected.
Here are my arduino properties:
Any help on where to go or what to test to check anything I am missing?
Only my USB cable that is connected to the arduino. I cleared all parts of my workspace and tried again. Every USB port I plug it into comes up in arduinosetup under COM11.
Anyway here is the next error I got after going back over the tutorial and only trying to run a sine wave block on my arduino.
The following error occurred during deployment to your hardware board:
Failed to detect host COM port of Nano 33 IoT board.
Install or update the Arduino board driver and try again.
If the problem still persists, enter the host COM port number manually in the 'Configuration Parameters > Target hardware resources > Host-board connection' and try again.
Is there any way I can troubleshoot this or any articles to help me understand what I'm doing when I'm running it on hardware?
I fixed it! I got to wondering what you meant by serial monitor so I googled it and it's my first time in this tutorial opening arduino IDE and when I did it installed drivers I needed for my laptop to connect to the USB on matlab
to check the hardware status use the device manager
goto the Start Menu and enter device mananger , click on > alongside Ports (COM and LPT) and you should get something like
you can see a number of COM ports - of you right click on a comport you get more details such as the window on the right giving detaails of COM17 (the Arduino Due). If there are problems it should be reported here.
that is rather vauge!
what arduino are you attempting to use?
what board did you select in Tools>Board?
what version of the arduino IDE are you using?
what code are you attempting to compile/upload?
what does the device manager display?
what error messages do you get? copy and upload the message text