when setting the fetching code this type of output is coming i.e board is resetting continuously and also Iam taken the lsm6dsv16x drivers from browser
when setting the fetching code this type of output is coming i.e board is resetting continuously and also Iam taken the lsm6dsv16x drivers from browser
Hi,
Try to set CONFIG_LOG=y.
How does the logs look then?
Regards,
Sigurd Hellesvik
Hi Nordic,
I added CONFIG_LOG=y this line in prj.conf but I am getting this type of raw data when setting the sampling frequency code.
.
Try to run addr2line.
See https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/topic/build-errors-and-fatal-errors/
Maybe some other stuff from that guide can also be useful here.
Let me know what is returned, and I will help you analyze it.
I am using VS code with nRF connect SDK v2.2.0, toolchain v2.2.0 & cmake v3.20.0.
I ran % bin/symquery.exe -e build/zephyr/zephyr.elf 0x000045a2 this command from nRF connect terminal but following error has shown
ForEach-Object : Cannot bind parameter 'End'. Cannot convert the "build/zephyr/zephyr.elf" value of type "System.String" to type
"System.Management.Automation.ScriptBlock".
At line:1 char:23
+ % bin/symquery.exe -e build/zephyr/zephyr.elf 0x000045a2
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [ForEach-Object], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.ForEachObjectCommand
First of all, I need to understand whether lsm6dsl sample code works with the lsm6dsv16x(actual sensor connected to nRF5340). Atleast Iam expecting the following code should pass
Virat said:Is there any sample code for lsm6dsv16x which I can ran directly?
The sample is not for our boards, but there is https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/shields/x_nucleo_iks4a1/sensorhub1/README.html.
However, the Zephyr drivers should be used similarly.
Can you take a look at the setup in this sample and see if it matches yours?
Hi Edvin,
Now I am Using laser(VL53LOx),IMU sensor(LSM6DSV16x),ultrasonic sensor(CH101) but individually IMU sensor is working fine but the issue is at the time of configue the both sensors imu sensor is not initialize.So,please send how to configure the both sensors in devicetree at a time.
Hi Sigurd is out of office so I will take over the case
Please upload your devicetree, prjf.conf and error log.
If you have not please enable config_log so we can get some information. I would also suggest that you set CONFIG_RESET_ON_FATAL_ERROR=n so the device do not reboot on fatal error
Regards
Runar
Hi Sigurd is out of office so I will take over the case
Please upload your devicetree, prjf.conf and error log.
If you have not please enable config_log so we can get some information. I would also suggest that you set CONFIG_RESET_ON_FATAL_ERROR=n so the device do not reboot on fatal error
Regards
Runar