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

SilverG
Posts: 1
Joined: Sat Aug 31, 2024 9:35 am

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

Postby SilverG » Sat Aug 31, 2024 10:06 am

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
Attachments
17250986207755917420394106112127.jpg
17250986207755917420394106112127.jpg (2.94 MiB) Viewed 1108 times
17250983285753783458223757431760.jpg
17250983285753783458223757431760.jpg (3.77 MiB) Viewed 1108 times
17250982977105432503296651138210.jpg
17250982977105432503296651138210.jpg (3.23 MiB) Viewed 1108 times

ESP_Sprite
Posts: 9772
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Sun Sep 01, 2024 12:03 am

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

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 84 guests