MPLAB C Compiler for dsPIC DSCs v3_24 を MPLAB にインストールしました [MCU]
PICkit3 のために MPLAB をインストールした時には dsPIC の Compiler はインストールしていなかったので、追加で dsPIC の Compiler をインストールしました。
〔ツールのダウンロード〕
ツールは「MPLAB C Compiler for dsPIC DSCs」からダウンロードします。
Microchip の場合、評価バージョン(MPLAB C Evaluation Version)は、
The Compiler Evaluation Version is free! It is full-featured for the first 60 days. After 60 days only optimization level 1 can be enabled in the compiler. The compiler will continue to function after 60 days, but code size may increase. There are no restrictions on the use of this C compiler (see license text for details).
と太っ腹にも評価期間が過ぎても使い続けられます。
〔インストール〕
ダウンロードしたファイルを解凍し、出てきた "MPLABCdsPIC_v3_24StdEval.exe" を起動するとインストールが開始されます。
インストールした時の条件は、標準で以下になります。
Destination Directory:
C:\Program Files\Microchip\MPLAB C30
Setup type selected: Complete
Components selected:
Compiler
dsPIC device support
Examples
Documents
Standard Library Source
Peripheral Library Source
dsPIC Peripheral Library Source
〔動作確認〕
それでは動作確認を兼ねて簡単なソースのコンパイルをしてみます。
サンプルは「PICマイコン・スタートアップ」の最初の例題です。
簡単なプログラムなので何事もなく、「BUILD SUCCEEDED」になりました。
本当は初めに Build 条件を Debug にしてしまったので、Release で作りなおしました。
このプログラムの動作確認はサトー電気で買ったブレッドボードを木の台に固定してからする予定です。
今日は腰が痛くて木の台を適当な大きさに鋸で切れませんでした。
〔ツールのダウンロード〕
ツールは「MPLAB C Compiler for dsPIC DSCs」からダウンロードします。
Microchip の場合、評価バージョン(MPLAB C Evaluation Version)は、
The Compiler Evaluation Version is free! It is full-featured for the first 60 days. After 60 days only optimization level 1 can be enabled in the compiler. The compiler will continue to function after 60 days, but code size may increase. There are no restrictions on the use of this C compiler (see license text for details).
と太っ腹にも評価期間が過ぎても使い続けられます。
〔インストール〕
ダウンロードしたファイルを解凍し、出てきた "MPLABCdsPIC_v3_24StdEval.exe" を起動するとインストールが開始されます。
インストールした時の条件は、標準で以下になります。
Destination Directory:
C:\Program Files\Microchip\MPLAB C30
Setup type selected: Complete
Components selected:
Compiler
dsPIC device support
Examples
Documents
Standard Library Source
Peripheral Library Source
dsPIC Peripheral Library Source
〔動作確認〕
それでは動作確認を兼ねて簡単なソースのコンパイルをしてみます。
サンプルは「PICマイコン・スタートアップ」の最初の例題です。
簡単なプログラムなので何事もなく、「BUILD SUCCEEDED」になりました。
本当は初めに Build 条件を Debug にしてしまったので、Release で作りなおしました。
このプログラムの動作確認はサトー電気で買ったブレッドボードを木の台に固定してからする予定です。
今日は腰が痛くて木の台を適当な大きさに鋸で切れませんでした。
コメント 0