Search found 9034 matches

by ESP_Sprite
Thu Jun 29, 2023 1:47 am
Forum: Hardware
Topic: [beginner] grilled WeMos esp32 lolin by connecting USB and battery ...
Replies: 4
Views: 1186

Re: [beginner] grilled WeMos esp32 lolin by connecting USB and battery ...

That'll kill the devboard indeed. Yes, you can cut it and resolder them, make sure that the wires can't short (ideally use heatshrink tube to isolate them, if not tape will work)
by ESP_Sprite
Thu Jun 29, 2023 1:40 am
Forum: ESP32 Arduino
Topic: max contiguous memory allocation on ESP32 ?
Replies: 3
Views: 1387

Re: max contiguous memory allocation on ESP32 ?

No, it generally doesn't, sorry. The memory map on the ESP32 is a bit weird wrt fragmentation; as you noticed we improved on that with the S3.
by ESP_Sprite
Thu Jun 29, 2023 1:19 am
Forum: Hardware
Topic: ESP32-C3-13 MCU build-in LED flickering
Replies: 4
Views: 981

Re: ESP32-C3-13 MCU build-in LED flickering

The MCP1700 can only deliver 250mA. We highly recommend feeding ESP chips with a power supply capable of delivering >=500mA.
by ESP_Sprite
Thu Jun 29, 2023 1:17 am
Forum: General Discussion
Topic: General Question about Flash Encryption
Replies: 2
Views: 922

Re: General Question about Flash Encryption

Yes, SiP is also included in 'off-chip' flash. Whether the packaging itself already is enough protection depends on your threat model, see e.g. here for a demonstration (on STM32 clone chips) where it might not be.
by ESP_Sprite
Wed Jun 28, 2023 6:07 am
Forum: ESP-IDF
Topic: StoreProhibited when starting OTA update
Replies: 4
Views: 1007

Re: StoreProhibited when starting OTA update

You can look at the EXCVADDR in the stack dump. I'm going by heuristics from seeing lots of valid addresses during my years at Espressif and going like 'this ain't one', but you can check the memory map in the TRM if you want to be sure. (Generally, valid addresses tend to start with 0x40 or 0x3f.)
by ESP_Sprite
Wed Jun 28, 2023 6:05 am
Forum: ESP-IDF
Topic: esp_err.h ESP_ERROR_CHECK() problem
Replies: 2
Views: 1090

Re: esp_err.h ESP_ERROR_CHECK() problem

All the things wrapped in ESP_ERROR_CHECK are functions; they need to be called within a function, e.g. your app_main. You can't just plunk them anywhere in your C file.
by ESP_Sprite
Wed Jun 28, 2023 2:25 am
Forum: ESP32 Arduino
Topic: Secure boot Arduino code or flash using ESP-IDF
Replies: 2
Views: 859

Re: Secure boot Arduino code or flash using ESP-IDF

You can add the Arduino libraries/functionality as a component to ESP-IDF. You'd still have to rework things like your build flow etc, but your code can mostly stay the same.
by ESP_Sprite
Wed Jun 28, 2023 2:21 am
Forum: ESP-IDF
Topic: StoreProhibited when starting OTA update
Replies: 4
Views: 1007

Re: StoreProhibited when starting OTA update

Looks like the address that is dereferenced is garbage. That's usually a memory corruption done earlier in the code somewhere.
by ESP_Sprite
Wed Jun 28, 2023 2:17 am
Forum: Hardware
Topic: CP2102N and ESP32
Replies: 6
Views: 1899

Re: CP2102N and ESP32

IO0 does not and should not have a capacitor on devboards. In ESP32_DEVKITS_20190621.pdf, that capacitor is marked as NC meaning there is a footprint for it on the PCB but it's not placed. Some people read over that and copy the capacitor, and the effect is that the chip will always boot up in downl...
by ESP_Sprite
Wed Jun 28, 2023 2:11 am
Forum: Hardware
Topic: flashing firmware to raw ESP32-C3-wroom-02-N4 in a custom PCB
Replies: 3
Views: 1186

Re: flashing firmware to raw ESP32-C3-wroom-02-N4 in a custom PCB

Thank you so much, very kind If i use usb-to-serial converter is there any routine to be executed (pulling up or down any pins or something similar)? As I said, you probably want to be able to pull GPIO9 low for the initial flash. Moreover, if i'm working on arduino project, is there a way to make ...