AMD_Parallel_Flash_Programmer

所属分类:FlashMX/Flex源码
开发工具:Asm
文件大小:10KB
下载次数:8
上传日期:2009-11-12 15:01:24
上 传 者Kelvenhuai
说明:  AMD Parallel Flash Programmer, it s very important to use Flash programmer

文件列表:
AMD Parallel Flash Programmer (ASM) (0, 2009-11-12)
AMD Parallel Flash Programmer (ASM)\21364_IVT.asm (5939, 2009-08-07)
AMD Parallel Flash Programmer (ASM)\ADSP-21364-EZKIT.LDF (7208, 2009-08-07)
AMD Parallel Flash Programmer (ASM)\AMD Parallel Flash Programmer.asm (14093, 2009-08-07)
AMD Parallel Flash Programmer (ASM)\AMD Parallel Flash Programmer.dpj (6325, 2009-08-07)
AMD Parallel Flash Programmer (ASM)\input.ldr (22197, 2009-08-07)

------------------------------------------------------------------------------- Example: Flash Programmer (Source data in internal memory) Target: ADSP-213*** Date: July 20, 2004 Tools: VisualDSP++ 3.5 Hardware: ADSP-213*** EZ-KIT LITE ------------------------------------------------------------------------------- This hardware example will use the Parallel Port to take a data buffer or ldr file in internal memory and program it into the AMD 1Mx8 flash memory on the ADSP-213*** Ez-Kit-Lite. This example is intended for use with the AMD 1Mx8 flash that is included on the ADSP-213*** EZ-KIT-LITE, but could be easily ported to program another type or size of flash. The example has several subroutines that are of interest. The subroutines will: -FLASH_FILE_SIZE: - check to see that the buffer 'my_file' is not too large to fit in the 1Mx8 flash -FLASH_RESET: - issue the flash reset command -ERASE_FLASH_CHIP; - erase the entire flash and wait until the erase command is completed -SECTOR_ERASE: - calculate the number of sector needed to hold the data and erase accordingly (and verify erasure) -PROGRAM_FLASH: - program the flash with the data/code in my_file and check for write cmd completion after each byte -VERIFY_FLASH: - verify the contents of the flash with the values in 'my _file', The user has the ability to erase the entire flash before programming (ERASE_FLASH_CHIP) or to erase on a sector-by-sector basis, preserving previously programmed code in other sectors. ------------------------------------------------------------------------------- Instructions: BYTES The parallel port uses an 8-bit external width, but we're using a 16- bit data width, so to keep sense of the counts in terms of bytes-per-word, define BYTES as seen here: #define BYTES 2// 4 * 8bits = 32 bit logical data //or 2 * 8bits = 16 bit logical data //or 1 * 8bits = 8 bit logical data my_file: this is a DSP loader file generated using the Loader Utility in VisualDSP. By default, this project expects the loader file to be a 16- bit include format generated using the PROM option of the loader. If ------------------------------------------------------------------------------- Source Files contained in this directory: AMD Parallel Flash Programmer.dpj VisualDSP project file AMD Parallel Flash Programmer.asm ADSP-213*** source 213***_IVT.asm Interrupt Vector Table ADSP-213***-EZKIT.ldf Linker description file input.ldr File holding data to be programmed to FLash ------------------------------------------------------------------------------- Dependencies contained in VisualDSP++ default include path: def213***.h Header file with generic definitions ******************************************************************************* Analog Devices, Inc. DSP Division One Technology Way Norwood, MA 02062 (c) 2004 Analog Devices, Inc. All rights reserved. *******************************************************************************

近期下载者

相关文件


收藏者