A fatal error occurred: No serial data received.

I have just received a new CrowPanel 5.0"-HMI ESP32 display and started to play with it but I can not upload any code to it. I always receive this error:

----> A fatal error occurred: No serial data received.

Can anyone help?
Cheers

Details about my board / setup:
Board: CrowPanel 5.0"-HMI ESP32
Arduino IDE Version: 2.3.2
ESP32 Pacakage Version: 3.0.2
I am trying to upload the first example sketch (the UART sketch) and I am getting:
Sketch uses 283469 bytes (21%) of program storage space. Maximum is 1310720 bytes.
Global variables use 18096 bytes (5%) of dynamic memory, leaving 309584 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.6
Serial port /dev/cu.usbserial-210
Connecting....
Chip is ESP32-S3 (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: dc:da:0c:54:6c:6c
Changing baud rate to 921600
Changed.
Enabling default SPI flash mode...

A fatal error occurred: No serial data received.
Failed uploading: uploading error: exit status 2

Comments

  • Update: I resolved the issue by lowering the baud rate.

  • Hi I received the same panel, and I've a lot of problems on uploading sketches, which the most of the time fail.
    When once every 10-15 times the upload works, then the serial communication fails after a few seconds. I'm trying with different usb cables. it is the same.

    Details about my board / setup:
    Board: CrowPanel 5.0"-HMI ESP32
    Arduino IDE Version: 2.3.4

    ESP32 Pacakage Version: 3.1.3

    Sketch uses 1474256 bytes (46%) of program storage space. Maximum is 3145728 bytes.
    Global variables use 203724 bytes (62%) of dynamic memory, leaving 123956 bytes for local variables. Maximum is 327680 bytes.
    esptool.py v4.8.1
    Serial port /dev/ttyUSB0
    Connecting....
    Chip is ESP32-S3 (QFN56) (revision v0.2)
    Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
    Crystal is 40MHz
    MAC: 3c:84:27:f1:83:3c
    Uploading stub...
    Running stub...
    Stub running...
    Changing baud rate to 460800
    Changed.
    Configuring flash size...
    Flash will be erased from 0x00000000 to 0x00004fff...
    Flash will be erased from 0x00008000 to 0x00008fff...
    Flash will be erased from 0x0000e000 to 0x0000ffff...
    Flash will be erased from 0x00010000 to 0x00177fff...
    Compressed 20160 bytes to 12987...
    Writing at 0x00000000... (100 %)

    A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.
    Failed uploading: uploading error: exit status 2

    Sometimes it fails at the beginning, sometimes at middle transfer.
    I'm trying at full baud rate and also slower boudrates and also setting the cpu at 240MHz and 180MHz.

    What could cause the problem? have I bought a failed panel?

Sign In or Register to comment.