Search found 9042 matches

by ESP_Sprite
Tue Dec 27, 2022 7:56 am
Forum: General Discussion
Topic: srec flashing
Replies: 3
Views: 1262

Re: srec flashing

Esptool.py indeed only supports bin files, so you'd need a program (you could likely use objcopy for that) to convert the srec into a bin file. I don't know how your particular otap implementation works, if it means the ESP receives SREC data, then you need some kind of code to convert that back to ...
by ESP_Sprite
Mon Dec 26, 2022 2:01 pm
Forum: General Discussion
Topic: srec flashing
Replies: 3
Views: 1262

Re: srec flashing

Can you explain a bit more what you're trying to do, as in, what's in that srec file that you want to flash and why do you want to flash it? Generally it's unlikely that that srec has anything in it the ESP can run as it's not a common format for ESP binaries.
by ESP_Sprite
Mon Dec 26, 2022 2:48 am
Forum: General Discussion
Topic: A long reset press to enter download mode
Replies: 5
Views: 11078

Re: A long reset press to enter download mode

FRDM4236 wrote:
Mon Dec 26, 2022 1:57 am
Your post seems to be lacking the image.
by ESP_Sprite
Fri Dec 23, 2022 2:51 am
Forum: ESP-IDF
Topic: ESP IDF Upload .html file into SPIFS while programming image.
Replies: 8
Views: 4531

Re: ESP IDF Upload .html file into SPIFS while programming image.

It tells you the issue:

Code: Select all

RuntimeError: image size should be a multiple of block size
Make sure your spiffs partition size is a multiple of 4096 bytes and this should go away.
by ESP_Sprite
Fri Dec 23, 2022 2:47 am
Forum: Hardware
Topic: ESP32-S3 with large FLASH resets before second-stage bootloader
Replies: 16
Views: 6755

Re: ESP32-S3 with large FLASH resets before second-stage bootloader

That might be a known issue. Can you put the ESP32 in download mode (by lowering IO0 and hard-resetting the board) and try uploading again?
by ESP_Sprite
Thu Dec 22, 2022 8:06 am
Forum: General Discussion
Topic: manuall force exit download mode after flashing with esptool.
Replies: 7
Views: 8146

Re: manuall force exit download mode after flashing with esptool.

'ESP32-S2FNR2' and 'esp32 s2 mini' are names of the chip and the module, not the devboard, hence me asking. Also, that ali link doesn't quite work for me.
by ESP_Sprite
Thu Dec 22, 2022 2:56 am
Forum: ESP IoT Solution
Topic: MQTT data logins with ESP32
Replies: 2
Views: 2441

Re: MQTT data logins with ESP32

The examples are there to get people started; as you say, it's hard to get the setup of things 100% correct first try if you're unfamiliar with APIs etc, as the full capabilities of some APIs can be overwhelming. From my experience, once you have some feeling for the APIs, you can generally whip the...
by ESP_Sprite
Thu Dec 22, 2022 2:44 am
Forum: ESP-IDF
Topic: ESP32-C3 Stuck waiting for download
Replies: 8
Views: 7390

Re: ESP32-C3 Stuck waiting for download

Again, EN connected hard to 3.3V is not something that is in spec: unless you give the ESP32C3 a good power-on reset via e.g. a RC-network on EN, unexpected things can happen (because some parts of the chip may be in latchup, for example). Not saying that that this is absolutely the cause for this b...
by ESP_Sprite
Thu Dec 22, 2022 2:38 am
Forum: ESP32 Arduino
Topic: Calling a C function from Assembly
Replies: 2
Views: 921

Re: Calling a C function from Assembly

The ESP32 uses the windowed ABI; rather than callx0 you should use one of callx4, callx8 or callx12. Note that if you want to pass arguments to the C function, this also shifts the registers these argument are passed in.
by ESP_Sprite
Thu Dec 22, 2022 2:36 am
Forum: ESP32 Arduino
Topic: Read battery voltage on GPIO 41 (ESP32-S3 and Arduino IDE)
Replies: 2
Views: 1966

Re: Read battery voltage on GPIO 41 (ESP32-S3 and Arduino IDE)

mariuselz wrote:
Wed Dec 21, 2022 7:56 pm
Is it because there is no Analog Function on ESP32-S3 GPIO 41?
Exactly that. If you want a pin with an ADC function, check the ESP32-S3 datasheet and pick one of the pins that also have ADC1_CHx as a function. (ADC2 is not really usable on the S3 iirc.)