3 commands intended for debug/lab use only, Frs-hd-xmux4 rev. c – Nevion FRS-HD-XMUX4 User Manual

Page 31

Advertising
background image

FRS-HD-XMUX4

Rev. C


nevion.com | 31

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 : AES dir and SRC

0x1000

– 0x1fff : FPGA

0x2000

– 0x2fff : flash

0x3000

– 0x3fff : deserializer

0x4000

– 0x4fff : serializer

0x5000

– 0x5fff : shift register for

LEDs
0x6000

– 0x6fff : F-RAM

0x7000

– 0x7fff : Rotary switches

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 Multicon 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