文件名称:VMD642_flash

  • 所属分类:
  • 其他嵌入式/单片机内容
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2013-09-13
  • 文件大小:
  • 78kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • y*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

FLASH 测试

VMD642 开发板上的 flash 芯片为 Spansion 本例程在 VMD642_flash 目录中。

FLASH 的测试主要包括 FLASH 的擦除和读/写操作,以及其在存储空间中的映射是否

正确。

首先配置 EMIF,使得 FLASH的 8 个 512K空间映射到 DM642的存储空间中。

擦除 FLASH 的 8 个页面。

VMD642_rset(VMD642_FLASHPAGE, page) 设置当前页面。

在 VMD642 开发板中 4M 的 flash 空间被分为 8个 512k 页面,每个 512k的页面由 8 个

64k 的 sector组成。但注意在 Spansion 的这个 FLASH芯片中,

它的4M的地址空间是这么安排的: 总共72个sectors, 其中sector 0-7 为 8k, .sector 8-63

为 64k。

所以,在 VMD642-C 中的第一个页面的第一个 sector又分为8 个8k的 sub sectors。



擦除完后,向 FLASH中写入以每页的页数开始的顺序数据。

按同样顺序依次读出 FLASH 中的数据,比较读/写是否正确。 -FLASH test VMD642 development board flash chips for Spansion This routine VMD642_flash directory. The tests include FLASH FLASH erase and read/write operations, and the storage space in which the mapping is correct. First configure the EMIF, making the FLASH 8 512K space is mapped to the DM642 memory space. Erase the FLASH 8 pages. VMD642_rset (VMD642_FLASHPAGE, page) setting the current page. In VMD642 development board 4M of flash space is divided into eight 512k pages, each page 512k 64k by the eight components of the sector. But note this in Spansion FLASH chip, it' s 4M address space is so arranged: total 72 sectors, including sector 0-7 of 8k,. Sector 8-63 of 64k. Therefore, in VMD642-C in the first page of the first sector is divided into 8 8k the sub sectors. After erase, write to the FLASH pages per order starting data. By the same order of the data read out FLASH compare read/write is correct.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





VMD642_flash\Debug\dm642main.obj

............\.....\ves_dm642.obj

............\.....\vmd642_cpld.obj

............\.....\vmd642_flash.obj

............\.....\vmdm642_cpld.obj

............\.....\vmdm642_flash.obj

............\.....\vmflash.map

............\.....\vmflash.out

............\.....\vssver.scc

............\Debug.lkf

............\include\vmd642.h

............\.......\vmd642_flash.h

............\.......\vssver.scc

............\src\dm642main.c

............\...\ves_dm642.asm

............\...\vmd642_cpld.c

............\...\vmd642_flash.c

............\...\vmd642_flash.c.bak

............\...\vssver.scc

............\vmd642.cmd

............\vmd642flash.paf2

............\vmd642flash.pjt

............\VMD642~1.SBL

............\vssver.scc

............\Debug

............\include

............\Release

............\src

VMD642_flash

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org