原创 ULINK2 not working anymore in MDK 4.7a?

2013-4-27 12:29 1435 21 21 分类: 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条评论)

登录后参与讨论
我要评论
0
21
关闭 站长推荐上一条 /2 下一条