资源简介
使用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个文件信息
相关资源
- vxworks下61850 MMS库源码
- 虚拟机上跑vxworks用的工程生成文件
- 用于ti am335x arm cortex a9的vxworksbsp源码
- vxworks设备驱动开发详解-曹桂平版
- 虚拟机上跑vxworks上做好了的vmx文件
- PowerPC VxWorks BSP 分析中文版
- vxWorks下图形界面开发工具Tilcon使用的
- map-20kdm2.pk3Irrlicht加载bsp地图测试用地
- vxWorks 完整源码
- pinpoint安装部署、监控tomcat、weblogic、
- T2080 vxWorks6.9 BSP
- labspec中文教程
- VxWorks网络程序员指南.pdf
- VxWorks实验35个
- goahead3.6.3基于vxworks5.5移植
- 嵌入式实时操作系统VxWorks及其开发环
- VxWorks完整源代码详解
- vxworks的移植
- (转)B样条曲线反求控制点
- ios for vmware
- Sparse Subspace Clustering: Algorithm Theory a
- vxworks设备驱动开发详解曹桂平,高清
- rtthread stm32f1xx hal bsp 偏移地址0x4000
- 《嵌入式VxWorks系统开发与应用》电子
- PXA270_BSP
- Vxworks学习总结
- WebSphere系统安全加固规范 中文
- VxWorks for ARM 实验教程
- VxWorks_BSP开发人员指南
- 虚拟机跑vxworks用到的文件
评论
共有 条评论