Search found 22 matches

by DrSegatron
Mon Nov 04, 2019 3:42 pm
Forum: ESP IoT Solution
Topic: esp_image: invalid segment length 0xffffffff
Replies: 11
Views: 48836

Re: esp_image: invalid segment length 0xffffffff

My problems seem to have been fixed by assuring a content-length is supplied in the HTTP header.
by DrSegatron
Thu Oct 31, 2019 10:30 am
Forum: ESP IoT Solution
Topic: esp_image: invalid segment length 0xffffffff
Replies: 11
Views: 48836

Re: esp_image: invalid segment length 0xffffffff

Cannot reproduce in station mode on v4.0-beta1.

Problem is perhaps that the web server does not give a content-length so when the transfer is interrupted prematurely the OTA process does not know it does not have all data?
by DrSegatron
Mon Oct 28, 2019 1:20 pm
Forum: ESP IoT Solution
Topic: esp_image: invalid segment length 0xffffffff
Replies: 11
Views: 48836

Re: esp_image: invalid segment length 0xffffffff

Tested again twice witout making any changes, updating locally. First time succeeded although a bit slow due to being in debug mode.

Second time:

D (53223) esp_https_ota: Written image length 5202
D (53223) HTTP_CLIENT: is_data_remain=1, is_chunked=1, content_length=-1
D (53223) HTTP_CLIENT: need ...
by DrSegatron
Mon Oct 14, 2019 7:41 pm
Forum: ESP-IDF
Topic: [BLE] Possible to decode Identity Address from Resolvable Private Address and IRK?
Replies: 1
Views: 4095

Re: [BLE] Possible to decode Identity Address from Resolvable Private Address and IRK?

There were a lot of aes headers, but I didn't find a suitable one, so I ran with TinyAES and did it manually.
by DrSegatron
Thu Oct 10, 2019 9:02 pm
Forum: ESP IoT Solution
Topic: esp_image: invalid segment length 0xffffffff
Replies: 11
Views: 48836

Re: esp_image: invalid segment length 0xffffffff

I have some trouble following the example due to our setup; only HTTP, but I can try putting the image on a known good server.
by DrSegatron
Thu Oct 10, 2019 3:49 pm
Forum: ESP-IDF
Topic: [BLE] Possible to decode Identity Address from Resolvable Private Address and IRK?
Replies: 1
Views: 4095

[BLE] Possible to decode Identity Address from Resolvable Private Address and IRK?

As RPA support seems to be missing from the controller:

https://github.com/espressif/esp-idf/blob/master/components/bt/host/bluedroid/stack/btm/btm_ble_bgconn.c#L202

Is it possible to decode a Resolvable Random Device Address with the functions available in the IDF?

I need to identify the ...
by DrSegatron
Wed Oct 02, 2019 2:43 pm
Forum: ESP IoT Solution
Topic: esp_image: invalid segment length 0xffffffff
Replies: 11
Views: 48836

Re: esp_image: invalid segment length 0xffffffff

+1 on toolchain 8.2.0 and IDF v4.0 beta1

I (46791) esp_https_ota: Starting OTA...
I (46791) esp_https_ota: Writing to partition subtype 17 at offset 0x200000
I (61701) esp_https_ota: Connection closed, all data received
I (61701) esp_image: segment 0: paddr=0x00200020 vaddr=0x3f400020 size=0x2f6b0 ...
by DrSegatron
Tue Sep 03, 2019 5:46 pm
Forum: ESP-IDF
Topic: [4.1-dev] idf.py executes commands in wrong order
Replies: 2
Views: 5240

Re: [4.1-dev] idf.py executes commands in wrong order

OK, thanks! For now I can work around it and do flash monitor and get the automatic rebuild when I quit the monitor.
by DrSegatron
Tue Sep 03, 2019 4:18 pm
Forum: ESP-IDF
Topic: [toolchain 2.0] How to remote debug?
Replies: 0
Views: 2470

[toolchain 2.0] How to remote debug?

How do you remote debug with the 2.0 toolchain? What has changed in gdb since old version?

I used
msys32\opt\xtensa-esp32-elf\bin\xtensa-esp32-elf-gdb.exe
before, but the new
.espressif\tools\xtensa-esp32-elf\esp32-2019r1-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gdb.exe
does not seem to be ...
by DrSegatron
Tue Sep 03, 2019 2:25 pm
Forum: ESP-IDF
Topic: [4.1-dev] idf.py executes commands in wrong order
Replies: 2
Views: 5240

[4.1-dev] idf.py executes commands in wrong order

Updated from
v4.0-dev-1287-gd7e659df2
to
v4.1-dev-141-ga7e8d87d3-dirty

idf.py now executes flash before all :

idf.py -p com29 -b 921600 all flash monitor
Checking Python dependencies...
Python requirements from C:\esp-idf\requirements.txt are satisfied.
Executing action: flash

Addendum ...

Go to advanced search