SoftKinect ds325 (aka Creative Senz3D) and Raspberry Pi? - arm

Is there a way to get a depth stream from ds325 on devices such as Raspberry pi?
What if to use Intel Galileo board instead?

If you have a x86 or x64 board, you can use the softkinetic driver and sdk for linux right away.
Raspberry Pi is Arm architecture, can be done if you compile yourself.
http://www.hirotakaster.com/weblog/openni2-ds325-driver-for-android-and-arm-linuxraspberry-pi/

Related

Programming external QSPI flash Raspberry Pi Pico

I want to reprogram the external flash of a raspberry Pico via SWD line.
This feature must be implemented in a different microcontroller, not from a Linux computer so the OpenOCD library cannot be used.
I already wrote a C library that is able to read and write in RAM and in core registers via SWD and I'm able to put the Cortex-M0+ into halt state.
I read many tutorials and documentation and those that are useful are:
http://markding.github.io/swd_programing_sram/
https://www.silabs.com/documents/public/application-notes/an0062.pdf
https://community.silabs.com/s/article/how-to-program-internal-sram-over-swd?language=en_US
but unfortunately they aren't clear enough.
Can you explain the sequence of commands that I should send to RP2040 to correctly upload the new firmware?
Thanks for your help!

Debug stm32 nucleo using gdb

how can I debug STM32 board using gdb without stlink or any other device.
actually I am trying to design an equipment which can replace the STMC device, since ST was stopped making this devices
You cannot debug a bare metal system without a debugger. STM32 support JTAG, SWD debuggers. You still can program it without a programmer/debugger (using the integrated bootloader if present in your model) and put your debug string on an uart, but no conventional debuggin, so no gdb.

is it possible to execute OpenCL code on ARM CPU (Cortex-a7) using the Mali OpenCL SDK?

Mali OpenCL SDK allows executing opencl code on the Mali GPU.
Is it possible to execute OpenCL code on ARM CPU (Cortex-a7) using the Mali OpenCL SDK?
Not at present - ARM have only publicly released drivers that support OpenCL on Mali GPUs. However, a couple of months ago they passed conformance for OpenCL running on an ARM CPU, so one might expect that this will be possible in the future:
(from the Khronos conformant products page)
ARM Limited 2014-06-13 OpenCL_1_1
Linux 3.9.0 with ARM drivers on v7 CPU Compute Device Type: CL_DEVICE_TYPE_CPU
Compute Device Name: ARM Cortex-A15 NEON
Compute Device Version: OpenCL 1.1
Compute Device Driver Version: 1.1
Another option for running OpenCL on ARM CPUs is to use pocl, an open-source project.

Anyone had any success developing CUDA programs for NVIDIA shield?

Has anyone managed to get a CUDA program to work on the NVidia shield? In particular getting the wonderful NVidia profiling tools to work?
Nvidia shield SoC is based on Tegra 4. Tegra K1 is the first Tegra processor you can write CUDA programs for. So you can expect it's not possible to have CUDA programs working on (current) Nvidia shield.

Setting up i2c on Raspberry Pi for C?

I'm setting up i2c for an Application written in C, but I've not been able to find any how-to's for it. I'm running a model-b Raspberry Pi on Debian 6 with LXDE. Can anybody show me how to set up i2c so I can use it in a C Application?
Thanks for any help in advance
I've been looking for similar information and I found a couple of i2c tutorials, one in adafruit tutorials and the other in Guy Carpenter's Gaugette blog. I'm not yet at the stage of actually using it so I can't vouch for their completeness but they seem to be a good start.
Configuring Your Pi for I2C
Analog Gauges Using I²C on the Raspberry Pi
I2C Installation for Raspberry Pi. I think this is only necessary if not using AdaFruit's Occidentalis release which has it included.
try this :
C GPIO Interface library for the Raspberry Pi
It offers API for handling GPIO port on Raspberry, including dedicated functions for I2C interface. I've been using this to read measurements from temperature sensor and it works perfect (STCN75 connected to RPi rev. B).
You can find examples and instructions on author's website. Project is maintained and updated frequently on public Git repo.

Resources