<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tipset &#187; AVR</title>
	<atom:link href="http://hasumi.info/~h2/tag/avr/feed/" rel="self" type="application/rss+xml" />
	<link>http://hasumi.info/~h2</link>
	<description>MacやiPhone/iPod Touch関連のTipsを書くハズが発散してるページ</description>
	<lastBuildDate>Wed, 04 Jan 2012 14:23:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AVRのプログラミング環境</title>
		<link>http://hasumi.info/~h2/2008/10/26/avr%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e7%92%b0%e5%a2%83/</link>
		<comments>http://hasumi.info/~h2/2008/10/26/avr%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e7%92%b0%e5%a2%83/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 21:13:02 +0000</pubDate>
		<dc:creator>p0n</dc:creator>
				<category><![CDATA[工作]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://hasumi.info/~h2/?p=380</guid>
		<description><![CDATA[PICをちょっとかじった程度にも関わらずAVRに浮気しました
やめた理由の大半は，こちらのサイト「いますぐPICをやめてAVRに移行すべき10の理由」が代弁してくれていますが，なんというかPICのアーキテクチャが気持ち悪 [...]]]></description>
			<content:encoded><![CDATA[<p>PICをちょっとかじった程度にも関わらずAVRに浮気しました</p>
<p>やめた理由の大半は，こちらのサイト「<a title="いますぐPICをやめてAVRに移行すべき10の理由" href="http://d.hatena.ne.jp/yaneurao/20080228">いますぐPICをやめてAVRに移行すべき10の理由</a>」が代弁してくれていますが，なんというかPICのアーキテクチャが気持ち悪い<br />
ちょっとしたものを作ろうとするだけで．なんか気合いがいるので腰が引けるというか・・・</p>
<p>で，AVRを始めた最大の理由はやっぱり　「“タダ”でC言語の開発環境が整う！！」 ってこと</p>
<p>日常的にBinutilsを使う自分ですが，ちょっと何か作ろうって時にはCだとかなりラクできるので・・・<br />
それに，チップ毎に命令を覚える必要がないので，いろんなチップを試しやすい</p>
<p>MacでAVR開発となるとかなりの少数派になるわけですが，幸いにもGCCがAVRを正式サポートしています<br />
というわけで，LinuxだろうとFreeBSDだろうと開発プラットフォームは選びません<br />
というか，Windows用の開発環境でもコンパイラはGCCです</p>
<p>そして，開発元のAtmelから無料でWindows用のIDEが公開されています<br />
MacやとXcodeが使えます</p>
<p>調べたツールをまとめておくと</p>
<ul>
<li>Mac
<ul>
<li><a title="MacPorts" href="http://www.macports.org/">MacPorts</a>でインストール<br />
<code># port install avr-gcc</code> で一撃やけどビルドするので時間がかかる </li>
<li><a title="OSX-AVR" href="http://www.digithink.com/OSX-AVR/">OSX-AVR</a><br />
ビルド済みのGCCやXcodeのテンプレート付き<br />
開発はストップしていて，作者さんが次のAVR MacPackをオススメされています </li>
<li><a title="AVR MacPack" href="http://www.obdev.at/products/avrmacpack/">AVR MacPack<br />
</a>ビルド済みのGCCやXcodeのテンプレート付き<br />
<a title="Little Snitch" href="http://www.obdev.at/products/littlesnitch/index.html">Little Snitch</a>の開発元の製品（なんか見たことあるサイトやと思ったｗ）<br />
更新も結構頻繁に行われている </li>
</ul>
</li>
<li>Windows
<ul>
<li><a title="AVR Studio" href="http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=2725">AVR Studio</a><br />
開発元Atmel製のIDE<br />
Cのコンパイラは入ってないが，WinAVRを組み込むことでCで開発できる<br />
ダウンロードが死ぬほど遅いｗ </li>
<li><a title="WinAVR" href="http://winavr.sourceforge.net/">WinAVR</a>（wheneverと発音するらしい）<br />
Windows版のAVR用GCCクロスコンパイラ<br />
AVR Studioとセットで使うときは，先にAVR Studioをインストールしておく </li>
</ul>
</li>
<li>Linux (Ubuntu)
<ul>
<li>APTでインストール<br />
<code># apt-get install gcc-avr</code>で一撃</li>
<li>GCCを自前ビルド<br />
 時間はかかるけど難しくはない</li>
</ul>
</li>
</ul>
<p>使うかどうかは別として，WinAVRのサイトにはC++もサポートって書いてあるけど，AVR MacPackのサイトには何も書いていない</p>
<p>とりあえずMac用にAVR MacPackを，Windows用にはAVR Studio+WinAVRを入れてみたので，AVRに慣れたら試してみよう</p>
]]></content:encoded>
			<wfw:commentRss>http://hasumi.info/~h2/2008/10/26/avr%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e7%92%b0%e5%a2%83/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>USBシリアル変換モジュール AE-UM232R</title>
		<link>http://hasumi.info/~h2/2008/10/10/usb%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%ab%e5%a4%89%e6%8f%9b%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab-ae-um232r/</link>
		<comments>http://hasumi.info/~h2/2008/10/10/usb%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%ab%e5%a4%89%e6%8f%9b%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab-ae-um232r/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 20:28:46 +0000</pubDate>
		<dc:creator>p0n</dc:creator>
				<category><![CDATA[工作]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Fonera]]></category>
		<category><![CDATA[iPhone/iPodTouch]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://hasumi.info/~h2/?p=247</guid>
		<description><![CDATA[iPhone/iPod TouchやLa Foneraとのシリアル通信用にTTLレベルのシリアルとUSBの変換ジュールを買ってみた
秋月AE-UM232Rは，FTDIのFT232RLを使用した組み立て済みモジュールでたっ [...]]]></description>
			<content:encoded><![CDATA[<p>iPhone/iPod TouchやLa Foneraとのシリアル通信用にTTLレベルのシリアルとUSBの変換ジュールを買ってみた<br />
秋月<a title="AE-UM232R" href="http://akizukidenshi.com/catalog/items2.php?p=1&amp;q=AE-UM232R">AE-UM232R</a>は，FTDIのFT232RLを使用した組み立て済みモジュールでたった950円</p>
<p>定番なだけあって，Windowsはもちろん，Mac OS, Linux, Windows CEまでサポートされてる</p>
<p>これまで，マイコンなどをPCにつなぐには<br />
　マイコン -&gt; MAX232系 -&gt; RS-232C- USB変換 -&gt; PC<br />
とかなり接続が面倒やったけど<br />
　マイコン -&gt; AE-UM232R -&gt; PC<br />
となるのでムダな変換もなくなってシンプル(^_^)</p>
<p>早速MacBookにドライバを入れてつないでみた</p>
<p>ドライバのインストールは<a title="FTDI" href="http://www.ftdichip.com/Drivers/VCP.htm">FTDIのサイト</a>からディスクイメージを落としてきて，インストーラを起動するだけ<br />
インストール終了後は再起動を要求される</p>
<p>再起動後，モジュールをつないでUSB Proberを実行するとバッチリ認識！！<br />
<img class="alignnone size-full wp-image-261" title="ae-um232r1" src="http://hasumi.info/~h2/wp-content/uploads/2008/10/ae-um232r1.png" alt="AE-UM232R" width="202" height="270" />   <a href="http://hasumi.info/~h2/wp-content/uploads/2008/10/ae-um232r2.png"><span style="color: #000000; text-decoration: none;"><img class="alignnone size-medium wp-image-250" title="ae-um232r2" src="http://hasumi.info/~h2/wp-content/uploads/2008/10/ae-um232r2-300x214.png" alt="USB Prober" width="300" height="214" /></span></a></p>
]]></content:encoded>
			<wfw:commentRss>http://hasumi.info/~h2/2008/10/10/usb%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%ab%e5%a4%89%e6%8f%9b%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab-ae-um232r/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

