MCU:
死翘翘了
主控:
[ 29.783959] BUG: sleeping function called from invalid context at kernel/rwsem.c:20
[ 29.791935] in_atomic(): 1, irqs_disabled(): 0, pid: 115, name: xxxxxx
[ 29.799732] BUG: scheduling while atomic: xxxxxx/115/0x00000101
[ 29.828763] BUG: scheduling while atomic: xxxxxx/115/0x00000101
[ 29.858248] BUG: scheduling while atomic: xxxxxx/115/0x00000101
[ 29.879860] BUG: scheduling while atomic: xxxxxx/115/0x00000101
[ 29.900666] BUG: scheduling while atomic: xxxxxx/115/0x00000101
[ 29.931765] BUG: scheduling while atomic: xxxxxx/115/0x00000101
[ 29.939093] BUG: scheduling while atomic: xxxxxx/115/0x00000101
[ 29.956681] BUG: scheduling while atomic: xxxxxx/115/0x00000101
[ 29.979849] BUG: scheduling while atomic: xxxxxx/115/0x00000101
[ 29.999891] BUG: scheduling while atomic: xxxxxx/115/0x00000101
[ 30.031213] Restarting system.
i2c_write:103 write data error:No such device or address
更换MCU芯片和晶振
本文记录了一次MCU(微控制器单元)遇到的严重错误,导致系统不断报告BUG并最终重启。错误信息显示在原子操作上下文中进行了调度,这是不被允许的,可能由软件错误引起。此外,还提到了I2C写入失败的问题,可能是由于设备或地址不存在。为解决这些问题,考虑更换MCU芯片和晶振。

275

被折叠的 条评论
为什么被折叠?



