No Comm, no Monitor after download

NANO 33 BLE NOT RECOGNIZED AS A COMM DEVICE

Version: 2.0.4

Date: 2023-02-27T16:14:28.576Z

CLI Version: 0.31.0

I can’t communicate with my NANO 33 BLE.

The IDE says “NO PORTS DISCOVERED”

Using the Microsoft function demgmt.msc it doesn’t show up as hidden.

Hitting the white button twice causes the BLE to go into what I call the

ready to accept mode . The green light is on solid and the yellow light to

the right appears to blink at a one second rate.

The old NANO works just fine.

So the usb comm driver and USB port work.

I have tried three USB cables.

I beat on the white button and the

yellow lite went from a steady blink to a

“twitchy” mode. The comm port came back.

After I upload the attached sketch I can’t see a comm port.

If I beat on the little white button I can

get back into mode where the IDE sees a comm port I can load the sketch.

The sketch seems to run (the blue led flashes) but the monitor won’t talk.

The IDE reports “NO PORTS DISCOVERED”.

It appears that the sketch is messing with access to the comm port.

(The reason for the “main” loop is that I’m trying to learn mBed)

As a test I worked with the example “BLINK.INO”

I added “Serial.print(“hello”); and the board works fine.

The monitor displays “hello” just fine

I’m confused.

At least beating on that little white button helped!

Thanks,

Laplace888




// Arduino code
#include "Arduino.h"

// Mbed OS code
int main() {
    setup();
    while (1) loop();
}

void setup() {
  int LED4 = 10;
    pinMode(LED4, OUTPUT);
    Serial.begin(9600);
    delay(100);
    Serial.println("Welcome to Arduino on Mbed OS");
}

void loop() {
  delay(10);
    digitalWrite(LED4, HIGH);
    Serial.println("LED is now on!");
    delay(1000);
    digitalWrite(LED4, LOW);
    Serial.println("LED is now off!");
    delay(1000);
}


the double reset activates the bootloader. the bootloader creates the com port and waits for upload.
I guess your main function replaces the normal arduino main function which creates the com port from the sketch

J.A
Thanks for the insight.
I was afraid of calling it "activates the bootloader" because I wasn't sure if that was the proper term.
I copied the sketch and will have to double check on the source.
Thanks,
Larry

SOLVED (maybe)

I had many problems connecting with the BLE.
It would talk but would hang.
After a download the serial monitor would not work.
If your comm ports all say CH340 you need to install a different driver designed for the NANO 33 BLE.
It was supposed to install when I installed the board but didn't.
I'm sorry but It has been so long that I don't remember exactly the location of the driver.
After installing your device manager will say "Arduino nano 33 ble.

It is a pleasure (almost) working with the BLE now.

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