Search found 67 matches

by rtborg
Wed Dec 14, 2022 2:53 pm
Forum: Hardware
Topic: ESP32S3 cannot enter DFU mode due to factory fuse setting
Replies: 2
Views: 1689

Re: ESP32S3 cannot enter DFU mode due to factory fuse setting

Thank you for the clarification.
by rtborg
Tue Dec 13, 2022 3:19 pm
Forum: Hardware
Topic: ESP32S3 cannot enter DFU mode due to factory fuse setting
Replies: 2
Views: 1689

ESP32S3 cannot enter DFU mode due to factory fuse setting

I have a custom board with ESP32S3 chip. I've burned fuse USB_PHY_SEL to True, and when I attempt to reboot with BOOT0 asserted (at logic 0), the device is not detected by the host at all. After googling around a bit, I found document AR2022-004 , which describes that for certain chips, manufactured...
by rtborg
Mon Dec 12, 2022 2:45 pm
Forum: Hardware
Topic: ESP32S3 Applying voltage on ADC pin of unpowered chip
Replies: 1
Views: 1064

ESP32S3 Applying voltage on ADC pin of unpowered chip

What would be the outcome of applying voltage (3.3V) to the analog input pin of an unpowered chip?

My case is that a user may connect a sensor output to chip's analog input before powering on the chip itself.
by rtborg
Thu Dec 08, 2022 2:07 pm
Forum: General Discussion
Topic: ESP32S3 ADC one-shot reading sequence
Replies: 0
Views: 1223

ESP32S3 ADC one-shot reading sequence

I have an analog input which should be able to measure signal in four ranges, which loosely fit into the attenuation ranges. The application should know what is the expected input signal range, and I want to set the attenuation accordingly. The one-shot reading sequence is: 1. Install ADC instance w...
by rtborg
Thu Dec 08, 2022 1:50 pm
Forum: General Discussion
Topic: ESP32-S3 rebooting to DFU
Replies: 12
Views: 7368

Re: ESP32-S3 rebooting to DFU

Sorry, I didn't explain clear what I was thinking of doing. When I need to reboot to DFU, I will use a GPIO (not GPIO0) to trigger an external circuit, which will then pull GPIO0 down for a period of time (not sure how long yet). After triggering, I'll issue an `esp_restart()`, and the chip wil rese...
by rtborg
Tue Dec 06, 2022 8:17 am
Forum: General Discussion
Topic: ESP32-S3 rebooting to DFU
Replies: 12
Views: 7368

Re: ESP32-S3 rebooting to DFU

You're right, I am back into looking for a way to reboot to bootloader from application, as I don't have any buttons exposed. Probably an one-shot timer could do the job - it would keep GPIO0 low for a period of time, starting from before issuing `esp_restart()` from the application. The period can ...
by rtborg
Mon Dec 05, 2022 3:16 pm
Forum: General Discussion
Topic: ESP32-S3 rebooting to DFU
Replies: 12
Views: 7368

Re: ESP32-S3 rebooting to DFU

I've compiled tinyuf2 for my board, flashed it and the board appears as a storage drive. Now I'm trying to build and flash a simple blinky app, using the partition table provided by tinyuf2, `and idf.py app-flash`. There are some things which are not clear to me: - tinyuf2 exposes the board as a sto...
by rtborg
Mon Nov 28, 2022 4:00 pm
Forum: General Discussion
Topic: ESP32-S3 rebooting to DFU
Replies: 12
Views: 7368

Re: ESP32-S3 rebooting to DFU

From what I can understand, the docs say that bootloader mode can only be entered via the button press combination. So I can either use TinyUF2, which supports that mode, or use external circuit to force the boot pin low - is that correct?
by rtborg
Mon Nov 28, 2022 9:52 am
Forum: General Discussion
Topic: ESP32-S3 rebooting to DFU
Replies: 12
Views: 7368

ESP32-S3 rebooting to DFU

Using the default bootloader, is it possible to reboot to DFU?

The case is that I need to have the option of invoking the DFU mode without having to press any buttons.
by rtborg
Mon Nov 21, 2022 12:50 pm
Forum: General Discussion
Topic: Guru Meditation Error at uxListRemove
Replies: 7
Views: 2971

Re: Guru Meditation Error at uxListRemove

Thanks for spotting that. I am now allocating storage for the queues like this:

Code: Select all

static uint8_t queue_storage[10 * sizeof(event_t)];

and the application works; I will keep on testing to see where the fault might be.