
4.1.8 Security Code
Purpose: Returns 32 bit Security code based on 32 bit security key.
Control Item Code: 0x000B
Control Item Parameter Format:
The first parameter is 4 byte security key provided by host. NetSDR then returns a 4 security code that is formed by
an encryption algorithm unique to the NetSDR. Please contact RFSPACE for details on the algorithm. This is a way to
protect host software from being used on other hardware.
Example, host requests Security code for a key of 0x12345678:
[08][20] [0B][00] [78] [56] [34] [12]
The Target responds with a 4 byte security code
[08][00] [0B][00] [xx][xx][xx][xx]
4.1.9 FPGA Configuration
Purpose: Set or Request the current FPGA Configuration.
Control Item Code: 0x000C
Control Item Parameter Format:
The Request form of this message has no parameters.
The Set form of this message only contains a one byte value of the configuration to select.
The first parameter of the Set message is a 1 byte value indicating which of three FPGA configurations to use.
Only three configurations are supported:
0 == User selectable Default configuration that cannot be changed.
1, 2 == User selectable and user can update these two positions.
The Response form of this message from the Target contain:
Parameter 1 == one byte value of the FPGA configuration selected. (0,1,2)
Parameter 2 == one byte value of the FPGA configuration ID. (0-255)
Parameter 3 == one byte value of the FPGA configuration Revision. (0-255)
Parameter 4 == A NULL(zero) terminated character byte string which contains a description of the FGPA code
selected.
To Request the currently selected FPGA Configuration information the host sends:
[04][20] [0A][00]
The target responds with its current FPGA configuration information such as:
[18][00] [0A][00] [01] [02] [09] [53] [74] [64] [20] [46] [50] [47] [41] [20] [43] [6F] [6E] [66] [69] [67] [20] [00]
which is FPGA configuration # 1 , ID is 2, and revision is 9 with a description of “Std FPGA Config ”
To Set the current configuration to configuration #2, the host would send:
[05][00] [0A][00] [02]
The target responds with its current FPGA configuration information such as:
[18][00] [0A][00] [02] [03] [0A] [53] [74] [64] [20] [46] [50] [47] [41] [20] [43] [6F] [6E] [66] [69] [67] [20] [00]
which is FPGA configuration # 2 , ID is 3, and revision is 10 with a description of “Std FPGA Config ”
Note: The Setting of a new FPGA configuration completely reloads the main hardware “personality” so
should only be sent while the target is idle and not running. While normally this works its probably a good idea
to cycle the Target power after changing configurations.
Rev. 1.03 2011-11-01
15
Comentários a estes Manuais