Hello!
I am completely new to embedded development and i am becoming quite desperate.
I have ordered a custom board which has an nrf52840 chip on it and a vl53l1cxvofy1 ToF sensor. The big plan is simply to read the data from the sensor in a loop and send it to my phone over ble. I managed to set up an environment and to flash a simple printk() loop that i could read the output from on the rtt console. Now i wanted to try to access the sensor data so i created an overlay file which look like this:
SEGGER J-Link (unknown) V2.0, SN=802005688
Process: JLink.exe
[00:00:00.249,145] <dbg> os: setup_thread_stack: stack 0x20002e40 for thread 0x20000c40: obj_size=1088 buf_start=0x20002e80 buf_size 1024 stack_ptr=0x20003280
--- 13 messages dropped ---
[00:00:00.249,664] <dbg> VL53L1X: vl53l1x_initialize: [VL53L1X] Initializing
[00:00:00.249,755] <dbg> mpu: mpu_configure_region: Configure MPU region at index 0x2
[00:00:00.249,755] <dbg> mpu: region_allocate_and_init: Program MPU region at index 0x2
[00:00:00.249,786] <dbg> mpu: region_init: [2] 0x20001c40 0x150b000a
[00:00:00.250,061] <dbg> mpu: mpu_configure_region: Configure MPU region at index 0x2
[00:00:00.250,091] <dbg> mpu: region_allocate_and_init: Program MPU region at index 0x2
[00:00:00.250,091] <dbg> mpu: region_init: [2] 0x20002e40 0x150b000a
[00:00:00.250,183] <dbg> mpu: mpu_configure_region: Configure MPU region at index 0x2
[00:00:00.250,213] <dbg> mpu: region_allocate_and_init: Program MPU region at index 0x2
[00:00:00.250,213] <dbg> mpu: region_init: [2] 0x20001c40 0x150b000a
[00:00:00.251,312] <dbg> mpu: mpu_configure_region: Configure MPU region at index 0x2
[00:00:00.251,342] <dbg> mpu: region_allocate_and_init: Program MPU region at index 0x2
[00:00:00.251,342] <dbg> mpu: region_init: [2] 0x20002e40 0x150b000a
[00:00:00.251,464] <dbg> mpu: mpu_configure_region: Configure MPU region at index 0x2
[00:00:00.251,495] <dbg> mpu: region_allocate_and_init: Program MPU region at index 0x2
[00:00:00.251,525] <dbg> mpu: region_init: [2] 0x20001c40 0x150b000a
[00:00:00.251,708] <dbg> mpu: mpu_configure_region: Configure MPU region at index 0x2
[00:00:00.251,739] <dbg> mpu: region_allocate_and_init: Program MPU region at index 0x2
[00:00:00.251,770] <dbg> mpu: region_init: [2] 0x20002e40 0x150b000a
[00:00:00.251,770] <err> VL53L1X: Failed to read
[00:00:00.251,831] <err> VL53L1X: [VL53L1X] VL53L1X_DataInit return error (-15)
*** Booting nRF Connect SDK v3.1.1-e2a97fe2578a ***
*** Using Zephyr OS v4.1.99-ff8f0c579eeb ***
[00:00:00.251,983] <dbg> os: k_sched_unlock: scheduler unlocked (0x20000c40:0)
VL53L1X device not ready