bifravst / cat-tracker-fw

Cat Tracker Firmware
https://bifravst.github.io/
3 stars 3 forks source link

0.31.0 crashes on Thingy:91 #36

Closed coderbyheart closed 4 years ago

coderbyheart commented 4 years ago
[2019-11-14 11:32:52] ***** Booting Zephyr OS build v2.0.99-ncs1-rc1-11-g9be97c63368a *****
[2019-11-14 11:32:52] [00:00:03.598,327] <err> at_cmd: Failed to open AT socket (err:-12)
[2019-11-14 11:32:52] [00:00:03.605,438] <err> board_nonsecure: AT socket could not be opened
[2019-11-14 11:32:52] [00:00:03.612,854] <err> board_nonsecure: pca20035_magpio_configure failed with error: -14
[2019-11-14 11:32:52] The cat tracker has started
[2019-11-14 11:32:52] Version: v0.31.0
[2019-11-14 11:32:52] [00:00:03.626,129] <err> at_cmd: Failed to send AT command (err:1)
[2019-11-14 11:32:52] [00:00:03.633,148] <err> bifravst_cloud: Could not get device IMEI, error: -1
[2019-11-14 11:32:52] [00:00:03.641,082] <err> bifravst_cloud: topics_populate, error: -1
[2019-11-14 11:32:52] Cloud backend could not be initialized, error: -1
[2019-11-14 11:32:53]  ***** Booting Zephyr OS build v2.0.99-ncs1-rc1-11-g9be97c63368a *****
[2019-11-14 11:32:53] Flash region              Domain          Permissions
[2019-11-14 11:32:53] 00 0x00000 0x08000        Secure          rwxl
[2019-11-14 11:32:53] 01 0x08000 0x10000        Secure          rwxl
[2019-11-14 11:32:53] 02 0x10000 0x18000        Secure          rwxl
[2019-11-14 11:32:53] 03 0x18000 0x20000        Non-Secure      rwxl
[2019-11-14 11:32:53] 04 0x20000 0x28000        Non-Secure      rwxl
[2019-11-14 11:32:53] 05 0x28000 0x30000        Non-Secure      rwxl
[2019-11-14 11:32:53] 06 0x30000 0x38000        Non-Secure      rwxl
[2019-11-14 11:32:53] 07 0x38000 0x40000        Non-Secure      rwxl
[2019-11-14 11:32:53] 08 0x40000 0x48000        Non-Secure      rwxl
[2019-11-14 11:32:53] 09 0x48000 0x50000        Non-Secure      rwxl
[2019-11-14 11:32:53] 10 0x50000 0x58000        Non-Secure      rwxl
[2019-11-14 11:32:53] 11 0x58000 0x60000        Non-Secure      rwxl
[2019-11-14 11:32:53] 12 0x60000 0x68000        Non-Secure      rwxl
[2019-11-14 11:32:53] 13 0x68000 0x70000        Non-Secure      rwxl
[2019-11-14 11:32:53] 14 0x70000 0x78000        Non-Secure      rwxl
[2019-11-14 11:32:53] 15 0x78000 0x80000        Non-Secure      rwxl
[2019-11-14 11:32:53] 16 0x80000 0x88000        Non-Secure      rwxl
[2019-11-14 11:32:53] 17 0x88000 0x90000        Non-Secure      rwxl
[2019-11-14 11:32:53] 18 0x90000 0x98000        Non-Secure      rwxl
[2019-11-14 11:32:53] 19 0x98000 0xa0000        Non-Secure      rwxl
[2019-11-14 11:32:53] 20 0xa0000 0xa8000        Non-Secure      rwxl
[2019-11-14 11:32:53] 21 0xa8000 0xb0000        Non-Secure      rwxl
[2019-11-14 11:32:53] 22 0xb0000 0xb8000        Non-Secure      rwxl
[2019-11-14 11:32:53] 23 0xb8000 0xc0000        Non-Secure      rwxl
[2019-11-14 11:32:53] 24 0xc0000 0xc8000        Non-Secure      rwxl
[2019-11-14 11:32:53] 25 0xc8000 0xd0000        Non-Secure      rwxl
[2019-11-14 11:32:53] 26 0xd0000 0xd8000        Non-Secure      rwxl
[2019-11-14 11:32:53] 27 0xd8000 0xe0000        Non-Secure      rwxl
[2019-11-14 11:32:53] 28 0xe0000 0xe8000        Non-Secure      rwxl
[2019-11-14 11:32:53] 29 0xe8000 0xf0000        Non-Secure      rwxl
[2019-11-14 11:32:53] 30 0xf0000 0xf8000        Non-Secure      rwxl
[2019-11-14 11:32:53] 31 0xf8000 0x100000       Non-Secure      rwxl
[2019-11-14 11:32:53] Non-secure callable region 0 placed in flash region 2 with size 32.
[2019-11-14 11:32:53] 
[2019-11-14 11:32:53] 
[2019-11-14 11:32:53] SRAM region               Domain          Permissions
[2019-11-14 11:32:53] 00 0x00000 0x02000        Secure          rwxl
[2019-11-14 11:32:53] 01 0x02000 0x04000        Secure          rwxl
[2019-11-14 11:32:53] 02 0x04000 0x06000        Secure          rwxl
[2019-11-14 11:32:53] 03 0x06000 0x08000        Secure          rwxl
[2019-11-14 11:32:53] 04 0x08000 0x0a000        Secure          rwxl
[2019-11-14 11:32:53] 05 0x0a000 0x0c000        Secure          rwxl
[2019-11-14 11:32:53] 06 0x0c000 0x0e000        Secure          rwxl
[2019-11-14 11:32:53] 07 0x0e000 0x10000        Secure          rwxl
[2019-11-14 11:32:53] 08 0x10000 0x12000        Non-Secure      rwxl
[2019-11-14 11:32:53] 09 0x12000 0x14000        Non-Secure      rwxl
[2019-11-14 11:32:53] 10 0x14000 0x16000        Non-Secure      rwxl
[2019-11-14 11:32:53] 11 0x16000 0x18000        Non-Secure      rwxl
[2019-11-14 11:32:53] 12 0x18000 0x1a000        Non-Secure      rwxl
[2019-11-14 11:32:53] 13 0x1a000 0x1c000        Non-Secure      rwxl
[2019-11-14 11:32:53] 14 0x1c000 0x1e000        Non-Secure      rwxl
[2019-11-14 11:32:53] 15 0x1e000 0x20000        Non-Secure      rwxl
[2019-11-14 11:32:53] 16 0x20000 0x22000        Non-Secure      rwxl
[2019-11-14 11:32:53] 17 0x22000 0x24000        Non-Secure      rwxl
[2019-11-14 11:32:53] 18 0x24000 0x26000        Non-Secure      rwxl
[2019-11-14 11:32:53] 19 0x26000 0x28000        Non-Secure      rwxl
[2019-11-14 11:32:53] 20 0x28000 0x2a000        Non-Secure      rwxl
[2019-11-14 11:32:53] 21 0x2a000 0x2c000        Non-Secure      rwxl
[2019-11-14 11:32:53] 22 0x2c000 0x2e000        Non-Secure      rwxl
[2019-11-14 11:32:53] 23 0x2e000 0x30000        Non-Secure      rwxl
[2019-11-14 11:32:53] 24 0x30000 0x32000        Non-Secure      rwxl
[2019-11-14 11:32:53] 25 0x32000 0x34000        Non-Secure      rwxl
[2019-11-14 11:32:53] 26 0x34000 0x36000        Non-Secure      rwxl
[2019-11-14 11:32:53] 27 0x36000 0x38000        Non-Secure      rwxl
[2019-11-14 11:32:53] 28 0x38000 0x3a000        Non-Secure      rwxl
[2019-11-14 11:32:53] 29 0x3a000 0x3c000        Non-Secure      rwxl
[2019-11-14 11:32:53] 30 0x3c000 0x3e000        Non-Secure      rwxl
[2019-11-14 11:32:53] 31 0x3e000 0x40000        Non-Secure      rwxl
[2019-11-14 11:32:53] 
[2019-11-14 11:32:53] Peripheral                Domain          Status
[2019-11-14 11:32:53] 00 NRF_P0               Non-Secure        OK
[2019-11-14 11:32:53] 01 NRF_CLOCK            Non-Secure        OK
[2019-11-14 11:32:53] 02 NRF_RTC1             Non-Secure        OK
[2019-11-14 11:32:53] 03 NRF_NVMC             Non-Secure        OK
[2019-11-14 11:32:53] 04 NRF_UARTE1           Non-Secure        OK
[2019-11-14 11:32:53] 05 NRF_UARTE2           Secure            SKIP
[2019-11-14 11:32:53] 06 NRF_TWIM2            Non-Secure        OK
[2019-11-14 11:32:53] 07 NRF_SPIM3            Non-Secure        OK
[2019-11-14 11:32:53] 08 NRF_TIMER0           Non-Secure        OK
[2019-11-14 11:32:53] 09 NRF_TIMER1           Non-Secure        OK
[2019-11-14 11:32:53] 10 NRF_TIMER2           Non-Secure        OK
[2019-11-14 11:32:53] 11 NRF_SAADC            Non-Secure        OK
[2019-11-14 11:32:53] 12 NRF_PWM0             Non-Secure        OK
[2019-11-14 11:32:53] 13 NRF_PWM1             Non-Secure        OK
[2019-11-14 11:32:53] 14 NRF_PWM2             Non-Secure        OK
[2019-11-14 11:32:53] 15 NRF_PWM3             Non-Secure        OK
[2019-11-14 11:32:53] 16 NRF_WDT              Secure            SKIP
[2019-11-14 11:32:53] 17 NRF_IPC              Non-Secure        OK
[2019-11-14 11:32:53] 18 NRF_VMC              Non-Secure        OK
[2019-11-14 11:32:53] 19 NRF_FPU              Non-Secure        OK
[2019-11-14 11:32:53] 20 NRF_EGU1             Non-Secure        OK
[2019-11-14 11:32:53] 21 NRF_EGU2             Non-Secure        OK
[2019-11-14 11:32:53] 22 NRF_DPPIC            Non-Secure        OK
[2019-11-14 11:32:53] 23 NRF_GPIOTE1          Non-Secure        OK
[2019-11-14 11:32:53] 24 NRF_REGULATORS       Secure            SKIP
[2019-11-14 11:32:53] 
[2019-11-14 11:32:53] SPM: NS image at 0x18200
[2019-11-14 11:32:53] SPM: NS MSP at 0x2002fb68
[2019-11-14 11:32:53] SPM: NS reset vector at 0x1f011
[2019-11-14 11:32:53] SPM: prepare to jump to Non-Secure image.
coderbyheart commented 4 years ago

It does not crash on the DK. I used the right firmware builds...

coderbyheart commented 4 years ago

I tried to downgrade to a working version, and this now has the same issues. So this seems to be a hardware issue.