Search found 10 matches

by Tanguy
Mon Sep 30, 2024 4:58 pm
Forum: General Discussion
Topic: rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) invalid header: 0xbc5d02e9
Replies: 8
Views: 973

Re: rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) invalid header: 0xbc5d02e9

Just by curiosity, could I have flashed an encrypted bootloader instead of disable encryption? Yes. It failed because you tried with another project that had the development mode disabled. After enabling encryption in menuconfig, you first use idf.py flash bootloader-flash It will generate encrypti...
by Tanguy
Mon Sep 30, 2024 11:08 am
Forum: General Discussion
Topic: rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) invalid header: 0xbc5d02e9
Replies: 8
Views: 973

Re: rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) invalid header: 0xbc5d02e9

So your problem is that your board has encryption enabled and you are loading unencrypted bootloader and app. You can try disabling encryption by burning FLASH_CRYPT_CNT to the value 3 (it will have two bits sets -> even number-> encryption disabled). try : espefuse.py -p COMx burn_efuse FLASH_CRYPT...
by Tanguy
Mon Sep 30, 2024 7:21 am
Forum: General Discussion
Topic: rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) invalid header: 0xbc5d02e9
Replies: 8
Views: 973

Re: rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) invalid header: 0xbc5d02e9

If the microcontroller could'nt communicate with the flash, you wouldn't be able to flash anything and you wouldn't get anything in the monitor.

Are you sure this board has never been encrypted ? Could you please run

Code: Select all

espefuse.py -p COMx summary
and share the setting of eFuses ?
by Tanguy
Fri Sep 27, 2024 7:06 am
Forum: General Discussion
Topic: rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) invalid header: 0xbc5d02e9
Replies: 8
Views: 973

Re: rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) invalid header: 0xbc5d02e9

Do you have encryption enabled ?
If so it might be because your bootloader or your app has been loaded unencrypted. In this case you could try :
idf.py encrypted-bootloader-flash encrypted-flash
by Tanguy
Fri Sep 27, 2024 7:03 am
Forum: General Discussion
Topic: Does it Possible to identify connected central BLE devices type
Replies: 1
Views: 333

Re: Does it Possible to identify connected central BLE devices type

Hello, This is a specific question about BLE and not related to Espressif modules but I might be of some help : The most obvious and simplest way would be to add a write characteristic and make the central write to this characteristic as soon as it connects. The data written could be the whole confi...
by Tanguy
Wed Sep 25, 2024 8:03 pm
Forum: General Discussion
Topic: SPI configurable segmented transfer
Replies: 3
Views: 1555

Re: SPI configurable segmented transfer

Exactly, In ESP32 with DMA_CONTINUE set, the transactions are automatically chained with the same parameters (including same SPI_USR_MISO_DBITLEN) and no delay. in ESP32-C3 the transactions can be chained using CST but with a mandatory reconf that cost a few clock cycles between each transactions. A...
by Tanguy
Tue Sep 24, 2024 7:17 am
Forum: General Discussion
Topic: SPI configurable segmented transfer
Replies: 3
Views: 1555

SPI configurable segmented transfer

We implemented an SPI driver that allows to write/read from/to circular buffers in continuous mode, managed by DMA. With ESP32 : There is a register bit DMA_CONTINUE that can be set. With circular linked lists it is easy to get it running. Absolutely no cache miss or delays since all is managed by h...
by Tanguy
Wed Jan 24, 2024 11:14 am
Forum: ESP-IDF
Topic: ESP32-MINI-1-N4 UART1 issue
Replies: 6
Views: 1586

Re: ESP32-MINI-1-N4 UART1 issue

GPIO9 and 10 are by default connected to the internal flash, so reconfiguring these pins will lead to issues. However, you can use the GPIO matrix to re-route that UART to any (free, compatible) GPIO. Hello, As stated by the datasheet of the ESP32-MINI-1 : Pins GPIO6, GPIO7, GPIO8, GPIO11, GPIO16, ...
by Tanguy
Sat Feb 19, 2022 12:33 pm
Forum: General Discussion
Topic: Interrupts / ISR behavior
Replies: 0
Views: 876

Interrupts / ISR behavior

If an interrupt is raised while an ISR is running, will it call another ISR as soon as the one currently running return? i.e. are they stacking? Or will it be ignored? In my code I get an edge-triggered interrupt that sometimes is not cleared properly. In fact maybe it's cleared but the next one is ...
by Tanguy
Thu Dec 09, 2021 9:43 pm
Forum: ESP-IDF
Topic: Asserting CS line in SPI continuous mode
Replies: 0
Views: 1803

Asserting CS line in SPI continuous mode

Hello, We need to continuously sample some inputs through an external ADC. First question : We're using an ESP32 with DMA in continuous mode. It is working fine but CS is kept low as long as the SPI operation isn't interrupted. The problem is most ADC needs the CS line to be pulled high between each...