# テスト結果

##### 【概要】

最初は、ハードウエアとかソフトウエア(SDK)の不備などを疑って、EPS8266搭載ボードを交換したり、USBのシリアル通信ハードを変えたり、Arduinoの出力プログラムを修正したり、SDKのバージョンを変えて問題を回避しできないかと試みていました。しかし、一向に問題を解決出来ませんでした。  
   
また、試しにArduino UNO R3 (arduino.cc製)に接続したところ問題無く出力しています。  
   
これまでは、OS X El captenになってからアップル社製FTDIドライバーのみで開発して来ました。特に問題が無かったのですが、試しにFTDI chipsのFTDIドライバー(Mac OS X 10.9 and above/ 2015-04-15/ version 2.3)と入れ替えたところ問題無く出力できるようになりました。ドライバーの問題か？、ということで、次のパターンでシリアルモニタへの出力テストをしてみました。

##### 【テスト結果】

========================  
使用ボード: EPS-WROOM-02 開発ボード (スイッチサイエンス社製)  
 [ https://www.switch-science.com/catalog/2500/](https://www.switch-science.com/catalog/2500/)  
ボード上のシリアルIF-IC: FT231XS (on Borad)

\*\*\*\*\*\*\*\*\*\*  
使用ドライバー: com.FTDI.driver.FTDIUSBSerialDriver

シリアル結果  
説明:  
・全て正しく出力

<span style="color: rgb(53, 152, 219);">\[\[ LED Chika 2016-05-08 19:19 A10 Objs.,Inc. \]\]</span>

<span style="color: rgb(53, 152, 219);">------ setup() start ------</span>  
<span style="color: rgb(53, 152, 219);">print test 01</span>  
<span style="color: rgb(53, 152, 219);">print test 02</span>  
<span style="color: rgb(53, 152, 219);">print test 03</span>  
<span style="color: rgb(53, 152, 219);">print test 04</span>  
<span style="color: rgb(53, 152, 219);">print test 05</span>  
<span style="color: rgb(53, 152, 219);">print test 06</span>  
<span style="color: rgb(53, 152, 219);">print test 07</span>  
<span style="color: rgb(53, 152, 219);">print test 08</span>  
<span style="color: rgb(53, 152, 219);">print test 09</span>  
<span style="color: rgb(53, 152, 219);">print test 10</span>  
<span style="color: rgb(53, 152, 219);">------ setup() end ------</span>

\*\*\*\*\*\*\*\*\*\*  
使用ドライバー: com.apple.driver.AppleUSBFTDI

シリアル結果  
説明:  
・途中で途切れる  
・プログラムのダウンロードと実行は行われているようだ

  
<span style="color: rgb(53, 152, 219);"> \[\[ LED Chika 2016-05-08 19:19 A10 Objs.,Inc. \]\]</span>

\------

========================  
使用ボード: Board1 ver.1.0 (KURAHASHIYA製)  
 [ https://www.switch-science.com/catalog/2696/](https://www.switch-science.com/catalog/2696/)  
 [http://jiwashin.blogspot.jp/p/esp-wroom-02-board1.html](http://jiwashin.blogspot.jp/p/esp-wroom-02-board1.html)  
シリアルIF-IC: FT232RL  
 USBシリアルIF: 秋月電子通商 FT232RL USB シリアル変換モジュール  
 [http://akizukidenshi.com/catalog/g/gK-01977/](http://akizukidenshi.com/catalog/g/gK-01977/)

\*\*\*\*\*\*\*\*\*\*  
使用ドライバー: com.FTDI.driver.FTDIUSBSerialDriver

シリアル結果  
説明:  
・全て正しく出力

  
<span style="color: rgb(53, 152, 219);"> \[\[ LED Chika 2016-05-08 19:19 A10 Objs.,Inc. \]\]</span>

<span style="color: rgb(53, 152, 219);">------ setup() start ------</span>  
<span style="color: rgb(53, 152, 219);">print test 01</span>  
<span style="color: rgb(53, 152, 219);">print test 02</span>  
<span style="color: rgb(53, 152, 219);">print test 03</span>  
<span style="color: rgb(53, 152, 219);">print test 04</span>  
<span style="color: rgb(53, 152, 219);">print test 05</span>  
<span style="color: rgb(53, 152, 219);">print test 06</span>  
<span style="color: rgb(53, 152, 219);">print test 07</span>  
<span style="color: rgb(53, 152, 219);">print test 08</span>  
<span style="color: rgb(53, 152, 219);">print test 09</span>  
<span style="color: rgb(53, 152, 219);">print test 10</span>  
<span style="color: rgb(53, 152, 219);">------ setup() end ------</span>

  
\*\*\*\*\*\*\*\*\*\*  
使用ドライバー: com.apple.driver.AppleUSBFTDI

シリアル結果  
説明:  
・途中で途切れる  
・プログラムのダウンロードと実行は行われているようだ

  
<span style="color: rgb(53, 152, 219);"> \[\[ LED Chika 2016-05-08 19:19 A10 Objs.,Inc. \]\]</span>

\------

========================  
使用ボード: Arduino UNO R3 (arduino.cc製)  
 [https://www.arduino.cc/en/main/arduinoBoardUno](https://www.arduino.cc/en/main/arduinoBoardUno)  
 https://www.switch-science.com/catalog/789/  
シリアルIF-IC: Atmega16U2 (on Borad)

\*\*\*\*\*\*\*\*\*\*  
使用ドライバー: com.FTDI.driver.FTDIUSBSerialDriver

シリアル結果  
説明:  
・全て正しく出力

  
<span style="color: rgb(53, 152, 219);"> \[\[ LED Chika 2016-05-08 19:19 A10 Objs.,Inc. \]\]</span>

<span style="color: rgb(53, 152, 219);">------ setup() start ------</span>  
<span style="color: rgb(53, 152, 219);">print test 01</span>  
<span style="color: rgb(53, 152, 219);">print test 02</span>  
<span style="color: rgb(53, 152, 219);">print test 03</span>  
<span style="color: rgb(53, 152, 219);">print test 04</span>  
<span style="color: rgb(53, 152, 219);">print test 05</span>  
<span style="color: rgb(53, 152, 219);">print test 06</span>  
<span style="color: rgb(53, 152, 219);">print test 07</span>  
<span style="color: rgb(53, 152, 219);">print test 08</span>  
<span style="color: rgb(53, 152, 219);">print test 09</span>  
<span style="color: rgb(53, 152, 219);">print test 10</span>  
<span style="color: rgb(53, 152, 219);">------ setup() end ------</span>

  
\*\*\*\*\*\*\*\*\*\*  
使用ドライバー: com.apple.driver.AppleUSBFTDI

シリアル結果  
説明:  
・全て正しく出力

<span style="color: rgb(53, 152, 219);"> \[\[ LED Chika 2016-05-08 19:19 A10 Objs.,Inc. \]\]</span>

<span style="color: rgb(53, 152, 219);">------ setup() start ------</span>  
<span style="color: rgb(53, 152, 219);">print test 01</span>  
<span style="color: rgb(53, 152, 219);">print test 02</span>  
<span style="color: rgb(53, 152, 219);">print test 03</span>  
<span style="color: rgb(53, 152, 219);">print test 04</span>  
<span style="color: rgb(53, 152, 219);">print test 05</span>  
<span style="color: rgb(53, 152, 219);">print test 06</span>  
<span style="color: rgb(53, 152, 219);">print test 07</span>  
<span style="color: rgb(53, 152, 219);">print test 08</span>  
<span style="color: rgb(53, 152, 219);">print test 09</span>  
<span style="color: rgb(53, 152, 219);">print test 10</span>  
<span style="color: rgb(53, 152, 219);">------ setup() end ------</span>

========================  
【対処方法】  
・EPS8266使用をしたOS X El capten上のArduion開発環境でシリアルモニタの  
 出力には当面の間、次のドライバーを使用する事にしました。  
 FTDI chipsのFTDIドライバー(Mac OS X 10.9 and above/ 2015-04-15/ version 2.3)  
[http://www.ftdichip.com/Drivers/VCP.htm](http://www.ftdichip.com/Drivers/VCP.htm)