ULINK的手动刷新固件

这几天要调试一个ARM9芯片,要用到UINK2,但是我的keil是V4.73,同事用V4.12。ULINK插上后,

提示升级,但是一直升级失败。无奈只能手动升级固件。软件为:Flash Magic。

但是波特率,网上有的配置为9600,有的为38400,我配置的38400。配置如下:

 

 

1、LPC2148->P0.14接GND(开机进入ISP模式);

2、连接TXD/RXD/GND(3.3V的TTL电平)。

3、点Start.......

4、成功后,断开P0.14和GND;

 

升级到V2.0以后的版本后,在kei v4.70以后版本没问题,低版本有问题,需要手动修改ULINK2的启动模式:

 MDK升级到v4.7后遇到了ulink2调试中无法查看参数值的问题(http://blog.csdn.net/ropai/article/details/12704371)。
      为了调试需要,只能回退到MDK v4.54了,但v4.7的MDK把ulink2的固件升级到了v2.0x,这个版本的固件的ulink2默认是无法在v4.54的MDK中识别的。(因为v2.0固件把ulink2的引导模式改成了CMSIS-DAP)。但也只需要把ulink2的引导模式切换到ulink模式,即可以在v4.70之前的MDK中使用。
       修改方法:
      使用MDK v4.7的安装目录(..\Keil\ARM\ULINK\Utilities)下的UL2_Configure.exe
    1.命令行进入“..\keil\arm\Ulink\Utilities”目录,如果是win7/8尽量以管理员权限运行命令行。
    2.执行 UL2_Configure.exe xxxxxx B0
      其中xxxxx为ulink2的SN号(可以不需要),B0表示切换到ulink2模式,B1表示切换到CMSIS-DAP模式。
      SN获取方法:正版ulink2看背面就行了,和谐版的就看Options for Target - Debug - Settings - Debug.对话框中的ULINK USB-JTAG/SW Adapter处吧.

 

 

 恢复好ulink2引导模式后,就可以在MDK4.54了中使用了。

   调试模式下的 Command窗口可以正常查看运行中相关变量的值了

 

 

 

ULINK: No ULINK Device Found


Information in this knowledgebase article applies to:

  • MDK-ARM V4.70 and later versions
  • MDK-ARM V5 -- All versions

QUESTION

I just updated my MDK-ARM to V4.70 (or later version), and ULINK2 downloads and debugs OK using that version. But I also have an older version of MDK on my PC and now I can no longer download using ULINK2 with the older version. How can I correct this?

ANSWER

You need to reconfigure your ULINK2 adapter. To do this:

  1. Connect your ULINK2 to your PC. Do not connect it to a target board.
  2. Open a DOS command window.
  3. Assuming you installed MDK V470 (or later version) at C:\Keil, run the following case sensitive command:
  4. C:\Keil\ARM\ULINK\Utilities\UL2_Configure.exe B0
    

    If you installed V470 (or later version) in another location, replace C:\Keil with your installation path.
    Note: The last two characters are "B[zero]" NOT "B[capital O]"

  5. You should see:

    Disconnecting from ULINK ...........
    Connecting ULINK Loader....................................
    Updating configuration ...
    Configuration Updated!
    Disconnecting ULINK Loader ..........
    

Now ULINK2 should work with V4.70 (and later versions) and your older version.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值