此篇為工程文章,最近因專案需求又把古董LM3S6965的開發板拿出來用,建立開發環境時就直接用GCC的環境建立,debugger就使用openocd,但是以前測過openocd+stellaris icdi這組合居然出現error。
所以,開始四處google答案,最後在olimex的論壇上找到解答
原串節錄:
OpenOCD 0.8.0 introduced a big change that affected the default driver
installation for Olimex OpenOCD JTAG tools. LibUSB is no longer the
default driver - WinUSB is. You would need to uninstall any drivers
related to the debugger and then install WinUSB drivers.
Where you can get WinUSB drivers?
For
now the easiest way is to use a program called "Zadig" - after removing
all drivers, start the program and select WinUSB driver and click the
install button.
也就是openocd在0.8.0以後預設驅動從libusb換成winusb了....難怪原本的環境動不了
所以我也找了Zadig這個萬能驅動安裝程式,裝WinUSB的驅動。
然後立馬開始debug~
恩~ 問題解決,開戰啦~
沒有留言:
張貼留言