KEIL下自定义编程flash算法
来源:互联网 发布:淘宝店铺三个月 编辑:程序博客网 时间:2024/06/06 08:40
对keil里没有的FLASH,还可以自定义编程算法。方法也放到这里吧
Define FLASH Algorithms
The ΜVision environment allows you to define additionalFLASH PROGRAMMING algorithms. For example an algorithm for an off-chip FLASH ROM that is connected via the BUS of the XC16x DEVICE.
Define a New FLASHPROGRAMMING Algorithm
You should perform the following steps to configure a new FLASH PROGRAMMING Algorithm:
Create a new empty sub-folder in ..\ARM\FLASH.
Copy the content of an existing FLASH algorithm (for example ..\ARM\FLASH\LPC_IAP_256) to this new folder as a template for newDEVICE algorithms.
ReNAME the project file LPC_IAP_256.UV2 to represent the newFLASH ROM DEVICE NAME, for example: 29F400.UV2 and open this new project with the ΜVision IDE.
In the DIALOG Project - Options for Target -OUTPUT replace allOUTPUT NAMEs (i.e. LPC_IAP_256) to the new DEVICE NAME.
Edit the file FLASHPrg.C and define the function code for EraseChip, EraseBlock and ProgramBlock. The Init and UnInit function allows you to write initializations and de-initialization code required for the algorithm.
Define the DEVICE parameters in the struct FLASHDevice in the file FLASHDev.C.
Build the new FLASHPROGRAMMING algorithm. TheOUTPUT file with the extension *.FLX contains the newPROGRAMMING algorithm. Use the Add button in the ConfigureFLASH DownloadDIALOG to add thisPROGRAMMING algorithm file to the ΜVision project of the target application.
TEST a New FLASH PROGRAMMING Algorithm
The folder ..\ARM\FLASH\LPC_IAP_256\TEST contains a project that allows you toTEST a new FLASH PROGRAMMING Algorithm.
Note
At this point in time, the generation of new FLASH PROGRAMMING algorithms requires the ARM ADS development tools. It is not possible to generate ownFLASH PROGRAMMING algorithms with the GNU toolchain. However, you may use the existingFLASH PROGRAMMING algorithms.
Define FLASH Algorithms
The ΜVision environment allows you to define additionalFLASH PROGRAMMING algorithms. For example an algorithm for an off-chip FLASH ROM that is connected via the BUS of the XC16x DEVICE.
Define a New FLASHPROGRAMMING Algorithm
You should perform the following steps to configure a new FLASH PROGRAMMING Algorithm:
Create a new empty sub-folder in ..\ARM\FLASH.
Copy the content of an existing FLASH algorithm (for example ..\ARM\FLASH\LPC_IAP_256) to this new folder as a template for newDEVICE algorithms.
ReNAME the project file LPC_IAP_256.UV2 to represent the newFLASH ROM DEVICE NAME, for example: 29F400.UV2 and open this new project with the ΜVision IDE.
In the DIALOG Project - Options for Target -OUTPUT replace allOUTPUT NAMEs (i.e. LPC_IAP_256) to the new DEVICE NAME.
Edit the file FLASHPrg.C and define the function code for EraseChip, EraseBlock and ProgramBlock. The Init and UnInit function allows you to write initializations and de-initialization code required for the algorithm.
Define the DEVICE parameters in the struct FLASHDevice in the file FLASHDev.C.
Build the new FLASHPROGRAMMING algorithm. TheOUTPUT file with the extension *.FLX contains the newPROGRAMMING algorithm. Use the Add button in the ConfigureFLASH DownloadDIALOG to add thisPROGRAMMING algorithm file to the ΜVision project of the target application.
TEST a New FLASH PROGRAMMING Algorithm
The folder ..\ARM\FLASH\LPC_IAP_256\TEST contains a project that allows you toTEST a new FLASH PROGRAMMING Algorithm.
Note
At this point in time, the generation of new FLASH PROGRAMMING algorithms requires the ARM ADS development tools. It is not possible to generate ownFLASH PROGRAMMING algorithms with the GNU toolchain. However, you may use the existingFLASH PROGRAMMING algorithms.
- KEIL下自定义编程flash算法
- STM32F1在KEIL下的FLASH的烧写算法
- C8050F02x单片机FLASH读写(Keil C编程心得)
- 更进一步的了解Keil Flash的下载算法
- Keil编程环境下的错误
- Keil C51下快速小数运算算法
- Keil C51下快速小数运算算法
- keil Flash Download failed
- Keil编程环境下STM32内存管理研究[转载]
- Keil编程环境下STM32内存管理研究[转载]
- Keil编程环境下STM32内存管理研究
- Keil MDK 下利用 printf( )的串口编程
- Keil uVision5 下载程序 add flash programming algorithm选项缺少需要的算法解决办法
- Keil uVision5 下载程序 add flash programming algorithm选项缺少需要的算法解决办法
- [原创] Keil uVision5 下载程序 add flash programming algorithm选项缺少需要的算法解决办法
- ARM学习随笔(7)keil下Flash magic的使用
- 不打开源码的情况下,用keil下载hex到flash中
- Keil和IAR下查看占用Flash和SRAM空间大小的方法
- GetHashCode与Equals双刃剑
- 证明 3*k + 2 必定不是完全平方数
- 新博客
- java与C++之间进行SOCKET通讯要点简要解析
- java 多维数组的定义和使用
- KEIL下自定义编程flash算法
- 关于编程中编码和解码的问题
- sql时间的处理
- 重写magento的model, block 和controller
- 协议模拟编程之ADSL模式下IP自动换
- java中的重定向:forward/redirect
- java 性能优化总结
- 解决android有的手机拍照后上传图片被旋转的问题
- C#自动模拟用户登录发布或发布数据源码?--AliasNet