I don't detect the XIA ESP32CR after upload code

I have tried to reset the card many times but if I upload this code I no longer see anything.

#include "Arduino.h"
#include <humanstaticLite.h>

//#include <SoftwareSerial.h>
// Choose any two pins that can be used with SoftwareSerial to RX & TX
//#define RX_Pin A2
//#define TX_Pin A3

//SoftwareSerial mySerial = SoftwareSerial(RX_Pin, TX_Pin);

// we'll be using software serial
//HumanStaticLite radar = HumanStaticLite(&mySerial);

// can also try hardware serial with
HumanStaticLite radar = HumanStaticLite(&Serial1);

const unsigned char DevID_buff[10] = {0x53, 0x59, 0x02, 0xA2, 0x00, 0x01, 0x0F, 0x60, 0x54, 0x43};

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  Serial1.begin(115200);

  //  mySerial.begin(115200);

  while(!Serial);   //When the serial port is opened, the program starts to execute.

  Serial.println("Ready");
}

void loop() {
  // put your main code here, to run repeatedly:
  radar.checkSetMode_func(DevID_buff, 10, false);
  delay(50);   //Do not set the delay time too long, as this may affect the reception of the data frames returned by the radar.
}

I tried a simple code and it works

void setup() {
  Serial.begin(9600);
}

void loop() {
Serial.print("Hello World!");
delay(2000);
}

the card is this one in the photo:

If anyone can help me I’m happy! :pray: :pray: :pray: :pray:

Hi There,
Drop the Baud rate, There is NO advantage to running at 115200 BTW, set it back to 9600
UNplug Xiao from windows computer and reboot it.
Hold the Reset button down while plugging it back in on the USB port then let it go.( you should get a windows nag about new device)
It’s tricky and may take several tries.
HTH
GL :slight_smile: PJ