ulink直接下载hex/axf等文件
0赞
发表于 3/6/2012 6:54:22 PM
阅读(3701)
下面是在keil网上找的资料,可以直接用ulink下载hex/axf等文件
HEX Files
You may create a µVision3 project whose sole purpose is to download a HEX file to Flash memory. You may use such a µVision project within a batch file for automated Flash programming.
- Create a µVision project file with the menu command Project - New Project....
- Select the microcontroller for your project from the Device Database but do not copy the Startup Code to this project.
- In the Project - Options for Target - Output dialog enter the HEX file name in the Name of Executable text box.
- Setup the download utility as described under Configure Flash Menu.
Use the Flash - Download command to program the specified HEX file into the Flash ROM device.
Ulink下载HEX 文件
你可以创建一个μ Vision3 项目用来下载HEX文件到flash里面。 你也可以使用一个批处理文件用来自动下载。
1. 在菜单中Project - New Project....创建一个µVision项目;
2. 在芯片库中选择你要下载的arm芯片类型但不copy Startup代码到项目中;
3. 在菜单Project - Options for Target – Output写上hex的文件名字跟你要下载的hex名字相同;
4. 在flash菜单中选择Flash – Download命令进行hex下载。
我已在lpc2134/lpc1768/lpc1227上试过,可以用的。
