Diagnostic Software
EN 25DVDR615, MRV640 5.
FLASH
40202 Address is not dividable by 4
Example DS:> 402 0xa1000010 0xad112222
040200:
Test OK @
Nucleus Name DS_SDRAM_Read
Nucleus Number 403
Description Read from a specific memory address
Technical - Decode the user input and check the ranges
- Read from the SDRAM and return this info to the user
Execution Time Less than 1 second
User Input The location from which the data must be read
( SDRAM starts at address 0xA0000000 )
Error Number Description
40300 Reading from the SDRAM succeeded
40301 Reading from the SDRAM failed; Wrong user input
40302 Address is not dividable by 4
Example DS:> 403 0xa1000010
040300: Value read = 0xAD112222
Test OK @
Nucleus Name DS_FLASH_DevTypeGet
Nucleus Number 500
Description Get the device (revision) type information of the FLASH IC. (manufacturer and device ID)
Technical - Set the timing for the flash writing
- Write a command sequence to determine device type information
- Return the information to the user
Execution Time Less than 1 second
User Input None
Error Number Description
50000 Getting the information from the FLASH succeeded
50001 Getting the information from the FLASH failed
Example DS:> 500
050000: Found FLASH memory:
Manufacturer ID: 0x01
Device ID : 0x01
Test OK @
Nucleus Name DS_FLASH_WriteRead
Nucleus Number 501
Description Check whether the FLASH can be written to and read from
Technical - Find the test segment in flash
- Read the data into SDRAM
- Modify the data
- Write this data from SDRAM to FLASH and verify it by reading back again
Execution Time Less than 1 seconds.
User Input None
Error Number Description
50100 The FLASH write-read test succeeded
50101 The test segment could not be found
50102 All bits is the TEST region are filled with 0
50103 The WriteRead test failed
50104 The Write Failed
Example DS:> 501
050100:
Test OK @
Nucleus Name DS_FLASH_Read
Nucleus Number 502
Description Read from a specific memory address in FLASH
Technical - Decode the user input and check the ranges and whether the address is aligned on
4 bytes
- Read the data and return this to the user
Execution Time Less than 1 seconds.