安裝 GNU ARM Eclipse Plug-ins

前不久買了一本Kindle電子書: Getting Started With STM32 Nucleo Development
跟著書上第二章安裝 GNU ARM Eclipse Plug-ins時, 碰到了問題:

無法安裝 GNU ARM C/C++ J-Link Debugging 元件

書上說只要下一步, 下一步, 就會成功! 看來, 此一時, 彼一時, 軟體的版本又有了一些變化, 只好自己想想辦法了!

1. 在2.2.2節提到可以到https://sourceforge.net/projects/gnuarmeclipse/安裝, 接著教我們按Help, Install New Software, Add 並在出現的對話框裡填入名稱及網址


我發現, 如果已經將這個Plug-in download下來了, 就可以直接在這個對話框中:
按Archive..., 然後選 download 下來的 zip 檔: ilg.gnuarmeclipse.repository-3.1.1-201606210758.zip
按Local..., (如果你將download下來的zip檔解開的話, 選其目錄)

2. 我現在使用的Eclipse for C/C++是Neon這個版本, 之所以會發生無法安裝 GNU ARM Eclipse Plug-ins的 GNU ARM C/C++ J-Link Debugging 元件, Google 了一下, 有人在element14 community 提到:

  • As per SOP for me, I failed to completely read the instructions.  Here's what I did to fix the problem:
    1) Download the CDT package Eclipse downloads - Select a mirror  which is apparently different from the Eclipse CDT download.
    2) Open up Eclipse
         2.1) Go to Help-> Install New Software
         2.2) Click on Add-> Archive, and then selected the "cdt-8.8.1.zip" folder in my downloads directory, and hit OK.
         2.3) Selected all of the "CDT Main Features"
         2.4) Selected "C/C++GDB Hardware Debugging" under "CDT Option Features"
         2.5) Installed the selected features
    3) Installed the GNU ARM package, including the J-Link plugin
簡單說, 就是少了CDT的一些元件, 要自己先去安裝, 之後就可以回去安裝GNU ARM Eclipse Plug-ins。
不過, 對我來說, Eclipse Neon這個版本要使用的CDT, 已經不再是8.8.1, 而是9.0.1了。
除此之外, 其他跟著照做, 就可以成功安裝了。


留言

這個網誌中的熱門文章

D-BUS學習筆記

關於藍牙裝置找尋(inquiry, scan)兩三事

Cisco Switch學習筆記: EtherChannel