BPI-Leaf-S3 noting is written on Serial monitor

I am working with Arduino IDE 1.8.19 and BPi-Leaf-S3 v1.1 and have a problem.

Board is added with:

Additional Boards Manager URLs: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json

and Boards Manager (esp32 v2.0.9)

Tools setting are set according to

C08iR0iAglUxB0Ik(07-04-16-56-54)

simple sketch

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

void loop() { static unsigned long i = 0; int var = 0; while (var < 5) { Serial.print(i++); delay(1000); Serial.print(" “); var++; } Serial.println(” "); }

compile and upload correctly (see attached compile_upload_log.txt) but noting is written on Serial monitor.

Same sketch works as expected on other boards.

What did I do wrong and how to correct it?

void setup() {
Serial.begin(115200);
}
void loop() {
static unsigned long i = 0;
int var = 0;
while (var < 5) {
Serial.print(i++);
delay(1000);
Serial.print("");
var++;
}
Serial.println("");
}

20230704172656

esp32 v2.0.9. You can already use BPI-Leaf-S3 board type.

Make sure you let the development board in the Bootloader mode before uploading, and then set the PORT.

After the upload is completed, press the REset button once, and confirm the port again, and set it to the PORT at this time.

When you open the serial monitor again, you should get the result you want.

20230704173318