Current debugging

From Wiki at Neela Nurseries
Revision as of 19:30, 10 November 2022 by Ted (talk | contribs) (Examples from Zephyr 3.2.0 of device structure pointer assignments)
Jump to: navigation, search

2022-11-05 SAT

[00:00:00.009,000] <err> IIS2DH: iis2dh@18: device ������rF����� is not ready
[00:00:00.017,000] <err> IIS2DH: Failed to initialize interrupts
*** Booting Zephyr OS build zephyr-v3.2.0  ***
- scoreboard - in setter function test val holds 0,
- scoreboard - setting test val to  5,
- DEV 1028 - symbol ST_IIS2DH got assigned 'DT_N_S_soc_S_peripheral_50000000_S_flexcomm_8a000_S_iis2dh_18'
- kd_thread_iis2dh - Success finding iis2dh device,
- kd_thread_iis2dh - WARNING - sensor device 'iis2dh@18' is not ready!
- kd_thread_iis2dh - INFO:  device name (Zephyr compile time setting) found to be 'iis2dh@18'
- kd_thread_iis2dh - INFO:  boot time Zephyr init result value holds 5,
- DEV 1101 - WHO_AM_I register 0x0F holds 0x33
- DEV 1101 - config register 0x22 holds 0x10
- FIFO control reg holds 0x4f
- updating this value to set watermark at 16 data entries . . .
- write_register() returns status of 0,./tests/subsys/pm/device_power_domains/src/main.c:14:	const struct device *const reg_0 = DEVICE_DT_GET(DT_NODELABEL(test_reg_0));
./tests/subsys/pm/device_power_domains/src/main.c:15:	const struct device *const reg_1 = DEVICE_DT_GET(DT_NODELABEL(test_reg_1));
./tests/subsys/pm/device_power_domains/src/main.c:16:	const struct device *const reg_chained = DEVICE_DT_GET(DT_NODELABEL(test_reg_chained));

- following update, FIFO control reg holds 0x4f
- updating FIFO ctrl register to enable FIFO mode . . .
- reading back vale . . .
- FIFO ctrl register now holds 0x4F.
- kd_thread_iis2dh - unconditionally attempting to configure data ready (drdy-gpios) interrupt,
Waiting for triggers
- whoami register, ODR register, and ctrl reg 5 hold 0x33, 0x57, 0x40
- whoami register, ODR register, and ctrl reg 5 hold 0x33, 0x57, 0x40
- whoami register, ODR register, and ctrl reg 5 hold 0x33, 0x57, 0x40


^ Device Tree syntax and Undocumented DTS


Examples from Zephyr 3.2.0 of device structure pointer assignments:

./tests/subsys/pm/device_power_domains/src/main.c:14:	const struct device *const reg_0 = DEVICE_DT_GET(DT_NODELABEL(test_reg_0));
./tests/subsys/pm/device_power_domains/src/main.c:15:	const struct device *const reg_1 = DEVICE_DT_GET(DT_NODELABEL(test_reg_1));
./tests/subsys/pm/device_power_domains/src/main.c:16:	const struct device *const reg_chained = DEVICE_DT_GET(DT_NODELABEL(test_reg_chained));