RE: [HELP! ] CE5 System always delay for a ROM HIVE device

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Are you finding that if the NAND flash is formatted then the device boots
quite fast, but if the NAND flash has been used for a bit then the device
increasingly takes longer to build? If so the following may help.

During the Boot process the FMD flash builds a relocation table by reading
the Spare area of each block of NAND flash. I once found that one driver I
had inherited that to read the spare area it was reading the whole of the
data section, followed by the spare area. When your flash has been freshly
formatted each page reads 0xFF so it is quite quick for the flash controller
to read the whole page, however as the flash is used and pages are discarded
this process can take a lot longer. Check your FMD_ReadSector function and
make sure that it supports "reading data only", "reading spare only" (doesn't
read the data area whilst it does this) and "reading data and spare" if your
driver does not support all three of these combinations then this is probably
why your are getting this poor performance.

CJ.

"David Wang" wrote:

Please help me!

I implemented the ROM and HIVE file system based on NAND FMD driver and the
file system to store the HIVE regristrys is FAT.
But my CE5 system always(once in ten times, and not always once in ten time,
maybe once in fifteen times) delays for about 40 seconds during the system
bringup.

I have make it clear that:
1. Delay about 40 seconds in the process of bring up.
2. Not every booting time delays, about once in ten to twenty times.
3. System delays after NAND fmd driver loaded.
4. After system bring up, every thing is OK incluing NAND file system.
The HIVE and ROM file system works fine.
5. No data lost.
6. Use FAT file system.

Paste my settings

; FILE nandfmd.reg
;-----------------------------------------------------------

; HIVE BOOT SECTION
; This file is to be included in platform.reg if required.
[HKEY_LOCAL_MACHINE\Drivers\NAND]
"Profile"="NAND"
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"Order"=dword:0
"FriendlyName"="NAND FLASH Driver"
"Dll"="NANDFMD.dll"
"Prefix"="DSK"
"Index"=dword:1
"Flags"=dword:1000

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\NAND]
"DriverPath"="Drivers\\NAND"
"LoadFlags"=dword:1
"BootPhase"=dword:0

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NAND]
"Name"="NAND FLASH Storage"
"DefaultFileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
"Folder"="NAND FLASH"
"AutoPart"=dword:1
"AutoMount"=dword:1
"AutoFormat"=dword:1
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"MountAsROM"=dword:0

; END HIVE BOOT SECTION
;-----------------------------------------------------------

Somebody help me!







.



Relevant Pages