ArduCAM / Arducam_tof_camera

46 stars 18 forks source link

Raspberry Pi Zero W support, suspected problem with armv6 ISA #74

Open Alvarezzccc opened 1 month ago

Alvarezzccc commented 1 month ago

Hello,

I am working on a project for low power consumption using a Raspberry Pi Zero W with ARMv6 architecture. I suspect that some error occurred after I installed the newest versions of the "arducam-config-parser-dev", "arducam-usb-sdk-dev", and "arducam-tof-sdk-dev" packages. I am always getting an "Illegal Instruction" error message when executing my Arducam ToF C++ program. When debugging with the gdb tool, I saw that the CPU halts at the instruction "cbnz r2, 0xb5f609ec" (compare and branch if non-zero), which I guess is more complex than what this ARMv6 ISA is supposed to handle. This instruction is in the /lib/libarducam_config_parser.so library, which comes from one of the previously mentioned packages. These versions are the ones I am currently having issues with respectively:

` arducam-tof-sdk-dev: Candidate: 0.1.3

arducam-config-parser-dev: Candidate: 0.1.2

arducam-usb-sdk-dev: Candidate: 2.0.1 `

Do you know a way to be able to access previous versions of these libraries? I was not able to access previous ones in the link proportionated by apt-cache.

imagen