Search found 27 matches

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: 1124

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: 1124

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: 1834

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: 899

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: 1357

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: 1357

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: 3893

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: 1357

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: 1357

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 ...
by vinci1989
Mon Sep 18, 2023 2:37 pm
Forum: Hardware
Topic: ESP32-S3 JLink JTAG
Replies: 4
Views: 4304

Re: ESP32-S3 JLink JTAG

Sadly no. Haven't tried JTAG debugging with a JLink since...