Hi there! I hope someone can help me out with this?
I am following this getting started guide: https://wiki-content.arduino.cc/en/Guide/MKRNB1500#select-your-board-type-and-port
First I tried to use the Arduino IoT Cloud with the installed agent but the setup is giving no success: "We could not find any Arduino device". When running the "debug console". I get: { ports: null }
Then I installed the IDE to see if that might work. I installed the package for the specific arduino board successfully but the port with the same name is not there.
I can see the arduino led is green for on but for some reason it cannot connect correctly. I've tried all the usb ports. I am using a macbook air m1 apple sillicon.
Thanks in advance for you help.
Hi @real_codecrafter. Please try this experiment and then report back with the results:
- Connect your Arduino board to your computer with the USB cable.
- Press and release the reset button on your Arduino board quickly twice.
- If it is already open, close the Tools > Port menu in Arduino IDE.
- Open the Tools > Port menu in Arduino IDE.
Now please reply here on the forum thread with the answers to the following questions:
- Do you now see the LED on the board pulsing?
- Do you see a port for the board in the Tools > Port menu?
Thanks for the quick response @ptillisch ! The led is pulsing after reset but the port is still not showing up in the tools > port menu. I see only 3 ports: wlan, bluetooth and jabra (my headset).
Can it be an issue that the Arduino board is connected via my monitor that is connected with my macbook via usb-c ?
OK, great. This indicates that the problem is either in the software (macOS or Arduino IDE) or hardware (USB socket on the board, USB cable, USB socket on the computer, etc.) domain.
It is possible for your sketch code to cause the board to go into a state where it no longer produces a port. However, when you put the board into boot mode by performing the double reset procedure, the sketch is no longer running on the board so it will always go into a state where it produces a port once you have it in that mode. So we have eliminated the sketch program as a possible cause of the problem.
It is possible. I have seen reports of people finding the cause of a board not producing a port was related to specific characteristics of how the board is connected to a Mac computer via USB. Unfortunately I don't know the specific characteristics. Maybe one of the other forum helpers is more knowledgeable on that subject.
I definitely recommend that you do some experimentation with connecting the board to your computer in various ways (according to whatever USB hardware you happen to have on hand). The logical approach would be to make as direct a connection between the board and the computer as possible. However, I also remember seeing reports that people found the problem was solved by adding a USB hub between the board and the computer so it is worth going that direction as well in your experiments.
A more common cause of the "no port" symptom is a basic problem with the USB cable. Make sure the USB cable is completely plugged into both the Arduino board and the PC.
If that doesn't help, you may have a damaged/defective or charge-only USB cable. Try a different cable.
Either of the above can result in the power connections being made (and thus LEDs lit on the board), but no data connections (and thus no port for the board).
@ptillisch Thanks for the inside that the micro usb to usb-c cable I was using, was maybe only for charging. That was the case! I didn't know that. After changing the cable it all worked instantely and I can continue my journey.
You are welcome. I'm glad it is working now.
Regards, Per