EN 25
3139 785 31532
5.
Firmware Upgrading & Diagnostic Software
Nucleus Name
DS_NVRAM_Clear
Nucleus Number
302
Description
Make the EEPROM empty, containing all zeroes.
Technical
-
Initialise IIC
-
If no IIC EEPROM was found then initialise flash memory to use NVM
pages
-
Read the DVID and diversity string from NVM (either EEPROM or Flash)
-
Create a memory block filled with zeroes
-
Write this block to the NVRAM (either EEPROM or Flash)
-
Write back the Read the DVID and diversity string to NVM (either
EEPROM or Flash)
Important note:
The Hardware Diversity Information and unique identification number
(IEE1394-specific) of the
D
igital
V
ideo processing part is NOT cleared by this
nucleus!
Execution Time
16 seconds
User Input
None
Error Number
Description
30200
The clearing of the NVRAM succeeded
30201
There was an IIC error
30202
Clearing the NVRAM failed
Example
DS:> 302
030200:
Test OK @
Nucleus Name
DS_NVRAM_Modify
Nucleus Number
303
Description
Modifies one or more locations in NVRAM and updates the checksum of the
section modified
Technical
-
Initialise IIC
-
If no IIC EEPROM was found then initialise flash memory to use NVM
pages
-
Decode user input
-
Modify the NVRAM as indicated
-
Validate the NVRAM by calculating the checksum and storing it
Execution Time
Less than 1 second
User Input
1. The location that must be modified
i.e. "ALL" "BOOT" "DIAGNOSTICS" "DOWNLOAD" "CONFIG"
"RECORDER" or no string if an offset from the base address of the
NVRAM is required
2. The offset and data which to put on the selected location
<offset> <length> <data>
Error Number
Description
30300
Modifying the NVRAM contents succeeded
30301
Unable to initialise NVM
30302
Modifying the NVRAM contents failed
30303
length out of range
30304
unable to decode length
30305
offset out of range
30306
unable to decode offset
30307
unknown location specified
30308
no location is specified
30309
number of values incorrect
30310
There was an IIC error
Example
DS:> 303 DIAGNOSTICS 5 1 0x5a
030300: Section is modified successfully
Test OK @