Search found 67 matches

by rtborg
Thu Jun 08, 2023 10:20 am
Forum: General Discussion
Topic: esp_restart() results in Guru Meditation Error
Replies: 7
Views: 4388

Re: esp_restart() results in Guru Meditation Error

Updates: 1. I could not get the CDC console example working on esp32s3, due to compilation error: C:/Users/null/esp/esp-idf/components/esp_system/port/soc/esp32s3/usb_console.c:69:1: error: static assertion failed: "usb_osglue_*_int is not multicore capable" The flag CONFIG_ESP_CONSOLE_USB_CDC is se...
by rtborg
Wed Jun 07, 2023 8:09 pm
Forum: General Discussion
Topic: esp_restart() results in Guru Meditation Error
Replies: 7
Views: 4388

Re: esp_restart() results in Guru Meditation Error

Thank you for the suggestion. Running addr2line on the bootloader .elf file also does not return any functions; inspected the map file - these addresses are not in there.
by rtborg
Wed Jun 07, 2023 2:08 pm
Forum: General Discussion
Topic: esp_restart() results in Guru Meditation Error
Replies: 7
Views: 4388

Re: esp_restart() results in Guru Meditation Error

Hi, tried the code without the chip_usb_set_persist_flags(USBDC_BOOT_DFU) statement, the result is the same.
by rtborg
Wed Jun 07, 2023 7:23 am
Forum: General Discussion
Topic: esp_restart() results in Guru Meditation Error
Replies: 7
Views: 4388

esp_restart() results in Guru Meditation Error

I am attemting to restart an ESP32S3 into DFU mode, but each time I issue esp_restart(), I get an error: /*---------------------------------------------------------------------------*/ /* CODE */ static void reboot_to_dfu(void) { ESP_ERROR_CHECK(esp_register_shutdown_handler(usb_persist_shutdown_han...
by rtborg
Fri Mar 17, 2023 9:47 am
Forum: ESP-IDF
Topic: ESP32-S3 nvs_set_blob results in watchdog trigger
Replies: 1
Views: 1046

ESP32-S3 nvs_set_blob results in watchdog trigger

Saving a large (<1K) blob into NVS results in a reset due to watchdog trigger. The problem does not appear every time the operation is performed. Details of the application: - Support for power management is enabled - RTC watchdog period 9000 ms - Task watchdog timer set for 5 sec - NVS size: 16 KB ...
by rtborg
Mon Jan 30, 2023 9:54 am
Forum: Hardware
Topic: ESP-Prog cannot connect to ESP32-S3
Replies: 6
Views: 3407

Re: ESP-Prog cannot connect to ESP32-S3

@ESP_Sprite,thank you for the input - I burned fuse DIS_USB_JTAG and now I can connect to ESP32S3 using ESP-Prog. Flashing over JTAG works. I still have one issue. I am starting openocd from a terminal using `openocd -c 'set ESP_RTOS none' -f board/esp32s3-ftdi.cfg`, and then starting GDB from VS Co...
by rtborg
Sat Jan 28, 2023 8:08 am
Forum: Hardware
Topic: ESP-Prog cannot connect to ESP32-S3
Replies: 6
Views: 3407

Re: ESP-Prog cannot connect to ESP32-S3

The fuse USB_PHY_SEL has been set to True, so trying to connect to USB-JTAG results in: ./bin/openocd -f board/esp32s3-builtin.cfg Open On-Chip Debugger v0.11.0-esp32-20221026 (2022-10-26-14:47) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Info : only one ...
by rtborg
Fri Jan 27, 2023 10:06 pm
Forum: Hardware
Topic: ESP-Prog cannot connect to ESP32-S3
Replies: 6
Views: 3407

ESP-Prog cannot connect to ESP32-S3

openocd complains, but the connections appear fine. GPIO3 is pulled to 3.3V. I can't connect via USB to JTAG either. Where should I look for the cause? I am also attaching fuse dump. junk@yard:~/.espressif/tools/openocd-esp32/v0.11.0-esp32-20221026/openocd-esp32$ ./bin/openocd -f share/openocd/scrip...
by rtborg
Tue Jan 03, 2023 10:00 am
Forum: General Discussion
Topic: ESP32-S3 rebooting to DFU
Replies: 12
Views: 6406

Re: ESP32-S3 rebooting to DFU

@ESP_Sprite - I overlooked your previous answer somehow - the function you referred to works: ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x3 (RTC_SW_SYS_RST),boot:0x20 (DOWNLOAD(USB/UART0)) Saved PC:0x403758f1 waiting for download The chip I am testing the function on is manufactured before June...
by rtborg
Tue Dec 20, 2022 10:28 am
Forum: General Discussion
Topic: ESP32-S3 rebooting to DFU
Replies: 12
Views: 6406

Re: ESP32-S3 rebooting to DFU

Turns out if you issue a software reset and keep GPIO0 low, the device does not enter DFU mode. So what's left is to have a GPIO trigger an external circuit which asserts both reset and boot signals.