...
First download the project from git. Requires git >= x.x.x and lfs.
> git lfs install
> git clone https://github.com/slaclab/dev-board-examples.git
...
A pre-compiled image is included in:
...
and load into the evaluation board using vivado.
Compile the project. Requires linux and vivado 2016.4
...
The aes-stream-drivers/include directory will be needed for the next step. Make note of the full directory path.
To compile the test software go to the following directory in the firmware download:
> cd dev-board-examples-v1.0.0/software/standalone/
Edit the following line in the makefile to point to the location of the aes stream driver directory:
AES_INCLUDE := ../../../aes-stream-drivers-1.0.1/include/
Build the test software:
> make
First dump the status register. This will include the firmware version and build string:
> bin/dumpStatus
The output should look like:
FwVersion = 0x00000001
BuildStamp = Kcu105Pgp: Vivado v2016.4, x86_64, Built Wed May 3 13:52:04 PDT 2017 by rherbst
HeartBeat = 0x00000000
Scratchpad = 0x00000000
PRBS Length = 255
In one terminal start the data dump process:
> bin/dumpData
In another terminal start the routine which periodically writes a register to generate a data frame:
> bin/genData
The output of the dumpData terminal show show:
Got Data. Size=1024, error=0
Got Data. Size=1024, error=0
Got Data. Size=1024, error=0
Got Data. Size=1024, error=0
Got Data. Size=1024, error=0
Got Data. Size=1024, error=0
Got Data. Size=1024, error=0
Got Data. Size=1024, error=0
Got Data. Size=1024, error=0
Got Data. Size=1024, error=0
Got Data. Size=1024, error=0
...
Git hub repositories for firmware and drivers:
https://github.com/slaclab/dev-board-examples
https://github.com/slaclab/aes-stream-drivers
Information about the register access protocol used in the CPIX camera and development board:
SLAC Register Protocol (SRP) Version 0