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).
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...
Fig.2 A ULINK2 to download program
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...
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.
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.
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条评论)
登录后参与讨论