Windows CE6用の232USB.DLL
オリジナルの作者さんと連絡とれたので、WindowsCE6用の232USB.DLLと232USB.EXEのバイナリを掲載しておきます。
使い方は、あなたが落とした銀のペルソナさんのページを参照してください。
①232USB.DLLをWindowsフォルダへコピー
②232USBEXE.EXEは、好きなフォルダにおいて、実行する
③USB機器を差し込んで、画面上で設定しながらNEWボタンで反応するか確認する。
※ちなみにEKEN M001 ではUSB機器によっては、差し込んでもOSが認識しないことがあります。
多分USBの電源電圧、供給電流などが怪しいからかもしれない。
ですので、レジストリも一緒に掲載しておきます。
レジストリを登録すれば232USBEXE.EXEを実行する必要はなく、そのままUSB機器を接続するだけで
使用することが出来ます。
※レジストリファイルは、エクスプローラからクリックすると登録されます。
(もし、クリックしても登録されない場合は、regedit.exeのimportで登録してください。)
ソースも一緒に掲載しておきます。VisualStudio2005+WindowsCE6+CE R2+CE R3のデバイス エミュレータ: ARMV4Iでビルドしたソースです。
「232usbdllのソース」
「usb232exeのソース」
※2010/12/10
ユーザーモードか、カーネルモードか、はっきりしていなかったので修正しました。現在ユーザーモードです。

コメント
Dear Zoroyoshi,
I really appreciate your 232usb driver, that works fine for the devices I tested (ublox GPS, Cinterion modem, Prolific PL2303 Serial Port.)
However, I suspect a bug in the evaluateevent(bit) function.
In my humble opinion, the line that prepare the next fx->waitbit value (newbit) should read:
newbit = curbit | ((curbit >> 16) & bit);
instead of the current code:
newbit = (curbit | (curbit >> 16)) & bit;
With the current code, the Mask part of newbit (high word) is reset and this also resets the global mask in fx->waitbit.
I guess this is not really the expected behaviour ;-)
Hope this will help, and thanks again for your great job.
Remi
投稿: rdg | 2011年2月22日 (火) 23時09分
そうでしたか・・・修正します。ご指摘ありがとうございます。
投稿: solarisintel | 2011年2月27日 (日) 22時46分