0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Arduino Uno R4 MINIMAにアップロードできない

Last updated at Posted at 2023-08-29

Problem:
Cannot open DFU device 2341:0069 found on devnum 7 (LIBUSB_ERROR_NOT_FOUND)
Solution:
Use Arduino IDE1.8.x and install Driver.

arduino UNO R4 MINIMA を購入したので、
ワクワクで PlatformIOにてビルドしてみました。環境はWindows11です。
platform.iniの設定は以下の通り。

[env:uno_r4_minima]
platform = renesas-ra
board = uno_r4_minima
framework = arduino

ビルド自体は通るのですが、書き込みでエラー。

Cannot open DFU device 2341:0069 found on devnum 7 (LIBUSB_ERROR_NOT_FOUND)
No DFU capable USB device available
Failed uploading: uploading error: exit status 74

コントロール パネル>ハードウェアとサウンド>デバイスとプリンター
で確認してみると、デバイスデバイスがちゃんと認識されていないようです。

image.png

色々調べてみたのですが、ArduinoIDE 1.8.xから立ち上げると
ドライバーのインストールを促されるようです。

image.png

インストールしたところ、デバイスが正常に動作していると出るようになりました。

image.png

この状態で再度build&uploadしてみると

image.png

正しくアップロードされました!

アップロード中は自動的にDFUモード(ビルトインLEDがゆっくり明滅する)になり、書き込みが終わると通常モードになるようです。
なお、リセットボタンをダブルクリックすることでもDFUモードにすることができます。

ちなみに基板の裏にあるハート型のランド、調べてみたら22ピンにつながっているみたいだけど、何かに使えるのかなあ。。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?