3 commands intended for debug/lab use only, Frs-hd-cho rev. 9 – Nevion FRS-HD-CHO User Manual

Page 35

Advertising
background image

FRS-HD-CHO

Rev. 9


nevion.com | 35

6.3 Commands intended for debug/lab use only

Block Blk#

Commands

example

Response

Control

spi

-

on | off

spi on
spi off

spi off used to isolate the uC from the
SPI lines during programming of the
flash by external programmer. spi on
must be issued in order to re-enable
normal card operation with the uC as
the SPI master.

spir

-

<address>

spir 0x0004

Read a single word (or byte) from a
SPI registers. Addressing is 16b and
most significant nibble determines
which chip. These are the address
ranges:
0x0000 – 0x0fff : Reserved audio
DAC, not present in FRS-HD-CHO
0x1000 – 0x1fff : FPGA
0x2000 – 0x2fff : flash
0x3000 – 0x3fff : deserializer
0x4000 – 0x4fff : serializer
0x5000 – 0x5fff : shift register (for
LEDs)

spiw

-

<address> <data>

spiw 0x0004 0x2c

With the same address ranges as for
spir above, this command allows the
user to modify SPI registers.

thebug -

-

thebug

A collection of debug information that
is presented in a Gyda block-like
format. First line tells which image is
currently loaded. Second line contains
the filename and version of the uC
software, including the AVR
controller it was compiled for. The
third line contains the SW flags in uC,
the number of times the watchdog
timer has kicked in, readout of dip-
switches, input select for deserializer,
SDOn on/off, slew rates, and status for
the video changeovers.
The next two lines contain raster
information from the deserializer and
serializer respectively, while the next
two lines contain sample values for
mlines and VCXO.

Advertising
This manual is related to the following products: