广告

原创 ULINK2 not working anymore in MDK 4.7a?

2013-4-27 12:29 619 1 1 分类: MCU/ 嵌入式

Sometimes it is good to keep our development tools and utilities up-to-date, since updates may have the bugs fixed and have more functions.

I just replaced my MDK4.6 with MDK4.7a (verson Mar 2013).

0007-521x73.jpg
Fig.1 MDK updated to 4.7a

 

Surprisingly, I was unable to download the firmware (to a STM32 MCU) with my ULINK2 anymore... The IDE went out of response during program download...

img_20130427_115337_640x360.jpg
Fig.2 A ULINK2 to download program
 
0004-824x555.jpg
Fig.3 The IDE went out of response... download program failed

On the other hand, the 'COM' LED keeped on... No further response for a long time...

img_20130427_115717_640x360.jpg
Fig.4 The COM LED seemed to be on forever

To solve this problem, many people on the Internet could think of downloading older firmware versions to the ULINK2 through the UART port by opening the casing.

img_20130427_115749_640x360.jpg
Fig.5 Pins soldered for UART firmware download
 
I did not download the old firmware successfully, the LPC2000 flash utility was not working stably after trying for several times, using CP2102 as the USB to TTL interface. Probably the CP2102 had baud rate timing problems... I don't know...
 
At the end, I found that increasing the 'Max Clock' in the configuration would totally solve the problem!!
The default "Max Clock" was 1MHz, if we plug the ULINK2 into the USB, then we can choose "10MHz" as the clock.
 
0005-627x395.jpg
Fig.6 Choosing "Max Clock" to be 10MHz, after plugging in the ULINK2
 
Everything was working fine since then... however, old projects still have to be re-configured before downloading them again to MCUs...
广告

文章评论 0条评论)

登录后参与讨论
相关推荐阅读
mariohk321_586285434 2014-09-10 23:58
我的手机
苹果发布了iPhone6​​,再次掀起了一鼓追「疯」潮...没有留意苹果产品的我,也听到了不少消息...虽然我是一名电子爱好者,但是到2009年尾才拥有第一部智能手机。那是一部的Windows M...
mariohk321_586285434 2014-09-01 00:53
Updates from Me
Hi, long time no see! This September will be a different one for me, since I am not a student an...
mariohk321_586285434 2014-01-25 18:44
Reusing Card Reader from a Canon inkjet Printer
Inspired from Charlieb000: http://icrontic.com/discussion/93568/reusing-card-reader-from-mp180-can...
mariohk321_586285434 2013-12-30 14:22
Power? Energy? Electronics?
Electricity has brought numerous benefits to our daily life. But we should be aware of the energy ...
mariohk321_586285434 2013-11-29 20:19
Device is not powered on? Replacing the capacitors may help!
Hi! Long time no see! Life has been busy over the past few months... Students' lives are busy... ...
mariohk321_586285434 2013-08-23 10:14
STM32F1 with 1.5inch CSTN Color LCD
First of all, happy new year and happy Valentine's day! Life has been very busy over the past fe...
我要评论
0
1
广告