1. 程式人生 > >ISD9160學習筆記02_搭建NuMicro開發環境

ISD9160學習筆記02_搭建NuMicro開發環境

http://blog.csdn.net/iotisan/article/details/53166357

所謂學習筆記,不能免俗地總會講到開發環境。嵌入式這一行就是這樣,每做一個新方案,就得學習它的CPU、它的介面、也包括開發環境。所以我對contiki、ucos之類的開放OS特別有好感。

開發環境這邊沒什麼好說的,花一個小時就玩好了,燒寫玩了玩錄音的測試程式。 

本篇筆記將部分重點細節記錄下,避免一些同學走相同的彎路。

1. 燒寫工具

昨晚先嚐試了下燒寫工具(NuMicro ICP Programming Tool 1.30.6491.exe),板子自帶了燒寫器,我們只要連線上USB,一個download就完事了。

2. 開發環境

1. MDK

MDK用現成的就行,沒有的自行搜尋。

2. Nu-Link_Keil_Driver 2.00.6561.exe

新唐提供了在Keil和IAR下的外掛,我選擇了Keil的版本,它得裝在Keil的目錄下,讓MDK可以識別到新唐的MCU。

3. Nuvoton NuVoice Tool V5.02.000.exe

它必須裝在C盤。否則你會遇到像我這樣的問題。“Error: User Command terminated, Exit-Code = 1” 

起初還以為是MDK的版本不夠,因為工具readme寫著支援Keil IDE V5.14,於是升級到了MDK5,結果發現問題依舊。

==============================================
NuVoiceTool - V5.02.000 2015/05/12
==============================================
[Features]
1. UltraIO Tool adds the following new features
   a. Use Ctrl+Q to add user event during preview sound
   b. User event list editor from menu: "user event" to edit user event in a edit
      to replace import/export user event

2. NuKeil IDE library setting adds the following new features:
   a. Support multiple pins for wake up.
   b. Remove SPI flash pins from IO settings to avoid wrong setting if SPI flash interface is enabled.

3. Open Audio Tool from Keil IDE menu: "Tools". The audio tool will open the audio project of the opened keil project.

4. Support Keil IDE V5.14.

後來仔細看了錯誤日誌才明白工具路徑要求在C盤。經過重灌後,編譯通過,使用MDK4.70也可以正常編譯。

End