tinyCLUNX33
System on Module with CrosslinkU-NX
|
This app note covers the steps to get the tinyCLUNX33 devkit running for the first time as well as debugging in case you dont get video with the devkit.
Going through each step is not mandatory but only informative, and reaching tinyVision.ai on the chat server or by email is more than welcome.
The tinyCLUNX devkit is shipped with a pre-flashed FPGA bitfile and Zephyr image. To get started, you will need to power on the devkit by connecting the USB cable to your computer and the devkit. Before you do this however, we recommend a few applications to be installed so you can verify proper functionality and debug if needed. For details about the devkit hardware, please see the devkit documentation.
Note: The devkit has 2 USBC connectors, one labelled "DEBUG" and the other labelled "DATA". The "DEBUG" connector is used to program the FPGA and is not required for the initial boot process, it also presents an additional serial port that is hooked up to the RISCV processor in the FPGA for boot as well as the Zephyr shell. The "USER" connector can also be used to power up the devkit and will enumerate as a Superspeed USB device.
Device Manager
by typing devmgmt.msc
in the start menu.USB Tree View
application and connect the devkit to your computer using the "DATA" connector.Open
menu and select Device Settings
option (Alt-D
). Select the tinyCLUNX33
device and click on Open Device
. You should see a video stream from the devkit.<Tab>
key while the image stream is playing, you will see the details of the data including frame rate, size, jitter as well as a frame count. This can be quite useful to verify that the data is being received correctly.To view the second image stream, open another instance of PotPlayer and follow the same steps as above by selecting the other tinyCLUNX33 device.
We do not require any special software on Linux to be able to debug. The following are equivalent programs that are available on Linux:
ffplay
: A video player that can play multiple streams simultaneously.picocom
: A terminal program that can be used to access the Zephyr shell.lsusb
and dmesg
: To view the enumeration process and device descriptors.sudo dmesg -w
to view the kernel messages. This will show you the enumeration process and device descriptors so you can be sure that the devkit is enumerated correctly.ls /dev/video*
to view the video devices. Make a note of the cameras found before the devkit was plugged in.dmesg
output. Type in ls /dev/video*
again to view the video devices. You should see the devkit enumerate as a "tinyCLUNX33" device with one or 2 camera streams and perhaps a serial port as well, depending on the bitfile/zephyr image programmed on the devkit.picocom /dev/ttyUSB0 -b 115200
(substitute the 115200
with the baud rate specified in the release notes) in another terminal.ffplay /dev/video1
(or whatever the new video number is) in another terminal. You should see a video stream from the devkit.ffplay /dev/video3
step to view the other camera stream if applicable.If you dont see any video on the devkit, you can try the following:
DONE
LED is lit.