[求助] 使用uart_recv_bytes工程报错

suki1213
Posts: 19
Joined: Wed May 29, 2024 3:24 am

[求助] 使用uart_recv_bytes工程报错

Postby suki1213 » Tue Jul 16, 2024 3:32 am

在工程中使用了串口读取函数
len = uart_read_bytes(UART_NUM_1, uart_Recv_buff, sizeof(uart_Recv_buff),100/portTICK_PERIOD_MS);
结果出现的以下日志
2024-07-16 11:27:02 assert failed: tlsf_free heap_tlsf.c:878 (!block_is_free(block) && "block already marked as free")
2024-07-16 11:27:02 Core 0 register dump:
2024-07-16 11:27:02 MEPC : 0x40380614 RA : 0x40386302 SP : 0x3fcd2d80 GP : 0x3fcae640
2024-07-16 11:27:02 0x40380614: panic_abort at D:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/panic.c:452
2024-07-16 11:27:02 0x40386302: __ubsan_include at D:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/ubsan.c:313
日志显示 有内存被释放或者指向了一个空内存
但是我并没有操作任和内存
这种情况要如何解决

Who is online

Users browsing this forum: No registered users and 36 guests