Search found 30 matches

by redradist
Sun Jul 18, 2021 7:10 pm
Forum: ESP-IDF
Topic: Chip not loading after few updates in encryption mode
Replies: 11
Views: 10296

Re: Chip not loading after few updates in encryption mode

WiFive wrote:
Sat Jul 17, 2021 11:06 pm
It would be incremented but your FLASH_CRYPT_CNT is already max so it cannot be changed
Do you mean that I do not have other choice except of remount a new chip ?
by redradist
Sat Jul 17, 2021 11:43 am
Forum: ESP-IDF
Topic: [SOLVED] Do not receive ESP_GATTS_WRITE_EVT on write CCC
Replies: 2
Views: 3194

Re: Do not receive ESP_GATTS_WRITE_EVT on write CCC

Issue was fixed, there was enable ESP_GATT_AUTO_RSP that is why my own response was not sent
by redradist
Sat Jul 17, 2021 11:17 am
Forum: Hardware
Topic: [SOLVED] rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) flash read err, 1000
Replies: 14
Views: 93792

Re: [SOLVED] rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) flash read err, 1000

rst:0x10 (RTCWDT_RTC_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT) flash read err, 1000 ets_main.c 371 I am getting this error in my esp32 devkit v1 How to solve it? I am using arduino IDE for programming the esp32. This error went away after I changed esptool.py params to start writing the flash at 0x100...
by redradist
Sat Jul 17, 2021 9:48 am
Forum: ESP-IDF
Topic: Chip not loading after few updates in encryption mode
Replies: 11
Views: 10296

Re: Chip not loading after few updates in encryption mode

Ok but in release mode it is set by bootloader so you should check your efuse values Here is my fuse: ```console Connecting.... Detecting chip type... ESP32 espefuse.py v3.0 EFUSE_NAME (Block) Description = [Meaningful Value] [Readable/Writeable] (Hex Value) ----------------------------------------...
by redradist
Fri Jul 16, 2021 8:50 pm
Forum: ESP-IDF
Topic: Chip not loading after few updates in encryption mode
Replies: 11
Views: 10296

Re: Chip not loading after few updates in encryption mode

WiFive wrote:
Wed Jul 14, 2021 10:05 pm
If you don't have the encryption key and your DISABLE_DL_ENCRYPT efuse is set then no you can't do anything.
No, I did not set DISABLE_DL_ENCRYPT efuse manually
by redradist
Wed Jul 14, 2021 9:48 pm
Forum: ESP-IDF
Topic: Chip not loading after few updates in encryption mode
Replies: 11
Views: 10296

Re: Chip not loading after few updates in encryption mode

If you enable encryption in release mode you are supposed to only use OTA updates. Yeah, I understood ... I did it with OTA, but then I updated few times using UART and it is not loading an more ... Is there a way to restore it ? Maybe an issue with my custom partition table ? ``` nvs, data, nvs, 0...
by redradist
Tue Jul 13, 2021 7:34 pm
Forum: ESP-IDF
Topic: Chip not loading after few updates in encryption mode
Replies: 11
Views: 10296

Re: Chip not loading after few updates in encryption mode

It could mean the code in the flash is not encrypted but the chip expects it to be encrypted or the opposite. You said "a few updates", encryption can only be disabled 3 times if that's what you are doing. What do you mean 3 times ??? Actually seems like after 3 or 4 update using UART with enabled ...
by redradist
Tue Jul 13, 2021 5:50 am
Forum: ESP-IDF
Topic: Chip not loading after few updates in encryption mode
Replies: 11
Views: 10296

Chip not loading after few updates in encryption mode

Hi all, I've faced with an issue that after update my software (encryption enabled, release build) by UART, after some update I see the following: ```console rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) flash read err, 1000 ets_main.c 371 ets Jun 8 2016 00:22:57 rst:0x10 (RTCWDT_RTC_R...
by redradist
Sat Apr 17, 2021 8:59 am
Forum: ESP-IDF
Topic: [SOLVED] Do not receive ESP_GATTS_WRITE_EVT on write CCC
Replies: 2
Views: 3194

Re: Do not receive ESP_GATTS_WRITE_EVT on write CCC

Also one thing I did not understand in gatt_server_service_table example is that why in this example provided only one CCC array of values:

Code: Select all

static const uint8_t heart_measurement_ccc[2]      = {0x00, 0x00};
It is the per client value ... how it could be shared ???
by redradist
Fri Apr 16, 2021 10:28 pm
Forum: ESP-IDF
Topic: [SOLVED] Do not receive ESP_GATTS_WRITE_EVT on write CCC
Replies: 2
Views: 3194

[SOLVED] Do not receive ESP_GATTS_WRITE_EVT on write CCC

Hi all,

When write CCC from Android (enabling Notification or Indication) I do not receive event ESP_GATTS_WRITE_EVT from Bluedroid stack ...

Maybe I need enable such possibility via menuconfig ?