Page 1 of 1

ESP32-C3 and presence sensor loop that error make exit status 2

Posted: Sat Aug 31, 2024 10:06 am
by SilverG
I have "dev kit Wifi BLE5 RISC-V SoC ESP32-C3 Super Mini 4MB" connect with " mmWave 24GHz Human Presence Sensing HLK-LD2410C Hi-Link ", I have make a code that communicate between those two. I make a mistake and create infinite loop and now I can't upload any code to esp32 anymore. It alway no serial data received and then exit status 2.

I have try esp32 tool to flask boot -> access denied and timed out, press and hold RESET button, BOOT button too, reset my laptop but nothing work, can't factory reset.

When look at serial monitor, those two device still communicate with each other and nothing can't stop them. Please help me, is there any otherway to force reset beside buy a new one

Re: ESP32-C3 and presence sensor loop that error make exit status 2

Posted: Sun Sep 01, 2024 12:03 am
by ESP_Sprite
Just a note on the button sequence: you force ESP32 chips into bootloader mode by pressing and holding BOOT, then pressing and releasing RESET, then releasing BOOT. Have you tried that? Alternatively, simply hold the BOOT button while plugging the ESP in; that should also work. Note that after flashing succeeds with one of those methods, you need to manually press RESET to start your program