Hello,
So I had a project for Sparkfun nRF9160 Thing plus on toolchain/SDK v2.5.2. Today I noticed that v2.6.0 is out and decided to upgrade. I used basic cellular udp sample to get the lowest Thing Plus baseline current and noticed something strange. So I needed to put any used peripheral in suspended state. Since there is an onboard accelerometer which needed some additional configuring in .overlay file naturally in main() I tried to suspend the i2c the device used. When I enabled `CONFIG_I2C=y` in .conf file project built just fine but after programming I checked the current profile which had strange pattern so I enabled serial output and noticed that application constantly resets itself.
The output it gives:
E: ***** BUS FAULT *****
E: Precise data bus error
E: BFAR Address: 0x0
E: r0/a1: 0x0001b120 r1/a2: 0x00d00000 r2/a3: 0x00000000
E: r3/a4: 0x0000000c r12/ip: 0x00000001 r14/lr: 0x000181b5
E: xpsr: 0x81000000
E: Faulting instruction address (r15/pc): 0x0000bfdc
E: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0
E: Current thread: 0x2000ca18 (unknown)
E: Resetting system
So I just wanted to point out, that there is something broken in v2.6.0. I reverted back to 2.5.2 and everything runs smoothly.
To replicate this issue:
1) Upgrade toolchain and SDK version to 2.6.0 in VS code;
2) Create a new application based on cellular UDP sample;
3) Enable serial output in `proj.conf` and also arr "CONFIG_I2C=y";
4) After building and programming, you should get the same output
Here is the generated support information:
Hope this helps you to solve the issue!
Regards,
Andris