EN 25
3139 785 31150
5.
Firmware Upgrading & Diagnostic Software
Nucleus Name
DS_SDRAM_Write
Nucleus Number
402
Description
Write to a specific un-cached memory address
Technical
-
Decode the user input and check its ranges and alignment on 4 bytes
-
Write the data to the SDRAM
Execution Time
Less than 1 second
User Input
1. The location that must be modified
(SDRAM starts at address 0xA0000000)
2. The value to put on the selected location
Error Number
Description
40200
Writing to the SDRAM succeeded
40201
Writing to the SDRAM failed; Wrong user input
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 un-cached 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_SDRAM_DmaWriteRead
Nucleus Number
404
Description
Write a pattern to the entire SDRAM using DMA and check the data
Technical
-
Check if the Stack pointer is not in the write range
-
Clear a 64kb block and then fill it with a pattern
-
Initialise the DMA controller and write the data to the SDRAM
-
Then check if all the data was written correctly (except descriptor tables)
-
Repeat the process 4 times with 4 different patterns
Execution Time
24 seconds
User Input
None.
Error Number
Description
40400
Writing to the SDRAM succeeded
40401
Stack area definition ERROR!
40402
DMA controller could not be initialised.
40403
Not all data was transferred correctly
Example
DS:> 404
040400:
Test OK @