Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntegerDivideByZero导致的系统崩溃重启问题 #34

Open
Raphtalia-chann opened this issue Oct 22, 2024 · 0 comments
Open

IntegerDivideByZero导致的系统崩溃重启问题 #34

Raphtalia-chann opened this issue Oct 22, 2024 · 0 comments

Comments

@Raphtalia-chann
Copy link

稚晖君您好!想请教一下在切换页面时经常会出现IMU错误:
[E][esp32-hal-i2c.c:1434] i2cCheckLineState(): Bus Invalid State, TwoWire() Can't init sda=1, scl=1
检查焊接应该没有问题,停在IMU或其他任何页面不动又不会报错,但出现这个报错一般伴随着
Guru Meditation Error: Core 0 panic'ed (IntegerDivideByZero). Exception was unhandled.
直接导致系统崩溃重启,使用的是MPU6050,以下是完整错误日志:

[E][esp32-hal-i2c.c:1434] i2cCheckLineState(): Bus Invalid State, TwoWire() Can't init sda=1, scl=1
[E][esp32-hal-i2c.c:1434] i2cCheckLineState(): Bus Invalid State, TwoWire() Can't init sda=1, scl=1
[E][esp32-hal-i2c.c:1434] i2cCheckLineState(): Bus Invalid State, TwoWire() Can't init sda=1, scl=1
Guru Meditation Error: Core  0 panic'ed (IntegerDivideByZero). Exception was unhandled.
Core 0 register dump:
PC      : 0x400d3140  PS      : 0x00060130  A0      : 0x800d2d1b  A1      : 0x3fffbbb0  
A2      : 0x3ffdf7b8  A3      : 0x3ffdbd2c  A4      : 0x000000ed  A5      : 0x0000006e  
A6      : 0x00000000  A7      : 0x00000040  A8      : 0x00003fff  A9      : 0xffff5884  
A10     : 0x00000000  A11     : 0xfff3f475  A12     : 0xfffff3c0  A13     : 0x3f40054c  
A14     : 0x3ffdf844  A15     : 0x00000008  SAR     : 0x0000000a  EXCCAUSE: 0x00000006  
EXCVADDR: 0x00000000  LBEG    : 0x400d30c0  LEND    : 0x400d3152  LCOUNT  : 0x00000001  

ELF file SHA256: 0000000000000000

Backtrace: 0x400d3140:0x3fffbbb0 0x400d2d18:0x3fffbc90 0x400d2d25:0x3fffbcb0 0x400e8646:0x3fffbcd0 0x400d78e7:0x3fffbd00 0x4009099a:0x3fffbd20

Rebooting...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant