Search This Blog
Oct 28, 2008
USBMSC mode work ok
MediaInit locate in use once memory, it calls my init function and cause VMI abort. remove this call and then USBMSC mode work OK. Player mode still has problem.
Oct 17, 2008
Nand flash write speed improve
Trace the USB transfer data. I got impress about the time cost at each stage. Every 64 sectors write will take a block erase and build block map. And when access FAT1, FAT2, Root directory and MBR, it will copy block which take many time.
I list the time cost below, the time is relative.
1.Write sector takes 620 us.
2.Build block map and erase block takes 12ms
3.Copy block takes 180ms.
And then I rewrite block map evict method, just pick up the less time cost block. And then write speed improve 33%. now the read write speed is same as SDK does.
The other way to improve the speed should put our foucs on read redandunt time. Every build block map will read 64 redandunt area and takes 9ms.
I list the time cost below, the time is relative.
1.Write sector takes 620 us.
2.Build block map and erase block takes 12ms
3.Copy block takes 180ms.
And then I rewrite block map evict method, just pick up the less time cost block. And then write speed improve 33%. now the read write speed is same as SDK does.
The other way to improve the speed should put our foucs on read redandunt time. Every build block map will read 64 redandunt area and takes 9ms.
Oct 10, 2008
Updater work fine
replace read/write function with mine, updater can copy files into disc. use HDbench test, r/w is 6470/1476(3716). orignal SDK r/w is 5369/4000. read speed is fast than original SDK, write speed too slow, need find out why the root cause.
Oct 9, 2008
Nand flash logical to physical management
Yesterday, use nand stress test for 30 mins, it runs OK. Next step I will try to migrate it into SDK procedure.
Subscribe to:
Posts (Atom)