Dfu-util: command not found on MBP, Mac OS 10.9.4 [Solved]

Hello Guys,

I was trying to install dfu-util on my MBP so that I can update the my spark core with the latest firmware but I had problems on that:

According to instructions on http://dfu-util.gnumonks.org/, it seems macports is the only thing I need. So I went to https://www.macports.org/install.php, following the instructions to install:

  1. install xcode
  2. xcode-select --install
  3. download MacPorts-2.3.1-10.9-Mavericks.pkg and install
  4. checked $ port version, looks good.

but when I’m trying to use the dfu-util, I had the following problem.

$ spark flash --usb cc3000
Apparently I didn’t find a DFU device? util said
Error writing firmware… no dfu device found.

$ sudo dfu-util -l
Password:
sudo: dfu-util: command not found

Any suggestions on this?

Thanks,
Yan

1 Like

Hi @FlyingYanz,

I think you missed the part where you installed dfu-util, something like:

sudo port install dfu-util
sudo port install libusb

Thanks,
David

3 Likes

Thanks David!

This solved the problem

2 Likes