トップページへ
Under Updating Everyday
ボルダリング 日記 お絵かき 更新履歴 その他 メール
 Translate to English by google

« サキbirthday16才 | メイン | iPod to HeadphoneAmp Cable »

2008年07月08日

Arduino Burn168 (覚書)    (NETで見つけたモノ) /(コンピュータの話など) /(仕事関係) /(工作とか) Bookmark and Share

覚書エントリー
Arduino bootloaderをATMega168へ書き込む時のフューズとロックビットの設定
(Arduino Playgroundから無断転載)

ATmega168 Fuse Settings

Once set the fuses should read 0xF8, 0xDF and 0xFF, which is equivalent to:

* Boot Flash section size = 1024 words Boot start address = $1C00; [BOOTSZ=00]; default value
* Boot Reset Vector Enabled (default address = $0000); [BOOTRST=0]
* Brown-out detection disabled; [BODLEVEL=111]
* Ext. Crystal Osc.; Frequency 8.0 - MHz; Startup time PWRDWN/RESET: 16K CK/14 CK + 64ms; [CKSEL=1111 SUT=0]


ATmega168 LockBit Settings

Once set the lockbits should read 0xFF for ATmega8 and 0xCF for ATmega168, which is equivalent to:

* Mode1: No memory lock features enabled
* Application Protection Mode1: No lock on SPM and LPM in Application Section
* Boot Loader Protection Mode3: LPM and SPM prohibited in Boot Loader Section


きっこの「練習日記2」はこちら

投稿者 nama : 2008年07月08日 12:47

コメント


コメントしてください




(書式を変更するような一部のHTMLタグを使うことができます)