Search found 28 matches

by vinci1989
Tue Apr 09, 2024 6:52 pm
Forum: Showcase
Topic: QtESPFlasher - a cross platform CLI/GUI flash utility
Replies: 0
Views: 6774

QtESPFlasher - a cross platform CLI/GUI flash utility

I wasn't very satisfied with the original "flash download tool" offered by Espressif so I've decided to write my own based on Espressifs esp-serial-flasher library. The result is a little Qt CLI/GUI tool called "QtESPFlasher" and is available here: https://github.com/higaski/QtESPFlasher
by vinci1989
Thu Nov 23, 2023 7:24 am
Forum: General Discussion
Topic: SPI settings - "Serial flasher config" (and the big picture)
Replies: 2
Views: 4737

Re: SPI settings - "Serial flasher config" (and the big picture)

Thank you very much for this in-depth explanation. Your reply could easily go into the docs... Currently you'd have to piece that kind of information together from 3x different sources (esptool, SPI and bootloader). Note that while the application app image also has these configuration bytes, I'm no...
by vinci1989
Wed Nov 22, 2023 3:22 pm
Forum: General Discussion
Topic: SPI settings - "Serial flasher config" (and the big picture)
Replies: 2
Views: 4737

SPI settings - "Serial flasher config" (and the big picture)

Hello Can someone explain a few things to me about the SPI settings? I'm trying to understand how the "Serial flasher config" settings relate to idf.py, the *-flash_args files generated during a build and the SPI peripheral settings ultimately used in the chip. So, for starters, do the "Serial flash...
by vinci1989
Fri Sep 22, 2023 6:11 pm
Forum: ESP-IDF
Topic: Bitset header
Replies: 3
Views: 3020

Re: Bitset header

I have no problems including <bitset> with

Code: Select all

v5.2-dev
by vinci1989
Fri Sep 22, 2023 8:25 am
Forum: ESP-IDF
Topic: How to write a websocket server without receive any packet from client after handshake
Replies: 2
Views: 1634

Re: How to write a websocket server without receive any packet from client after handshake

A websocket is a bidirectional communication. As long as the socket is open you can send data at any time. The example you've linked even does that by using the

Code: Select all

ws_async_send
function.
by vinci1989
Thu Sep 21, 2023 10:44 am
Forum: ESP-IDF
Topic: ESP32S3 - Narrowing cache issues
Replies: 6
Views: 2917

Re: ESP32S3 - Narrowing cache issues

Thank you, you've been on the right track. :)
This was indeed an ESP-IDF bug, quote:
The interrupt allocator internally allocated some buffer from the PSRAM, so causing the crash.
by vinci1989
Tue Sep 19, 2023 5:35 pm
Forum: ESP-IDF
Topic: ESP32S3 - Narrowing cache issues
Replies: 6
Views: 2917

Re: ESP32S3 - Narrowing cache issues

sh_vec->isr(sh_vec->arg); // Backtrace points here This seems to indicate one of two things: a) the shared_vector_desc_t @ *sh_vec is located in flash/PSRAM, or b) the ISR it tries to call is in flash and not IRAM. Maybe double-check the IRAM configuration of all relevant ISRs; and make sure that o...
by vinci1989
Tue Sep 19, 2023 9:42 am
Forum: ESP-IDF
Topic: How best to handle firmware updates
Replies: 3
Views: 5426

Re: How best to handle firmware updates

My question is how we might do this with a local file instead? In particular, if we don't have WIFI working, it seems a web page served by the ESP using the AP mode, could provide the OTA binary from the users computer and an OTA update could be performed. I don't know how the write stream would be...
by vinci1989
Tue Sep 19, 2023 4:59 am
Forum: ESP-IDF
Topic: ESP32S3 - Narrowing cache issues
Replies: 6
Views: 2917

Re: ESP32S3 - Narrowing cache issues

How can I interpret this? To me it looks as though the issue could be that during an SPI flash read an interrupt is triggered and the ISR tries to access cached memory. What version of the IDF are you using? Specifically, what does this version do in line 446 of esp-idf/components/esp_hw_support/in...
by vinci1989
Mon Sep 18, 2023 4:34 pm
Forum: ESP-IDF
Topic: ESP32S3 - Narrowing cache issues
Replies: 6
Views: 2917

ESP32S3 - Narrowing cache issues

Hey I've a hard time debugging some cache issue and need some pointers on where to start looking. My application is concurrently running: A webserver which performs flash access to answer some HTTP requests (NVS/SPIFFS) and low level signal generation using the RMT, GPTimer and UART peripherals All ...