Device reset after lte_lc_connect_async

After moving from nrf9160 to nrf9151 on our prototype, our old firmware resets while trying to set up the LTE connection (this still happens when `CONFIG_RESET_ON_FATAL_ERROR=n`) I have tried various methods of debugging this, but I don't get a coredump, error handler or any other crash info (I know that the various crash logging methods work, because I can manually cause a crash on-purpose, and they do log.). I reduced complexity by testing Lesson2_Exercise2 from the cellular fundamentals course, and this reset still occurs.

I am using:

- libmodem 3.1.0-cellular-df667cc7bc9b
- mfw_nrf91x1_2.0.2
- nrf9151 on a custom PCB (WITHOUT external SPI flash)

For the devicetree config, I have modified a copy of nrf9151dk to match our hardware. Could this reset be due to some partitioning fail? What methods can I use to analyse this odd reset.

(RESETREAS register contains 0 after weird reset. I know RESETREAS should be correct, because after flashing firmware initially + automatic reset, it contains RESET reason: 65537 = RESETPIN & SREQ)

Related