03-20-2023, 03:12 PM
Hi, I recently bought a KC868-A16 board but am unable to use it, since I receive a fatal error when attempting to upload any new sketches onto it
I'm using the Arduino IDE v2.0.4, targetting the "NodeMCU-32s" board from the esp32 boards definitions (v2.0.7). This is the error I receive when attempting to upload any sketch:
There is not other hardware connected to the board. I am using the power supply and USB-C cable that it was supplied with (although I have also tried swapping these for other ones, and also tried different USB ports on my laptop).
As suggested elsewhere, I have tried reducing the upload speed from the default 921600 to 115200, but that made no difference.
The board itself seemed well-packed and doesn't show any obvious signs of damage, but I'm wondering if the chip is faulty, since the error appears to suggest a problem with the flash memory?
Hopefully you can advise! Thanks,
Alastair
I'm using the Arduino IDE v2.0.4, targetting the "NodeMCU-32s" board from the esp32 boards definitions (v2.0.7). This is the error I receive when attempting to upload any sketch:
Code:
Sketch uses 292297 bytes (22%) of program storage space. Maximum is 1310720 bytes.
Global variables use 25300 bytes (7%) of dynamic memory, leaving 302380 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM7
Connecting....
Chip is ESP32-D0WD-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 90:38:0c:a4:38:94
Uploading stub...
Running stub...
Stub running...
WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00057fff...
Compressed 17520 bytes to 12170...
Writing at 0x00001000... (100 %)
A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.
Failed uploading: uploading error: exit status 2
There is not other hardware connected to the board. I am using the power supply and USB-C cable that it was supplied with (although I have also tried swapping these for other ones, and also tried different USB ports on my laptop).
As suggested elsewhere, I have tried reducing the upload speed from the default 921600 to 115200, but that made no difference.
The board itself seemed well-packed and doesn't show any obvious signs of damage, but I'm wondering if the chip is faulty, since the error appears to suggest a problem with the flash memory?
Hopefully you can advise! Thanks,
Alastair