Diagnostic Software
EN 25DVDR615/69 5.
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.
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 @
Nucleus Name DS_FLASH_ChecksumProgram
Nucleus Number 503
Description Check the checksum of the application partitions by recalculating and comparing partition
checksums
Technical - Determine the number of segments
- Find the application in each segment and determine its checksum
- Check whether the checksums stored match the newly calculated
Execution Time 6 seconds
User Input None
Error Number Description
50300 The checksum is valid, the test succeeded
50301 The checksum is invalid
Example DS:> 503
050300:
BootCode checksum is: 0xBABE5B6F, which is correct
Diagnostics checksum is : 0xBABEBAFF, which is correct
Download checksum is: 0xBABEEDBF, which is correct
Application checksum is : 0xBABE8EEC, which is correct
Test OK @
Nucleus Name DS_FLASH_CalculateChecksum
Nucleus Number 504
Description Calculate the checksum over all memory addresses. Used to check entire FLASH contents
Technical - Run the checksum calculation algorithm all flash memory addresses
Execution Time 6 seconds
User Input None
Error Number Description
50400 Calculating the checksum over all addresses succeeded
Example DS:> 504
050400: The Checksum = 0xBABE30A4
Test OK @
Nucleus Name DS_FLASH_CalculateChecksumFast
Nucleus Number 505
Description Calculate a checksum over a selected number of address locations
Technical - Run the checksum calculation algorithm on a selected number of flash memory
addresses
Execution Time 6 seconds
User Input None
Error Number Description
50500 Calculating the checksum over selected addresses succeed-
ed
http://www.jdwxzlw.com/?fromuser=华盛维修