登录 免费注册 首页 | 行业黑名单 | 帮助
维库电子市场网
技术交流 | 电路欣赏 | 工控天地 | 数字广电 | 通信技术 | 电源技术 | 测控之家 | EMC技术 | ARM技术 | EDA技术 | PCB技术 | 嵌入式系统
驱动编程 | 集成电路 | 器件替换 | 模拟技术 | 新手园地 | 单 片 机 | DSP技术 | MCU技术 | IC 设计 | IC 产业 | CAN-bus/DeviceNe

(已解决)keil在使用ulink烧写flash,怎么判别是何种flash呢?

作者:海天一色 栏目:ARM技术
(已解决)keil在使用ULINK烧写FLASH,怎么判别是何种FLASH呢?
FLASH有多种,不同的FLASH编程的时序有差别的。使用ULINK可以对arm板子上的FLASH烧写,怎么判别是何种FLASH呢?

* - 本贴最后修改时间:2006-7-2 10:59:47 修改者:海天一色

2楼: >>参与讨论
computer00
好象只有内部FLASH才可以烧写吧?外部的还没试过~~~~
 
3楼: >>参与讨论
海天一色
应该可以烧写。
把应用程序做好以后,将编译后的hex转换成数组,将这个数组写入FLASH里面的指定地址即可。原里是这样的。


4楼: >>参与讨论
海天一色
看了一下,不用自己做,keil里面可设置
看了一下,不用自己做,keil里面可设置,对若干型号arm内部FLASH以及外部FLASH的编程算法

5楼: >>参与讨论
海天一色
选中setting旁边的upda。。,每次调试是自动下载程序到FLASH
 
6楼: >>参与讨论
computer00
看来还行~~~~~~~
 
7楼: >>参与讨论
海天一色
擦除、编程成功。
 

8楼: >>参与讨论
computer00
你的是什么处理器?44B0吗?
 

* - 本贴最后修改时间:2006-7-2 10:25:38 修改者:computer00

9楼: >>参与讨论
海天一色
是44b0
 
10楼: >>参与讨论
computer00
我刚好有一块44B0的开发板,上面用的是2M的FLASH
还没有试过呢,有空拿来玩玩,不过那个板是14脚的JTAG,我得弄个转接到20脚的东东。

11楼: >>参与讨论
海天一色
对keil里没有的FLASH,还可以自定义编程算法。方法也放到这里吧
Define FLASH Algorithms
The ΜVision environment allows you to define additional FLASH 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 FLASH PROGRAMMING 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 new DEVICE algorithms.
ReNAME the project file LPC_IAP_256.UV2 to represent the new FLASH 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 all OUTPUT 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 FLASH PROGRAMMING algorithm. The OUTPUT file with the extension *.FLX contains the new PROGRAMMING algorithm. Use the Add button in the Configure FLASH Download DIALOG to add this PROGRAMMING 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 to TEST 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 own FLASH PROGRAMMING algorithms with the GNU toolchain. However, you may use the existing FLASH PROGRAMMING algorithms.


12楼: >>参与讨论
computer00
看来keil搞得还真不错,哈哈~~~~~~~~
 
13楼: >>参与讨论
lxr89c51
调试时应该下到RAM中.会接省大量的时间!
 
14楼: >>参与讨论
lxr89c51
为了提高速度,应用程序也要COPY到RAM中执行!
我们买了ULINK,但是无法DEBUG,所以放弃,用ADS1.2!

15楼: >>参与讨论
sasinop
就这样
将编译后的hex转换成数组,将这个数组写入FLASH里面的指定地址即可

有本书里 也是用这个方法的


16楼: >>参与讨论
51arm
keil搞得越来越耗了
 
参与讨论
昵称:
讨论内容:
 
 
相关帖子
请告知用wiggler+Flash Programmer是如何配置的?
请教FAT中的目录项
随便聊聊选型和采购LCD需要注意什么?
帮忙解答44B0,2410启动代码问题,小女子不胜感激!!!!
S3C44B0的FLASH(39VF160)不能在自身运行程序
免费注册为维库电子开发网会员,参与电子工程师社区讨论,点此进入


Copyright © 1998-2006 www.dzsc.com 浙ICP证030469号