資源簡介
使用bootloader啟動,8548平臺vxworks6.6 bsp源碼,

代碼片段和文件信息
/*?am29lv64xdMtd.c?-?MTD?for?Am29Lv64Xd?*/
/*
?*?Copyright?(c)?2003-2005?Wind?River?Systems?Inc.
?*
?*?The?right?to?copy?distribute?or?otherwise?make?use?of?this?software
?*?may?be?licensed?only?pursuant?to?the?terms?of?an?applicable?Wind?River
?*?license?agreement.?No?license?to?Wind?River?intellectual?property?rights
?*?is?granted?herein.?All?rights?not?licensed?by?Wind?River?are?reserved
?*?by?Wind?River.
?*/
#include?“copyright_wrs.h“
/*?FAT-FTL?Lite?Software?Development?Kit
?*?Copyright?(C)?M-Systems?Ltd.?1995-2001???????*/
/*
modification?history
--------------------
01d24mar05mdo??Documentation?changes?for?apigen
01c22mar05dtr??Typo?fixes.
01b18nov04jln??fix?compiler?warning
01a22oct04jln??modified?from?01l/cfiamd.c?
*/
/*
DEscriptION
This?library?provides?a?MTD?for?Am29Lv641D?on?cds8541/cds8555?reference?boards.
It?only?supports?16?bit?bus?access?to?flash?chips.??
INCLUDE?FILES:
?
\NOMANUAL
*/
#include?
#include?“tffs/flflash.h“
#include?“tffs/backgrnd.h“
#define? MAXSECTORS 128 /*?should?work?with?any?value?*/
typedef?enum
????{
????BOOTBLOCK_NONE
????BOOTBLOCK_TOP
????BOOTBLOCK_BOTTOM
????}BOOTBLOCK;
typedef?union
????{
????UCHAR?uchar[4];
????UINT32?uint32;
????}?CFI_DWORD;
typedef?union
????{
????UCHAR?uchar[2];
????USHORT?ushort;
????}?CFI_WORD;
/*?Instance?specific?CFI?data?so?that?a?system?may?have?more?than?one?CFI
?*?device.?*/
typedef?struct
????{
????unsigned?????????commandSetId;????????????/*?id?of?a?specific?command?set.?*/
????unsigned?????????altCommandSetId;?????????/*?id?of?alternate?command?set.??*/
????FLBoolean????????wordMode;????????????????/*?TRUE?-?word?mode.?????????????*/
????/*?FALSE?-?byte?mode.????????????*/
????int??????????????multiplier;??????????????/*?the?number?of?bytes?between???*/
????/*?1st?Q?and?1st?R?in?query ?????*/
????int??????????interleaveWidth;?????/*?1?-?byte?2?-?word?interleaved?*/?
????unsigned?????????maxBytesWrite;???????????/*?maximum?number?of?bytes???????*/
????/*?in?multi-byte?write.??????????*/
????FLBoolean????????vpp;?????????????????????/*?if?=?TRUE?need?vpp.??????????*/
????long?????????????optionalCommands;????????/*?optional?commands?supported???*/
????/*?(1?=?yes?0?=?no):????????????*/
????/*?bit?0?-?chip?erase.???????????*/
????/*?bit?1?-?suspend?erase.????????*/
????/*?bit?2?-?suspend?write?????????*/
????/*?bit?3?-?lock/unlock.??????????*/
????/*?bit?4?-?queued?erase.?????????*/
????unsigned?????????afterSuspend;????????????/*?functions?supported?after?????*/
????/*?suspend?(1?=?yes?0?=?no):????*/
????/*?bit?0?-?write?after?erase?????*/
????/*?????????suspend.??????????????*/
????int??????????sectorDefs;??????????/*?Number?of?sector?definitions??*/
????struct
????????{??????????????????/*?sector?descriptions?as?found??*/
????????long?????secSize;?????????/*?in?CFI?query.? ?????*/
????????int??????numSecs;?????????/* ?????*/
????????}secDesc[8];??????????????????/*?assume?8?is?enough ?????*/
????struct
????????{??????????????????/*
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-08-07?22:09??BSP6.6\
?????文件????????1726??2010-11-15?16:24??BSP6.6\20bsp.cdf
?????文件????????3996??2010-11-15?16:24??BSP6.6\20comp_tipcsm.cdf
?????文件????????1194??2010-11-15?16:24??BSP6.6\20comp_tipc_hend.cdf
?????文件???????27392??2010-11-15?16:24??BSP6.6\am29lv64xdMtd.c
?????文件???????16817??2010-11-15?16:24??BSP6.6\bnc8548.h
?????文件??????258048??2010-11-15?16:24??BSP6.6\BNC8548_66.IAB
?????文件????????2848??2010-11-15?16:24??BSP6.6\BNC8548_66.IAD
?????文件???????69632??2010-11-15?16:24??BSP6.6\BNC8548_66.IMB
?????文件????????1008??2010-11-15?16:24??BSP6.6\BNC8548_66.IMD
?????文件?????????148??2010-11-15?16:24??BSP6.6\BNC8548_66.PFI
?????文件?????????776??2010-11-15?16:24??BSP6.6\BNC8548_66.PO
?????文件???????13928??2010-11-15?16:24??BSP6.6\BNC8548_66.PR
?????文件???????87544??2010-11-15?16:24??BSP6.6\BNC8548_66.PRI
?????文件??????500000??2010-11-15?16:24??BSP6.6\BNC8548_66.PS
?????文件?????????133??2010-11-15?16:24??BSP6.6\BNC8548_66.SearchResults
?????文件???????72451??2010-11-15?16:24??BSP6.6\BNC8548_66.WK3
?????文件????????1480??2010-11-15?16:24??BSP6.6\bootInit.o
?????文件????????1212??2010-11-15?16:24??BSP6.6\bootInit_uncmp.o
?????文件?????1137904??2010-11-15?16:24??BSP6.6\bootrom_uncmp
?????文件?????1048576??2010-11-15?16:24??BSP6.6\bootrom_uncmp.bin
?????文件??????181089??2010-11-15?16:24??BSP6.6\cds8548.vsh
?????文件???????23354??2010-11-15?16:24??BSP6.6\config.h
?????文件????????3089??2010-11-15?16:24??BSP6.6\configNet.h
?????文件?????????584??2010-11-15?16:24??BSP6.6\ctdt.c
?????文件?????????544??2010-11-15?16:24??BSP6.6\ctdt.o
?????文件???????90101??2010-11-15?16:24??BSP6.6\depend.bnc8548_66
?????文件???????77761??2010-11-15?16:24??BSP6.6\depend.cds8548
?????文件???????24541??2010-11-15?16:24??BSP6.6\hwconf.c
?????文件???????31950??2010-11-15?16:24??BSP6.6\m85xxTimer.c
?????文件????????2059??2010-11-15?16:24??BSP6.6\Makefile
............此處省略37個文件信息
評論
共有 條評論