Interface Device Laboratory, Kanazawa University http://ifdl.jp/
CH340を炙って削ってみた
秋田純一
@akita11
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
CH340とは?
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
便利すぎる
外付け部品=パスコン2個だけ
Macだと標準でドライバがあたる
安すぎる、小さすぎる、
手半田できすぎる(SOP, TSOP)
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
ラインナップが多い
・・・なんか似てないか?
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
まずは炙る
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
チップを拝む
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
CH340E/G/Kを比べる
同じシリコン
※CH340Gだけ外付け水晶が必要
→初期版は別シリコン
→OSC内蔵版をつくるときにGも共用?
たまたま見つけた(たぶん初期版の)G
2mm角近いダイサイズ
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
同一シリコンと別パッケージの対応
ボンディング跡(使用パッド)とピン配置・位置から、対応関係を推測
パッケージとチップ(のパッド)をつなぐ線(ボンディングワイヤ)を変えているだろう
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
ワイヤーボンディングの分析
少しず削っていく
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
削る途中でワイヤーが見える
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
撮影用の位置合わせ治具
やすりで少し削る→撮影、を繰り返す
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
つなげて動画にする
https://twitter.com/akita11/status/1399512317923008512?s=20
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
1枚ずつワイヤ断面を探して重ねる
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
ワイヤの接続を再現
だいたい推測とあってた!
(が、GNDが見つからん・・・)
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
きれいな画像を取りたい
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
こんな感じに
https://twitter.com/akita11/status/1401000280750129153?s=20
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
「比較明合成」ってのがあるよ?
星の軌跡の写真とかでよく使うらしい
ImageMagickの“convert”コマンドでもできる
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
比較明合成してみた
ほぼボンディングダイアグラムやん・・・
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
ピン配置との対応を確認
CH340E
CH340K
CH340G
2021/6/12 Interface Device Laboratory, Kanazawa University http://ifdl.jp/
CH340E/G/Kを並べて比較
電源(VCC/V3/GND)とD+/D-は共通
TXD, RXDも共通だった
その他の制御信号はFWで自由に配置
XI(水晶in)はE/KではRTS#/DTR#につながってる

CH340を炙って削ってみた

  • 1.
    Interface Device Laboratory,Kanazawa University http://ifdl.jp/ CH340を炙って削ってみた 秋田純一 @akita11
  • 2.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ CH340とは?
  • 3.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ 便利すぎる 外付け部品=パスコン2個だけ Macだと標準でドライバがあたる 安すぎる、小さすぎる、 手半田できすぎる(SOP, TSOP)
  • 4.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ ラインナップが多い ・・・なんか似てないか?
  • 5.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ まずは炙る
  • 6.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ チップを拝む
  • 7.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ CH340E/G/Kを比べる 同じシリコン ※CH340Gだけ外付け水晶が必要 →初期版は別シリコン →OSC内蔵版をつくるときにGも共用? たまたま見つけた(たぶん初期版の)G 2mm角近いダイサイズ
  • 8.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ 同一シリコンと別パッケージの対応 ボンディング跡(使用パッド)とピン配置・位置から、対応関係を推測 パッケージとチップ(のパッド)をつなぐ線(ボンディングワイヤ)を変えているだろう
  • 9.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ ワイヤーボンディングの分析 少しず削っていく
  • 10.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ 削る途中でワイヤーが見える
  • 11.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ 撮影用の位置合わせ治具 やすりで少し削る→撮影、を繰り返す
  • 12.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ つなげて動画にする https://twitter.com/akita11/status/1399512317923008512?s=20
  • 13.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ 1枚ずつワイヤ断面を探して重ねる
  • 14.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ ワイヤの接続を再現 だいたい推測とあってた! (が、GNDが見つからん・・・)
  • 15.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ きれいな画像を取りたい
  • 16.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ こんな感じに https://twitter.com/akita11/status/1401000280750129153?s=20
  • 17.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ 「比較明合成」ってのがあるよ? 星の軌跡の写真とかでよく使うらしい ImageMagickの“convert”コマンドでもできる
  • 18.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ 比較明合成してみた ほぼボンディングダイアグラムやん・・・
  • 19.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ ピン配置との対応を確認 CH340E CH340K CH340G
  • 20.
    2021/6/12 Interface DeviceLaboratory, Kanazawa University http://ifdl.jp/ CH340E/G/Kを並べて比較 電源(VCC/V3/GND)とD+/D-は共通 TXD, RXDも共通だった その他の制御信号はFWで自由に配置 XI(水晶in)はE/KではRTS#/DTR#につながってる