[GH-ISSUE #403] missing esp_ieee802154_receive_handle_done() function call causing stop of ZigBee reception #3004

Closed
opened 2026-03-20 22:06:26 +01:00 by sascha_hemi · 8 comments
Owner

Originally created by @m-meltner on GitHub (Nov 25, 2024).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/403

Describe the bug
After 20 receptions on OpenEPaperLink_esp32_C6_AP no more packets are received over ZigBee. All previous packets arrive just fine.

To Reproduce
Steps to reproduce the behavior:

  • reboot OpenEPaperLink_esp32_C6_AP
  • reset tag so it registers
  • count received ZigBee packets
  • after the 20th packet no more packets arrive

Expected behavior
continuous reception of packets

Additional context
See: https://docs.espressif.com/projects/esp-idf/en/latest/esp32c6/migration-guides/release-5.x/5.1/ieee802154.html

Fix:
I added a call to esp_ieee802154_receive_handle_done() in function esp_ieee802154_receive_done in file "radio.c". This makes it work just fine.

  • Michael
Originally created by @m-meltner on GitHub (Nov 25, 2024). Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/403 Describe the bug After 20 receptions on OpenEPaperLink_esp32_C6_AP no more packets are received over ZigBee. All previous packets arrive just fine. To Reproduce Steps to reproduce the behavior: - reboot OpenEPaperLink_esp32_C6_AP - reset tag so it registers - count received ZigBee packets - after the 20th packet no more packets arrive Expected behavior continuous reception of packets Additional context See: https://docs.espressif.com/projects/esp-idf/en/latest/esp32c6/migration-guides/release-5.x/5.1/ieee802154.html Fix: I added a call to esp_ieee802154_receive_handle_done() in function esp_ieee802154_receive_done in file "radio.c". This makes it work just fine. - Michael -
sascha_hemi added the bug label 2026-03-20 22:06:26 +01:00
Author
Owner

@skiphansen commented on GitHub (Nov 25, 2024):

I think this is related to the version of IDF used. The auto builds use "the latest" and do not have this issue. What version of IDF do you use?

<!-- gh-comment-id:2498607241 --> @skiphansen commented on GitHub (Nov 25, 2024): I think this is related to the version of IDF used. The auto builds use "the latest" and do not have this issue. What version of IDF do you use?
Author
Owner

@m-meltner commented on GitHub (Nov 25, 2024):

Hello,

here my output when I activate IDF:

 . espdl/esp-idf/export.sh
Checking "python3" ...
Python 3.11.7
"python3" has been detected
Activating ESP-IDF 5.5

  • Checking python version ... 3.11.7
  • Checking python dependencies ... OK
  • Deactivating the current ESP-IDF environment (if any) ... OK
  • Establishing a new ESP-IDF environment ... OK
  • Identifying shell ... bash
  • Detecting outdated tools in system ... OK - no outdated tools found
  • Shell completion ... Autocompletion code generated

Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

idf.py build

<!-- gh-comment-id:2498858099 --> @m-meltner commented on GitHub (Nov 25, 2024): Hello, here my output when I activate IDF:  . espdl/esp-idf/export.sh Checking "python3" ... Python 3.11.7 "python3" has been detected Activating ESP-IDF 5.5 * Checking python version ... 3.11.7 * Checking python dependencies ... OK * Deactivating the current ESP-IDF environment (if any) ... OK * Establishing a new ESP-IDF environment ... OK * Identifying shell ... bash * Detecting outdated tools in system ... OK - no outdated tools found * Shell completion ... Autocompletion code generated Done! You can now compile ESP-IDF projects. Go to the project directory and run: idf.py build
Author
Owner

@skiphansen commented on GitHub (Nov 25, 2024):

Interesting.

Commit 5c421648d1 deleted that exact call and replaced it with a call to esp_ieee802154_receive_sfd_done() because it caused compile errors with ESP-IDF v5.3-dev-1043-g8c9e29898f.

../main/radio.c:42:5: error: implicit declaration of function 'esp_ieee802154_receive_handle_done'; did you mean 'esp_ieee802154_receive_sfd_done'? [-Werror=implicit-function-declaration]
   42 |     esp_ieee802154_receive_handle_done(frame);

I'll do some testing.

I'm reluctant to merge the change even though it looks correct because the current code seems to be working for the majority of the users.

What kind of AP are you using?

It would be interesting to know if the official 2.70 release works for you.

<!-- gh-comment-id:2499079983 --> @skiphansen commented on GitHub (Nov 25, 2024): Interesting. Commit 5c421648d12738b8dc10073424c89813877a2167 deleted that exact call and replaced it with a call to esp_ieee802154_receive_sfd_done() because it caused compile errors with ESP-IDF v5.3-dev-1043-g8c9e29898f. ``` ../main/radio.c:42:5: error: implicit declaration of function 'esp_ieee802154_receive_handle_done'; did you mean 'esp_ieee802154_receive_sfd_done'? [-Werror=implicit-function-declaration] 42 | esp_ieee802154_receive_handle_done(frame); ``` I'll do some testing. I'm reluctant to merge the change even though it looks correct because the current code seems to be working for the majority of the users. What kind of AP are you using? It would be interesting to know if the official 2.70 release works for you.
Author
Owner

@m-meltner commented on GitHub (Nov 26, 2024):

Hello,

first big thanks for this software, really nice!

For reference my code as it works fine now is this:

void esp_ieee802154_receive_done(uint8_t *frame, esp_ieee802154_frame_info_t *frame_info) { ESP_EARLY_LOGI(TAG, "RX %d", frame[0]); BaseType_t xHigherPriorityTaskWoken; static uint8_t inner_rxPKT[130]; memcpy(inner_rxPKT, &frame[0], frame[0] + 1); xQueueSendFromISR(packet_buffer, (void *)&inner_rxPKT, &xHigherPriorityTaskWoken); portYIELD_FROM_ISR_ARG(xHigherPriorityTaskWoken); ESP_ERROR_CHECK(esp_ieee802154_receive_handle_done(frame)); esp_ieee802154_receive_sfd_done(); }

Then I use this as hardware:
https://www.waveshare.com/wiki/ESP32-C6-DEV-KIT-N8

Initially I tried to use web gui to download the AP software but this download never finished successfully. I tried many times and it interrupted always at 100000 to 200000 bytes. So then I switched to actual compilation using ESP-IDF framework (v5.5) and then I stumbled upon this error, investigated and added this one line of code to make it work.

I am not very experienced in usage of this ESP-IDF framework so how can I use your official software if this web gui download option does not work for me?

  • Michael
<!-- gh-comment-id:2499874943 --> @m-meltner commented on GitHub (Nov 26, 2024): Hello, first big thanks for this software, really nice! For reference my code as it works fine now is this: `void esp_ieee802154_receive_done(uint8_t *frame, esp_ieee802154_frame_info_t *frame_info) { ESP_EARLY_LOGI(TAG, "RX %d", frame[0]); BaseType_t xHigherPriorityTaskWoken; static uint8_t inner_rxPKT[130]; memcpy(inner_rxPKT, &frame[0], frame[0] + 1); xQueueSendFromISR(packet_buffer, (void *)&inner_rxPKT, &xHigherPriorityTaskWoken); portYIELD_FROM_ISR_ARG(xHigherPriorityTaskWoken); ESP_ERROR_CHECK(esp_ieee802154_receive_handle_done(frame)); esp_ieee802154_receive_sfd_done(); }` Then I use this as hardware: https://www.waveshare.com/wiki/ESP32-C6-DEV-KIT-N8 Initially I tried to use web gui to download the AP software but this download never finished successfully. I tried many times and it interrupted always at 100000 to 200000 bytes. So then I switched to actual compilation using ESP-IDF framework (v5.5) and then I stumbled upon this error, investigated and added this one line of code to make it work. I am not very experienced in usage of this ESP-IDF framework so how can I use your official software if this web gui download option does not work for me? - Michael
Author
Owner

@skiphansen commented on GitHub (Nov 26, 2024):

The binaries are here: https://github.com/OpenEPaperLink/OpenEPaperLink/tree/master/binaries/ESP32-C6

You can use the esptool to flash. I find that copying the command line that IDF uses when flashing and then modifying the arguments is easiest for me. In my case it looks like this:

esptool.py --chip esp32c6 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size detect 0x0 bootloader/bootloader.bin 0x10000 OpenEPaperLink_esp32_C6.bin 0x8000 partition_table/partition-table.bin

Thanks for the kind words about the project, but I'm not a primary author. Jelmer, nlimper, atc1441, and jonasniesner are the pillars of the project.

I'm a bit player who added SubGhz support, and probably the one that screwed up the C6 code.

<!-- gh-comment-id:2500899599 --> @skiphansen commented on GitHub (Nov 26, 2024): The binaries are here: https://github.com/OpenEPaperLink/OpenEPaperLink/tree/master/binaries/ESP32-C6 You can use the esptool to flash. I find that copying the command line that IDF uses when flashing and then modifying the arguments is easiest for me. In my case it looks like this: ``` esptool.py --chip esp32c6 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size detect 0x0 bootloader/bootloader.bin 0x10000 OpenEPaperLink_esp32_C6.bin 0x8000 partition_table/partition-table.bin ``` Thanks for the kind words about the project, but I'm not a primary author. Jelmer, nlimper, atc1441, and jonasniesner are the pillars of the project. I'm a bit player who added SubGhz support, and probably the one that screwed up the C6 code.
Author
Owner

@m-meltner commented on GitHub (Nov 26, 2024):

Hello,

I flashed your release files and the result is the same: after 20 packets the reception stops.
Here the logs:

ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0x1 (POWERON),boot:0x3f (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x4086c410,len:0xec8
load:0x4086e610,len:0x2ebc
load:0x40875728,len:0x1940
SHA-256 comparison failed:
Calculated: cf5e1da0989b8db2b23cb1f0ea4d82c9c1e07556a2a9e8dedc3c4faa5909a305
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
entry 0x4086c410
I (42) boot: ESP-IDF v5.1.1 2nd stage bootloader
I (42) boot: compile time Oct  1 2023 20:23:29
I (43) boot: chip revision: v0.0
I (45) qio_mode: Enabling default flash chip QIO
I (50) boot.esp32c6: SPI Speed      : 80MHz
I (55) boot.esp32c6: SPI Mode       : QIO
I (60) boot.esp32c6: SPI Flash Size : 8MB
I (64) boot: Enabling RNG early entropy source...
I (70) boot: Partition Table:
I (73) boot: ## Label            Usage          Type ST Offset   Length
I (81) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (88) boot:  1 factory          factory app      00 00 00010000 00100000
I (96) boot:  2 littlefs         Unknown data     01 82 00110000 002f0000
I (103) boot: End of partition table
I (107) esp_image: segment 0: paddr=00010020 vaddr=42030020 size=0dfech ( 57324) map
I (127) esp_image: segment 1: paddr=0001e014 vaddr=40800000 size=02004h (  8196) load
I (130) esp_image: segment 2: paddr=00020020 vaddr=42000020 size=28864h (165988) map
I (166) esp_image: segment 3: paddr=0004888c vaddr=40802004 size=0f114h ( 61716) load
I (181) esp_image: segment 4: paddr=000579a8 vaddr=40811120 size=021cch (  8652) load
I (187) boot: Loaded app from partition at offset 0x10000
I (188) boot: Disabling RNG early entropy source...
I (201) cpu_start: Unicore app
I (210) cpu_start: Pro cpu start user code
I (210) cpu_start: cpu freq: 160000000 Hz
I (210) app_init: Application information:
I (213) app_init: Project name:     OpenEPaperLink_esp32_C6
I (219) app_init: App version:      2.70-10-g4488239d-dirty
I (225) app_init: Compile time:     Nov 16 2024 11:26:44
I (231) app_init: ELF file SHA256:  7af5f575f...
I (237) app_init: ESP-IDF:          v5.4-dev-1030-g0479494e7a
I (243) efuse_init: Min chip rev:     v0.0
I (248) efuse_init: Max chip rev:     v0.99 
I (253) efuse_init: Chip rev:         v0.0
I (258) heap_init: Initializing. RAM available for dynamic allocation:
I (265) heap_init: At 40819E20 len 000627F0 (393 KiB): RAM
I (271) heap_init: At 4087C610 len 00002F54 (11 KiB): RAM
I (277) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM
I (284) spi_flash: detected chip: generic
I (288) spi_flash: flash io: qio
I (292) sleep: Configure to isolate all GPIO pins in sleep state
I (299) sleep: Enable automatic switching of GPIO sleep configuration
I (306) coexist: coex firmware version: 66616e60c
I (333) coexist: coexist rom version 5b8dcfa
I (334) main_task: Started on CPU0
I (334) main_task: Calling app_main()
I (334) gpio: GPIO[22]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (344) gpio: GPIO[23]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (354) uart: queue free spaces: 20
I (354) phy_init: phy_version 290,81efd96,May  8 2024,10:42:13
I (414) phy: libbtbb version: f97b181, May  8 2024, 10:42:29
I (714) RADIO: Receiver ready, panId=0x4447, channel=25, long=40:7f:55:fe:ff:ca:4c:40, short=fffe
I (714) gpio: GPIO[4]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (714) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:2 
I (724) gpio: GPIO[6]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
Invalid PartNum 0xff
I (734) MAIN: CC1101 NOT detected.
I (744) MAIN: C6 ready!
ACK>I (854) MAIN: SCP In
I (854) phy: libbtbb version: f97b181, May  8 2024, 10:42:29
I (1154) RADIO: Receiver ready, panId=0x4447, channel=26, long=40:7f:55:fe:ff:ca:4c:40, short=fffe
I (1154) MAIN: Set channel: 26 power: 10
I (12984) RADIO: RX 20
I (12984) RADIO: TX 25
I (13774) RADIO: RX 20
I (13774) RADIO: TX 25
I (14574) RADIO: RX 20
I (14574) RADIO: TX 25
I (15374) RADIO: RX 20
I (15374) RADIO: TX 25
ADR>I (21864) RADIO: RX 42
I (21874) RADIO: TX 41
<ADR 780105561C4E8500
read /tagtypes/61.json
[ 50622][E][vfs_api.cpp:105] open(): /littlefs/temp/780105561C4E8500_959117.jpg does not exist, no permits for creation
<ADR 00009498EEA28DCC
upload started 780105561C4E8500_66932.jpg
upload finished 780105561C4E8500_66932.jpg
jpeg conversion 384x184
finished writing buffer 944ms
datatype: DATATYPE_IMG_RAW_2BPP
[ 69884][E][vfs_api.cpp:105] open(): /littlefs/current/780105561C4E8500_69879.pending does not exist, no permits for creation
Reading file /current/780105561C4E8500_69879.pending
queue item added, first in line
queue: total 1 elements
ACK>>SDA 780105561C4E8500 TYPE 0x21
I (41674) MAIN: SDA In
ADR><ADR 780105561C4E8500
I (62144) RADIO: RX 42
I (62154) RADIO: TX 41
I (62244) RADIO: RX 42
RQB>I (62254) RADIO: TX 27
ACK>I (62354) MAIN: Starting BlkData, 99 ms after request
Sendblock complete, 447ms
<RQB file /current/780105561C4E8500_69879.pending block 0, len 4096 checksum 56733
I (62754) MAIN: Blockdata fully received in 403 ms, 502 ms after the request
Sending parts: XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XX
I (62854) RADIO: TX 126
I (62864) RADIO: TX 126
I (62864) RADIO: TX 126
...
I (63054) RADIO: TX 126
I (63054) RADIO: TX 126
I (63094) RADIO
: RX 42
I (63094) RADIO: TX 27
Sending parts: X......... .......... .......... .......... ..
I (63194) RADIO: TX 126
I (63204) RADIO: TX 126
I (63204) RADIO: TX 126
...
I (63384) RADIO: TX 126
I (63384) RADIO: TX 126
I (63394) RADIO: TX 126
I (63394) RADIO: TX 126
RQB>I (63474) RADIO: RX 42
I (63474) RADIO: TX 27
ACK>I (63574) MAIN: Starting BlkData, 95 ms after request
Sendblock complete, 442ms
<RQB file /current/780105561C4E8500_69879.pending block 1, len 4096 checksum 39806
I (63974) MAIN: Blockdata fully received in 403 ms, 498 ms after the request
Sending parts: XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XX
I (64074) RADIO: TX 126
I (64084) RADIO: TX 126
...
I (64274) RADIO: TX 126
I (64274) RADIO: TX 126
I (64324) RADIO: RX 42
I (64324) RADIO: TX 27
Sending parts: X......... .......... .......... .......... ..
I (64424) RADIO: TX 126
I (64434) RADIO: TX 126
I (64434) RADIO: TX 126
...
I (64624) RADIO: TX 126
I (64624) RADIO: TX 126
RQB>I (64694) RADIO: RX 42
I (64704) RADIO: TX 27
ACK>I (64794) MAIN: Starting BlkData, 90 ms after request
Sendblock complete, 439ms
<RQB file /current/780105561C4E8500_69879.pending block 2, len 4096 checksum 6673
I (65194) MAIN: Blockdata fully received in 403 ms, 493 ms after the request
Sending parts: XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XX
I (65294) RADIO: TX 126
I (65304) RADIO: TX 126
I (65304) RADIO: TX 126
...
I (65494) RADIO: TX 126
I (65494) RADIO: TX 126
I (65544) RADIO: RX 42
I (65544) RADIO: TX 27
Sending parts: X......... .......... .......... .......... ..
I (65644) RADIO: TX 126
I (65654) RADIO: TX 126
...
I (65844) RADIO: TX 126
I (65844) RADIO: TX 126
RQB>I (65924) RADIO: RX 42
I (65924) RADIO: TX 27
ACK>I (66024) MAIN: Starting BlkData, 96 ms after request
Sendblock complete, 444ms
<RQB file /current/780105561C4E8500_69879.pending block 3, len 4096 checksum 59143
I (66424) MAIN: Blockdata fully received in 403 ms, 499 ms after the request
Sending parts: XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XX
I (66524) RADIO: TX 126
I (66534) RADIO: TX 126
...
I (66724) RADIO: TX 126
I (66724) RADIO: TX 126
I (66774) RADIO: RX 42
I (66774) RADIO: TX 27
Sending parts: X......... .......... .......... .......... ..
I (66874) RADIO: TX 126
I (66884) RADIO: TX 126
...
I (67074) RADIO: TX 126
I (67074) RADIO: TX 126
RQB>I (67144) RADIO: RX 42
I (67144) RADIO: TX 27
ACK>I (67244) MAIN: Starting BlkData, 91 ms after request
Sendblock complete, 440ms
<RQB file /current/780105561C4E8500_69879.pending block 4, len 1280 checksum 6005
I (67644) MAIN: Blockdata fully received in 403 ms, 494 ms after the request
Sending parts: XXXXXXXXXX XXX....... .......... .......... ..
I (67744) RADIO: TX 126
I (67754) RADIO: TX 126
...
I (67934) RADIO: TX 126
I (67944) RADIO: TX 126
I (67944) RADIO: TX 126
XFC>I (68044) RADIO: RX 25
I (68054) RADIO: TX 24
finished writing buffer 797ms
datatype: DATATYPE_IMG_RAW_2BPP
[121108][E][vfs_api.cpp:105] open(): /littlefs/current/780105561C4E8500_121102.pending does not exist, no permits for creation
Reading file /current/780105561C4E8500_121102.pending
queue item added, first in line
queue: total 1 elements
ACK>>SDA 780105561C4E8500 TYPE 0x21
I (92914) MAIN: SDA In
<ADR 00009498EEA28DCC
ADR><ADR 780105561C4E8500
I (109044) RADIO: RX 42
I (109044) RADIO: TX 41
XFC><XFC 780105561C4E8500
I (109064) RADIO: RX 25
I (109064) RADIO: TX 24
upload started 780105561C4E8500_155915.jpg
upload finished 780105561C4E8500_155915.jpg
jpeg conversion 384x184
finished writing buffer 424ms
datatype: DATATYPE_IMG_RAW_1BPP
[157677][E][vfs_api.cpp:105] open(): /littlefs/current/780105561C4E8500_157669.pending does not exist, no permits for creation
Reading file /current/780105561C4E8500_157669.pending
queue item added, first in line
queue: total 1 elements
ACK>>SDA 780105561C4E8500 TYPE 0x20
I (129524) MAIN: SDA In
ADR><ADR 780105561C4E8500
I (150104) RADIO: RX 42
I (150104) RADIO: TX 41
I (150204) RADIO: RX 42
RQB>I (150214) RADIO: TX 27
ACK>I (150314) MAIN: Starting BlkData, 99 ms after request
Sendblock complete, 447ms
<RQB file /current/780105561C4E8500_157669.pending block 0, len 4096 checksum 18086
I (150714) MAIN: Blockdata fully received in 403 ms, 502 ms after the request
Sending parts: XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XX
I (150814) RADIO: TX 126
I (150824) RADIO: TX 126
I (150824) RADIO: TX 126
I (150824) RADIO: TX 126
I (150834) RADIO: TX 126
I (150834) RADIO: TX 126
I (150844) RADIO: TX 126
I (150844) RADIO: TX 126
I (150854) RADIO: TX 126
I (150854) RADIO: TX 126
I (150864) RADIO: TX 126
I (150864) RADIO: TX 126
I (150874) RADIO: TX 126
I (150874) RADIO: TX 126
I (150884) RADIO: TX 126
I (150884) RADIO: TX 126
I (150894) RADIO: TX 126
I (150894) RADIO: TX 126
I (150904) RADIO: TX 126
I (150904) RADIO: TX 126
I (150914) RADIO: TX 126
I (150914) RADIO: TX 126
I (150924) RADIO: TX 126
I (150924) RADIO: TX 126
I (150934) RADIO: TX 126
I (150934) RADIO: TX 126
I (150944) RADIO: TX 126
I (150944) RADIO: TX 126
I (150954) RADIO: TX 126
I (150954) RADIO: TX 126
I (150964) RADIO: TX 126
I (150964) RADIO: TX 126
I (150974) RADIO: TX 126
I (150974) RADIO: TX 126
I (150984) RADIO: TX 126
I (150984) RADIO: TX 126
I (150994) RADIO: TX 126
I (150994) RADIO: TX 126
I (151004) RADIO: TX 126
I (151004) RADIO: TX 126
I (151014) RADIO: TX 126
I (151014) RADIO: TX 126
<ADR 00009498EEA28DCC
<!-- gh-comment-id:2501884897 --> @m-meltner commented on GitHub (Nov 26, 2024): Hello, I flashed your release files and the result is the same: after 20 packets the reception stops. Here the logs: ``` ESP-ROM:esp32c6-20220919 Build:Sep 19 2022 rst:0x1 (POWERON),boot:0x3f (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, clock div:2 load:0x4086c410,len:0xec8 load:0x4086e610,len:0x2ebc load:0x40875728,len:0x1940 SHA-256 comparison failed: Calculated: cf5e1da0989b8db2b23cb1f0ea4d82c9c1e07556a2a9e8dedc3c4faa5909a305 Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff Attempting to boot anyway... entry 0x4086c410 I (42) boot: ESP-IDF v5.1.1 2nd stage bootloader I (42) boot: compile time Oct 1 2023 20:23:29 I (43) boot: chip revision: v0.0 I (45) qio_mode: Enabling default flash chip QIO I (50) boot.esp32c6: SPI Speed : 80MHz I (55) boot.esp32c6: SPI Mode : QIO I (60) boot.esp32c6: SPI Flash Size : 8MB I (64) boot: Enabling RNG early entropy source... I (70) boot: Partition Table: I (73) boot: ## Label Usage Type ST Offset Length I (81) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (88) boot: 1 factory factory app 00 00 00010000 00100000 I (96) boot: 2 littlefs Unknown data 01 82 00110000 002f0000 I (103) boot: End of partition table I (107) esp_image: segment 0: paddr=00010020 vaddr=42030020 size=0dfech ( 57324) map I (127) esp_image: segment 1: paddr=0001e014 vaddr=40800000 size=02004h ( 8196) load I (130) esp_image: segment 2: paddr=00020020 vaddr=42000020 size=28864h (165988) map I (166) esp_image: segment 3: paddr=0004888c vaddr=40802004 size=0f114h ( 61716) load I (181) esp_image: segment 4: paddr=000579a8 vaddr=40811120 size=021cch ( 8652) load I (187) boot: Loaded app from partition at offset 0x10000 I (188) boot: Disabling RNG early entropy source... I (201) cpu_start: Unicore app I (210) cpu_start: Pro cpu start user code I (210) cpu_start: cpu freq: 160000000 Hz I (210) app_init: Application information: I (213) app_init: Project name: OpenEPaperLink_esp32_C6 I (219) app_init: App version: 2.70-10-g4488239d-dirty I (225) app_init: Compile time: Nov 16 2024 11:26:44 I (231) app_init: ELF file SHA256: 7af5f575f... I (237) app_init: ESP-IDF: v5.4-dev-1030-g0479494e7a I (243) efuse_init: Min chip rev: v0.0 I (248) efuse_init: Max chip rev: v0.99 I (253) efuse_init: Chip rev: v0.0 I (258) heap_init: Initializing. RAM available for dynamic allocation: I (265) heap_init: At 40819E20 len 000627F0 (393 KiB): RAM I (271) heap_init: At 4087C610 len 00002F54 (11 KiB): RAM I (277) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM I (284) spi_flash: detected chip: generic I (288) spi_flash: flash io: qio I (292) sleep: Configure to isolate all GPIO pins in sleep state I (299) sleep: Enable automatic switching of GPIO sleep configuration I (306) coexist: coex firmware version: 66616e60c I (333) coexist: coexist rom version 5b8dcfa I (334) main_task: Started on CPU0 I (334) main_task: Calling app_main() I (334) gpio: GPIO[22]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (344) gpio: GPIO[23]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (354) uart: queue free spaces: 20 I (354) phy_init: phy_version 290,81efd96,May 8 2024,10:42:13 I (414) phy: libbtbb version: f97b181, May 8 2024, 10:42:29 I (714) RADIO: Receiver ready, panId=0x4447, channel=25, long=40:7f:55:fe:ff:ca:4c:40, short=fffe I (714) gpio: GPIO[4]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (714) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:2 I (724) gpio: GPIO[6]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 Invalid PartNum 0xff I (734) MAIN: CC1101 NOT detected. I (744) MAIN: C6 ready! ACK>I (854) MAIN: SCP In I (854) phy: libbtbb version: f97b181, May 8 2024, 10:42:29 I (1154) RADIO: Receiver ready, panId=0x4447, channel=26, long=40:7f:55:fe:ff:ca:4c:40, short=fffe I (1154) MAIN: Set channel: 26 power: 10 I (12984) RADIO: RX 20 I (12984) RADIO: TX 25 I (13774) RADIO: RX 20 I (13774) RADIO: TX 25 I (14574) RADIO: RX 20 I (14574) RADIO: TX 25 I (15374) RADIO: RX 20 I (15374) RADIO: TX 25 ADR>I (21864) RADIO: RX 42 I (21874) RADIO: TX 41 <ADR 780105561C4E8500 read /tagtypes/61.json [ 50622][E][vfs_api.cpp:105] open(): /littlefs/temp/780105561C4E8500_959117.jpg does not exist, no permits for creation <ADR 00009498EEA28DCC upload started 780105561C4E8500_66932.jpg upload finished 780105561C4E8500_66932.jpg jpeg conversion 384x184 finished writing buffer 944ms datatype: DATATYPE_IMG_RAW_2BPP [ 69884][E][vfs_api.cpp:105] open(): /littlefs/current/780105561C4E8500_69879.pending does not exist, no permits for creation Reading file /current/780105561C4E8500_69879.pending queue item added, first in line queue: total 1 elements ACK>>SDA 780105561C4E8500 TYPE 0x21 I (41674) MAIN: SDA In ADR><ADR 780105561C4E8500 I (62144) RADIO: RX 42 I (62154) RADIO: TX 41 I (62244) RADIO: RX 42 RQB>I (62254) RADIO: TX 27 ACK>I (62354) MAIN: Starting BlkData, 99 ms after request Sendblock complete, 447ms <RQB file /current/780105561C4E8500_69879.pending block 0, len 4096 checksum 56733 I (62754) MAIN: Blockdata fully received in 403 ms, 502 ms after the request Sending parts: XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XX I (62854) RADIO: TX 126 I (62864) RADIO: TX 126 I (62864) RADIO: TX 126 ... I (63054) RADIO: TX 126 I (63054) RADIO: TX 126 I (63094) RADIO : RX 42 I (63094) RADIO: TX 27 Sending parts: X......... .......... .......... .......... .. I (63194) RADIO: TX 126 I (63204) RADIO: TX 126 I (63204) RADIO: TX 126 ... I (63384) RADIO: TX 126 I (63384) RADIO: TX 126 I (63394) RADIO: TX 126 I (63394) RADIO: TX 126 RQB>I (63474) RADIO: RX 42 I (63474) RADIO: TX 27 ACK>I (63574) MAIN: Starting BlkData, 95 ms after request Sendblock complete, 442ms <RQB file /current/780105561C4E8500_69879.pending block 1, len 4096 checksum 39806 I (63974) MAIN: Blockdata fully received in 403 ms, 498 ms after the request Sending parts: XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XX I (64074) RADIO: TX 126 I (64084) RADIO: TX 126 ... I (64274) RADIO: TX 126 I (64274) RADIO: TX 126 I (64324) RADIO: RX 42 I (64324) RADIO: TX 27 Sending parts: X......... .......... .......... .......... .. I (64424) RADIO: TX 126 I (64434) RADIO: TX 126 I (64434) RADIO: TX 126 ... I (64624) RADIO: TX 126 I (64624) RADIO: TX 126 RQB>I (64694) RADIO: RX 42 I (64704) RADIO: TX 27 ACK>I (64794) MAIN: Starting BlkData, 90 ms after request Sendblock complete, 439ms <RQB file /current/780105561C4E8500_69879.pending block 2, len 4096 checksum 6673 I (65194) MAIN: Blockdata fully received in 403 ms, 493 ms after the request Sending parts: XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XX I (65294) RADIO: TX 126 I (65304) RADIO: TX 126 I (65304) RADIO: TX 126 ... I (65494) RADIO: TX 126 I (65494) RADIO: TX 126 I (65544) RADIO: RX 42 I (65544) RADIO: TX 27 Sending parts: X......... .......... .......... .......... .. I (65644) RADIO: TX 126 I (65654) RADIO: TX 126 ... I (65844) RADIO: TX 126 I (65844) RADIO: TX 126 RQB>I (65924) RADIO: RX 42 I (65924) RADIO: TX 27 ACK>I (66024) MAIN: Starting BlkData, 96 ms after request Sendblock complete, 444ms <RQB file /current/780105561C4E8500_69879.pending block 3, len 4096 checksum 59143 I (66424) MAIN: Blockdata fully received in 403 ms, 499 ms after the request Sending parts: XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XX I (66524) RADIO: TX 126 I (66534) RADIO: TX 126 ... I (66724) RADIO: TX 126 I (66724) RADIO: TX 126 I (66774) RADIO: RX 42 I (66774) RADIO: TX 27 Sending parts: X......... .......... .......... .......... .. I (66874) RADIO: TX 126 I (66884) RADIO: TX 126 ... I (67074) RADIO: TX 126 I (67074) RADIO: TX 126 RQB>I (67144) RADIO: RX 42 I (67144) RADIO: TX 27 ACK>I (67244) MAIN: Starting BlkData, 91 ms after request Sendblock complete, 440ms <RQB file /current/780105561C4E8500_69879.pending block 4, len 1280 checksum 6005 I (67644) MAIN: Blockdata fully received in 403 ms, 494 ms after the request Sending parts: XXXXXXXXXX XXX....... .......... .......... .. I (67744) RADIO: TX 126 I (67754) RADIO: TX 126 ... I (67934) RADIO: TX 126 I (67944) RADIO: TX 126 I (67944) RADIO: TX 126 XFC>I (68044) RADIO: RX 25 I (68054) RADIO: TX 24 finished writing buffer 797ms datatype: DATATYPE_IMG_RAW_2BPP [121108][E][vfs_api.cpp:105] open(): /littlefs/current/780105561C4E8500_121102.pending does not exist, no permits for creation Reading file /current/780105561C4E8500_121102.pending queue item added, first in line queue: total 1 elements ACK>>SDA 780105561C4E8500 TYPE 0x21 I (92914) MAIN: SDA In <ADR 00009498EEA28DCC ADR><ADR 780105561C4E8500 I (109044) RADIO: RX 42 I (109044) RADIO: TX 41 XFC><XFC 780105561C4E8500 I (109064) RADIO: RX 25 I (109064) RADIO: TX 24 upload started 780105561C4E8500_155915.jpg upload finished 780105561C4E8500_155915.jpg jpeg conversion 384x184 finished writing buffer 424ms datatype: DATATYPE_IMG_RAW_1BPP [157677][E][vfs_api.cpp:105] open(): /littlefs/current/780105561C4E8500_157669.pending does not exist, no permits for creation Reading file /current/780105561C4E8500_157669.pending queue item added, first in line queue: total 1 elements ACK>>SDA 780105561C4E8500 TYPE 0x20 I (129524) MAIN: SDA In ADR><ADR 780105561C4E8500 I (150104) RADIO: RX 42 I (150104) RADIO: TX 41 I (150204) RADIO: RX 42 RQB>I (150214) RADIO: TX 27 ACK>I (150314) MAIN: Starting BlkData, 99 ms after request Sendblock complete, 447ms <RQB file /current/780105561C4E8500_157669.pending block 0, len 4096 checksum 18086 I (150714) MAIN: Blockdata fully received in 403 ms, 502 ms after the request Sending parts: XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XX I (150814) RADIO: TX 126 I (150824) RADIO: TX 126 I (150824) RADIO: TX 126 I (150824) RADIO: TX 126 I (150834) RADIO: TX 126 I (150834) RADIO: TX 126 I (150844) RADIO: TX 126 I (150844) RADIO: TX 126 I (150854) RADIO: TX 126 I (150854) RADIO: TX 126 I (150864) RADIO: TX 126 I (150864) RADIO: TX 126 I (150874) RADIO: TX 126 I (150874) RADIO: TX 126 I (150884) RADIO: TX 126 I (150884) RADIO: TX 126 I (150894) RADIO: TX 126 I (150894) RADIO: TX 126 I (150904) RADIO: TX 126 I (150904) RADIO: TX 126 I (150914) RADIO: TX 126 I (150914) RADIO: TX 126 I (150924) RADIO: TX 126 I (150924) RADIO: TX 126 I (150934) RADIO: TX 126 I (150934) RADIO: TX 126 I (150944) RADIO: TX 126 I (150944) RADIO: TX 126 I (150954) RADIO: TX 126 I (150954) RADIO: TX 126 I (150964) RADIO: TX 126 I (150964) RADIO: TX 126 I (150974) RADIO: TX 126 I (150974) RADIO: TX 126 I (150984) RADIO: TX 126 I (150984) RADIO: TX 126 I (150994) RADIO: TX 126 I (150994) RADIO: TX 126 I (151004) RADIO: TX 126 I (151004) RADIO: TX 126 I (151014) RADIO: TX 126 I (151014) RADIO: TX 126 <ADR 00009498EEA28DCC ```
Author
Owner

@skiphansen commented on GitHub (Nov 27, 2024):

Thanks for testing it. I'll do some local testing after Thanksgiving and verify the fix.

<!-- gh-comment-id:2503980890 --> @skiphansen commented on GitHub (Nov 27, 2024): Thanks for testing it. I'll do some local testing after Thanksgiving and verify the fix.
Author
Owner

@skiphansen commented on GitHub (Dec 7, 2024):

@m-meltner I've verified the problem and fix locally. It turns out that this bug was introduced in version 0x001d but the version installed by the WEB GUI is 0x001c which explains why most people are not experiencing this issue. I'll commit a fix shortly.

Thanks for reporting the issue and fix !!

<!-- gh-comment-id:2525250596 --> @skiphansen commented on GitHub (Dec 7, 2024): @m-meltner I've verified the problem and fix locally. It turns out that this bug was introduced in version 0x001d but the version installed by the WEB GUI is 0x001c which explains why most people are not experiencing this issue. I'll commit a fix shortly. Thanks for reporting the issue and fix !!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/OpenEPaperLink#3004