Arduino saying target not in dfu mode


#1

I pressed the magic button and the purple lights flashed and it says target is not in dfu mode. This is exactly what it says: Failed to execute script main
Upgrading target on /dev/cu.usbserial-DO00KF1W with DFU package /private/var/folders/7r/x9xrgkz52jqfm_hhmpjmx6y40000gn/T/arduino_build_66590/sketch_mar02a.ino.zip. Flow control is disabled.

Failed to upgrade target. Error is: Serial port could not be opened on /dev/cu.usbserial-DO00KF1W. Reason:

Possible causes:

  • bootloader, SoftDevice or application on target does not match the requirements in the DFU package.
  • baud rate or flow control is not the same as in the target bootloader.
  • target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode.
    Failed to execute script main

#2

Oh no! What port do you have selected on your machine? What OS are you running?


#3

The OS is High Sierra, and I am not sure how to check the port.


#4

Okay, what is checked off when you go to Tools -> Port?


#5

I think it somehow fixed itself. I have not used it for a month but it is functioning properly now :grinning: