I have a Nano 33 IoT that I have been trying to use in conjunction with the Arduino IOT cloud. I purchased two boards in february tested them, connected fine, programmed and moved on. I had to design the supporting hardware in the meantime and have now finished but since picking it back up I cannot get the web editor to upload code to the nano.
- I started with an old build of create agent so first updated that.
- I then checked if I could upload code using the desktop IDE. This worked perfectly.
- After searching I narrowed down the issue of the web editor to the changing COM ports when running versus bootloader mode broke the web editor for uploading code.
- Manually assigning the COM port to the same value for each state finally allowed me to register the device with the IoT cloud.
This leads me to the next issue.
- To upload a sketch the NINA firmware needs an update. The cloud editor fails with
Executing command: exit status 1
every time.
To fix this I have tried: - Reinstalling create agent up to 1.2.4-056c22e
- Reinstalling drivers for the windows 10 device.
- Swapping USB cables, Ports, and even tried using a hub with no discernible difference.
- I tried updating through the IDE and even went as far as installing the newest build possible.
- I have tried using another windows 10 device and a ubuntu device.
- I have a second board out of the box which has the same result.
I think the issue is related to the Serial port on the device always being classed as "busy" as there seems to be no communication between the board and any IDE.
I thought maybe some code it was running may have been blocking the serial port but when I loaded the bareminimum sketch it still suggested the COM port was busy.
To verify it wasn't my desktop at fault I tested my Arduino Due and Adafruit Feather nRF52840 and nRF52832 all of which didn't display any issues.
I think the NINA update is being blocked by the Serial port being "closed" and I really don't understand how to fix this issue. I have run through every single help post related to updating NINA firmware and none of them work.
When using the IDE to update the firmware to latest the updater never is able to contact the board to update despite the code loading properly.
The Debug console always says Serial Ports: [ { "Name": "COM10", "SerialNumber": "", "IsOpen": false, "VendorID": "0x2341", "ProductID": "0x0057" } ]