Other Parts Discussed in Thread: AM625,
I am facing a Linux driver crash issue with the CC33xx. The Linux kernel version used is 6.1.119-ti, and the CC33xx driver version is 1.0.2.10. What could be the reason for this error? Normally, the CC33xx works fine, I can connect and send data using both Wi-Fi and BLE, but this error occurs sometimes.
407.123101] wlcore: down
[ 407.646522] wlcore: down
[ 2059.639538] wlcore: ERROR FW is stuck, triggering recovery
[ 2059.654522] wlcore: Recovery work
[ 2067.853516] ------------[ cut here ]------------
[ 2067.858162] WARNING: CPU: 0 PID: 5805 at drivers/net/wireless/ti/cc33xx/sdio.c:95 cc33xx_sdio_raw_read+0xec/0x170 [cc33xx_sdio]
[ 2067.869651] Modules linked in: cc33xx cc33xx_sdio btti_uart
[ 2067.875234] CPU: 0 PID: 5805 Comm: kworker/u2:1 Not tainted 6.1.119-ti-ge4e8b16e66f5 #1
[ 2067.883226] Hardware name: Texas Instruments AM625 SK (DT)
[ 2067.888704] Workqueue: phy0 cc33xx_recovery_work [cc33xx]
[ 2067.894154] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 2067.901107] pc : cc33xx_sdio_raw_read+0xec/0x170 [cc33xx_sdio]
[ 2067.906943] lr : cc33xx_sdio_raw_read+0x88/0x170 [cc33xx_sdio]
[ 2067.912776] sp : ffff80000a66bc70
[ 2067.916080] x29: ffff80000a66bc80 x28: 0000000000000000 x27: 0000000000000000
[ 2067.923212] x26: ffff80000917ab60 x25: ffff800000b996b0 x24: 0000000000000000
[ 2067.930344] x23: 0000000000001388 x22: ffff000006a2d410 x21: ffff000005576000
[ 2067.937476] x20: 000000000000bff8 x19: ffff000006a21400 x18: 0000000000000000
[ 2067.944609] x17: ffff800036e78000 x16: ffff800008000000 x15: 0000abf652d35634
[ 2067.951740] x14: 02bcf2dc639a0de4 x13: 0000000000000141 x12: 0000000000000001
[ 2067.958871] x11: 0000000000000141 x10: 00000000000009b0 x9 : ffff80000a66b890
[ 2067.966002] x8 : ffff00000031edd0 x7 : 0000000000000000 x6 : 00000ca0731885a5
[ 2067.973135] x5 : 03ffffffffffffff x4 : ffff000000291dc0 x3 : 0000000000000000
[ 2067.980266] x2 : 0000000000000001 x1 : ffff000000291c10 x0 : 00000000ffffff92
[ 2067.987397] Call trace:
[ 2067.989837] cc33xx_sdio_raw_read+0xec/0x170 [cc33xx_sdio]
[ 2067.995326] wlcore_raw_read+0x4c/0xc0 [cc33xx]
[ 2067.999889] read_control_message+0x44/0xf0 [cc33xx]
[ 2068.004884] general_error_event_get_log.constprop.0.isra.0+0x70/0x138 [cc33xx]
[ 2068.012219] cc33xx_recovery_work+0xbc/0x24c [cc33xx]
[ 2068.017300] process_one_work+0x1cc/0x320
[ 2068.021317] worker_thread+0x14c/0x450
[ 2068.025066] kthread+0x10c/0x110
[ 2068.028294] ret_from_fork+0x10/0x20
[ 2068.031868] ---[ end trace 0000000000000000 ]---
[ 2068.487075] cc33xx_sdio mmc1:0001:2: sdio read failed (-110)
[ 2071.306971] ieee80211 phy0: Hardware restart was requested
[ 2071.322459] wlcore: Recovery complete
device tree node for the cc33 is added below