Reference : SGP_AVS_SW_ATLAS-05-05 Classification : COMPANY RESTRICTED
Version : 0.17 Project : ATLAS_DSW
Status : Proposed Chapter : User Manual
Date : 2006-09-12
Section : Diagnostic Software (Leco+)
© Philips Electronics N.V. 2006 Philips Semiconductors Page 24 of 124
3.5 FLASH (FLASH) 1
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 @
2
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 @
3
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 @
4
5
6
7
8
9
10