Hi @dlakatos847,
did you managed to find solution to your problem?
I have exact same problem - using espflash rust program, which works, using esptool results in illegal instruction
Search found 36 matches
- Sat Nov 15, 2025 8:34 am
- Forum: Rust
- Topic: Illegal instruction with esptool.py elf2image
- Replies: 1
- Views: 32356
- Wed Nov 12, 2025 5:29 pm
- Forum: ESP-IDF
- Topic: esptool for bare flashing bare metal-binary?
- Replies: 2
- Views: 1207
Re: esptool for bare flashing bare metal-binary?
I have non-C bare metal application which I want to run from flash of the ESP32-C3. I don't want to use bootloader nor partitions.
Flashing that application to the MCU works with unofficial tools. I am interested in doing that with official esptool (take .elf, do "something with it" and flash it to ...
Flashing that application to the MCU works with unofficial tools. I am interested in doing that with official esptool (take .elf, do "something with it" and flash it to ...
- Wed Nov 12, 2025 4:02 pm
- Forum: ESP-IDF
- Topic: esptool for bare flashing bare metal-binary?
- Replies: 2
- Views: 1207
esptool for bare flashing bare metal-binary?
Is it possible to use esptool.py for flashing non-IDF bare metal (without bootloader and partition) binaries?
I tried:
esptool --chip esp32c3 erase-flash
esptool --chip esp32c3 elf2image --flash-mode dio --flash-freq 80m --flash-size 2MB --min-rev 3 --min-rev-full 3 --max-rev-full 199 -o fw.bin fw ...
I tried:
esptool --chip esp32c3 erase-flash
esptool --chip esp32c3 elf2image --flash-mode dio --flash-freq 80m --flash-size 2MB --min-rev 3 --min-rev-full 3 --max-rev-full 199 -o fw.bin fw ...
- Sun Oct 05, 2025 4:27 pm
- Forum: Hardware
- Topic: ESP32-P4 USBs
- Replies: 1
- Views: 2347
ESP32-P4 USBs
Is it possible to have 3 USBs at the same time on ESP32-P4?
GPIO24,25 - USB JTAG and UART (hard coded)
GPIO25,26 - USB device (eg keyboard or storage)
DP, DM - USB host or device
The best I got is 24,25 as JTAG and DP,DM as device (eg, IDF/examples/peripherals/usb/device/tusb_msc).
GPIO24,25 - USB JTAG and UART (hard coded)
GPIO25,26 - USB device (eg keyboard or storage)
DP, DM - USB host or device
The best I got is 24,25 as JTAG and DP,DM as device (eg, IDF/examples/peripherals/usb/device/tusb_msc).
- Thu Oct 02, 2025 3:14 pm
- Forum: Hardware
- Topic: ESP32-p4 deep sleep wake-up
- Replies: 3
- Views: 1566
Re: ESP32-p4 deep sleep wake-up
Hi,
Could you try to use ESP-IDF without Arduino and see if it works there?
If not, paste error message here (as text, not as a screenshot)
Could you try to use ESP-IDF without Arduino and see if it works there?
If not, paste error message here (as text, not as a screenshot)
- Wed Sep 03, 2025 5:22 pm
- Forum: ESP-IDF
- Topic: Wifi over SDIO on P4
- Replies: 11
- Views: 5905
Re: Wifi over SDIO on P4
Try it without SD card, and it will work. Or specify SDIO1 (slot 0) because examples use same SDIO2 for both SD card and SDIO WIFI.
Code: Select all
sdmmc_host_t host = SDMMC_HOST_DEFAULT();
host.slot = SDMMC_HOST_SLOT_0;
- Wed Sep 03, 2025 5:18 pm
- Forum: ESP-IDF
- Topic: Wifi over SDIO on P4
- Replies: 11
- Views: 5905
Re: Wifi over SDIO on P4
I had same worries trying to fix my SD card, but LDO is okay, I still have that error and my SDIO WIFI (and SD card) works:
Code: Select all
W (2787) ldo: The voltage value 0 is out of the recommended range [500, 2700]
...
I (7507) WIFI: - IPv4 address: 192.168.1.12,
- Mon Sep 01, 2025 10:15 pm
- Forum: Hardware
- Topic: ESP32P4 module availability
- Replies: 16
- Views: 3402
Re: ESP32P4 module availability
There is also this https://en.wireless-tag.com/product-item-56.html
But I don't see schematic of the module
But I don't see schematic of the module
- Mon Sep 01, 2025 10:07 pm
- Forum: Hardware
- Topic: ESP32-P4 NOR flash LDO voltage
- Replies: 10
- Views: 5083
Re: ESP32-P4 NOR flash LDO voltage
You could power it without flash attached, put it in download mode, and burn fuse
- Mon Sep 01, 2025 5:50 pm
- Forum: ESP-IDF
- Topic: SD card ESP32-P4
- Replies: 3
- Views: 2243
Re: SD card ESP32-P4 [solved]
My board was working okay. Tested HW things: UART, GPIO, SPI LCD, I2C, ...
And how I can add SD card on that list! :mrgreen:
It is HW fault. Again...
LDO VO4 was indeed 3.3V, but there is transistor between that voltage and VCC SD. VCC SD was at 1.1V regardless is transistor's gate set to low or ...
And how I can add SD card on that list! :mrgreen:
It is HW fault. Again...
LDO VO4 was indeed 3.3V, but there is transistor between that voltage and VCC SD. VCC SD was at 1.1V regardless is transistor's gate set to low or ...