
Diagnostic Software
5.
Example
DS:> 300
030000:
Test OK @
Nucleus Name
DS_NVRAM_WriteRead
Nucleus Number
301
Description
Check whether the EEPROM can be written to and read from
Technical
- Initialise IIC
- Backup data from location to modify
- Write to location and read it back again
- Write back the backed up data to the location to leave the NVRAM as found
Execution Time
Less than 1 second
User Input
None
Error
Number
Description
30100
The write-read test succeeded
30101
The IIC bus could not be initialised
30102
There was an NVRAM IO error
30103
The value could not be read back from the NVRAM
Example
DS:> 301
030100:
Test OK @
Nucleus Name
DS_NVRAM_Clear
Nucleus Number
302
Description
Make the EEPROM empty, containing all zeroes.
Technical
- Initialise IIC
- Create a memory block filled with zeroes
- Write this block to the NVRAM
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
- 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
http://www.jdwxzlw.com/?fromuser=华盛维修
家电维修资料网,免费下载各种维修资料