E (62201) bus_lock: spi_bus_lock_acquire_end(701): Cannot release a lock that hasn't been acquired. #3

Open
opened 2021-11-17 21:30:10 -05:00 by morgan · 1 comment
Owner
E (62201) bus_lock: spi_bus_lock_acquire_end(701): Cannot release a lock that hasn't been acquired.
assertion "ret == ESP_OK" failed: file "/home/morgan/devel/esp-idf/components/driver/spi_master.c", line 890, function: spi_device_release_bus

abort() was called at PC 0x400d8c13 on core 0
0x400d8c13: __assert_func at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/stdlib/assert.c:62 (discriminator 8)


Backtrace:0x40084e43:0x3ffb4770 0x400854ed:0x3ffb4790 0x40088b0e:0x3ffb47b0 0x400d8c13:0x3ffb4820 0x400843db:0x3ffb4850 0x400d34af:0x3ffb4870 0x400d3269:0x3ffb4890 0x400d1cce:0x3ffb48b0 0x400854f5:0x3ffb48e0
0x40084e43: panic_abort at /home/morgan/devel/esp-idf/components/esp_system/panic.c:330

0x400854ed: esp_system_abort at /home/morgan/devel/esp-idf/components/esp_system/system_api.c:106

0x40088b0e: abort at /home/morgan/devel/esp-idf/components/newlib/abort.c:46

0x400d8c13: __assert_func at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/stdlib/assert.c:62 (discriminator 8)

0x400843db: spi_device_release_bus at /home/morgan/devel/esp-idf/components/driver/spi_master.c:890 (discriminator 1)

0x400d34af: lora32_send at /home/morgan/devel/lornet-repeater/components/esp32-lora/main/esp32-lora.c:135

0x400d3269: app_main at /home/morgan/devel/lornet-repeater/main/main.c:112 (discriminator 1)

0x400d1cce: main_task at /home/morgan/devel/esp-idf/components/esp32/cpu_start.c:609 (discriminator 2)

0x400854f5: vPortTaskWrapper at /home/morgan/devel/esp-idf/components/freertos/xtensa/port.c:143
``` E (62201) bus_lock: spi_bus_lock_acquire_end(701): Cannot release a lock that hasn't been acquired. assertion "ret == ESP_OK" failed: file "/home/morgan/devel/esp-idf/components/driver/spi_master.c", line 890, function: spi_device_release_bus abort() was called at PC 0x400d8c13 on core 0 0x400d8c13: __assert_func at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/stdlib/assert.c:62 (discriminator 8) Backtrace:0x40084e43:0x3ffb4770 0x400854ed:0x3ffb4790 0x40088b0e:0x3ffb47b0 0x400d8c13:0x3ffb4820 0x400843db:0x3ffb4850 0x400d34af:0x3ffb4870 0x400d3269:0x3ffb4890 0x400d1cce:0x3ffb48b0 0x400854f5:0x3ffb48e0 0x40084e43: panic_abort at /home/morgan/devel/esp-idf/components/esp_system/panic.c:330 0x400854ed: esp_system_abort at /home/morgan/devel/esp-idf/components/esp_system/system_api.c:106 0x40088b0e: abort at /home/morgan/devel/esp-idf/components/newlib/abort.c:46 0x400d8c13: __assert_func at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/stdlib/assert.c:62 (discriminator 8) 0x400843db: spi_device_release_bus at /home/morgan/devel/esp-idf/components/driver/spi_master.c:890 (discriminator 1) 0x400d34af: lora32_send at /home/morgan/devel/lornet-repeater/components/esp32-lora/main/esp32-lora.c:135 0x400d3269: app_main at /home/morgan/devel/lornet-repeater/main/main.c:112 (discriminator 1) 0x400d1cce: main_task at /home/morgan/devel/esp-idf/components/esp32/cpu_start.c:609 (discriminator 2) 0x400854f5: vPortTaskWrapper at /home/morgan/devel/esp-idf/components/freertos/xtensa/port.c:143 ```
Author
Owner

Can be trigger by triggering receive just before a send

Can be trigger by triggering receive just before a send
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: morgan/esp32-lora#3
No description provided.