Why do my MKRZERO have more than one bootloader port

Hi,

I have bought a MKRZERO. The ZERO has difficulty keeping the USB port alive so I can program it. It will work and then it connect and disconnects a few times. Then windows says it cant recognize the the board anymore.

So I go through the motions to get the boards native USB port resettled. Just till the nest time.

What I have not noticed before was the ZERO creates more than 1 bootloader port. Today mine created 3 bootloader port an one normal USB serial port. I have added a picture to show the extra ports in the devices
Untitled
manager.

does it have the problem only with your sketch or with Blink too?

I have 2 and this never happened to me, has to be something else in your side

@Juraj

Sometimes it does it with the blink as well. But not so bad.

I have written this small little bitty code and it goes havoc.

So I don't know why its doing this

long milliseconds;

int led = 5;
int button = 0;

int pushbutton = 0;
int counter;


void setup() {

  Serial.begin(9600);
  pinMode(led, OUTPUT);
  pinMode(button, INPUT);

}

void loop() {

  pushbutton = digitalRead(button);

  delay(400);
  counter++;
  Serial.println(counter);

}

@killzone_kid

What I have is MKRZERO with a MKR Ethernet shield mounted. But the shield is not being use. I have taken it out but still the problem persists.

Then I have a 5V 3A power supply connected to GND and Vin.

So what have you done with your so that you have no problems?

Connected USB cable to the board and into my laptop, unique com port got located for the board and appeared in IDE

bad USB cable?

@killzone_kid and @juray

I tried this yesterday.

First I downloaded a small program called USBDeview. When you are in this program it shows all the ports generated for device that use USB ports. I was shocked to find more than 30 USB composite devices that was created. All of them not working. Then there was UB ports that show some sort of eror. also each line gives a supplier code and if you do google search you will who made the device that has a USB port on your computer.

So step one - I uninstalled all the SAM Boards in the Arduino IDE

Step 2 - I used USBDeview and removed all the unused USB port created. Then made sure there is not Arduino USB ports created. So I was just left with the USB ports my PC use like my mouse and keyboard.

Step 3 - I went back to the Arduino IDE and reinstall all the SAM boards again from fresh

So far, touch wood. It works. I'm going to later today install Arduino IDE 2 and see how its doing on that. Next I will see what the cloud does where U uses the CreatAgent.

I will keep you posted.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.