2016年3月20日 星期日

DIY - PIC24:Microchip MPLAB C30 編譯器安裝(九)

DIY - PIC24:Microchip MPLAB C30 編譯器安裝(九): 

完成了 PIC24 RB0 LED 的硬件(Hardware)組裝,便要進行軟件(Software)部分,由於Microchip PIC24FJ64GA008 是 PIC24 16位元(16-bit)的 MCU 系列,在 MPLAB IDE 環境下要編譯 PIC24 MCU 和 dsPIC DSC MCU 系列程式,是要使用 C30 編譯器(Compiler),當然還有其他 C編譯器可以使用,如 mikroC、Hi-TECH C 和 CCS 編譯器,但筆者則選用了 C30 作 PIC24FJ64GA008 編程。

Microchip MPLAB C30 編譯器
MPLAB C30 編譯器可分為標準(Full Version)、評估(Evaluation Version)和精簡(Lite Edition)三個版本,精簡版是免費版本,精簡版也會提供有限功能,但生成的優化級數是 Level 1,可執行文件是比較大。而評估是免費版本,60天的全功能,60天後便祇提供優化級數是 Level 1。

MPLAB C30 編譯器
首先是從 Microchip 的官方網站下載 C30 的軟件,筆者選用 PIC24 v3.31
http://www.microchip.com/mplab/compilers → Download Archive → MPLAB C Compiler for PIC24 and dsPIC DSCs → 選擇不同版本 
PIC24 v3.31:http://ww1.microchip.com/downloads/en/DeviceDoc/mplabc30-v3_31-windows-installer.exe

下載完成,可以開始安裝。
雙擊 mplabc30-v3_31-windows-installer.exe 開始安裝
Setup → Next
License Agreement → Next
Installation Directory → Legacy Directory Name → Next
Installation Type → Evaluation Compiler → Next
Compiler for which set of devices → Both → Next
Ready to Installation → Next
Installing
Completing Installation → Finished
2016年 3月 20日 天氣報告
氣溫:19.8度 @ 20:30
相對濕度:百分之 89%
天氣:薄霧

沒有留言:

張貼留言