Bonito Technical Manual
V2.4.0
73
Appendix
Conventions
-----------
<p8> : 8 bits long parameter value (1 to 2 Hex characters)
<p16> : 16 bits long parameter value (1 to 4 Hex characters)
<p32> : 32 bits long parameter value (1 to 8 Hex characters)
<aa**_bcbb> : 8 bits long parameter (resulting in two hex chars)
consisting of bit fields. The function of each bit field is
described, like this:
"aa" : Lower case letters label the bits of interest.
"**" : Reserved, should be written as "0", read undefined.
"_" : Separation character for readability.
"bcbb" : Bit fields may have any length and can be split up.
(*) : Some commands are only accessible in a special password protected
service mode.
Command and Parameter Overview - Service Mode
---------------------------------------------
a=<p16> : Set the serial number A and save it to flash. In user mode
read access to this value is available. (*)
b=<p16> : Set the product variant code and save it to flash. In user
mode read access to this value is available. (*)
c=<p8> : Configure the FPGA with data from the specified file
number. (*)
d=<p8> : Delete the file with the specified file number. (*)
e=<p8> : Erase the flash. (*)
e=0 : Erase used blocks only.
e=FF : Erase all blocks.
Other Values: Reserved / undefined.
f=<p16> : Write a data byte to an FPGA register. (*)
High Byte : Data value to write, 0 if omitted.
Low Byte : Address of the register.
g=<p16> : Read data bytes from FPGA registers at specified
address. (*)
High Byte : Number of sequential bytes to read. Set the
most significant bit in order to reverse the
byte output order. If high byte is omitted, a
default count value of 1 is assumed.
Low Byte : Base address to read from. On forward byte
order the address is incremented until it
reaches [base]+[count]-1. On reverse byte
order the output starts at [base]+[count]-1
and is decremented down to [base].
l=1 : List contents of the flash file directory. (*)
v=<p8> : View contents of the specified file. (*)