EN 28
3139 785 31532
Firmware Upgrading & Diagnostic Software
5.
FLASH (FLASH)
Nucleus Name
DS_FLASH_DevTypeGet
Nucleus Number
500
Description
Get the device (revision) type information of the FLASH ICs. (type,
manufacturer, device ID and size)
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:
NOR AMD 29DL640G 8MB,NOR AMD 29DL640G 8MB
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 second.
User Input
None
Error Number
Description
50100
The FLASH write-read test succeeded
50101
The test segment could not be found
50102
All bits in the TEST region are filled with 0 (region exhausted)
50103
The Write Read 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 second.
User Input
The location from which data must be read
(FLASH starts at address 0xB8000000)
Error Number
Description
50200
Reading the FLASH succeeded
50201
Reading the FLASH failed; Wrong user input
50202
Address is not dividable by 4
Example
DS:> 502 0xb8000000
050200: Value read = 0x3C08A000
Test OK @