Jump to content

[SOLVED] Can't flash Duck with OSX


Recommended Posts

Hi all,

Im trying to flash my USB Duck with the Twin firmware (c_duck_v2.1.hex), but I'm stuck at the dfu programmer stage. I have just got this key and have never flashed it before. Ive just tested a couple of payloads...

When I execute ./bootstrap.sh i get:

sh-3.2# ./bootstrap.sh

./bootstrap.sh: line 2: aclocal: command not found

./bootstrap.sh: line 3: autoheader: command not found

./bootstrap.sh: line 4: automake: command not found

./bootstrap.sh: line 5: autoconf: command not found

Yes I am in the right directory.

The only file among the others extracted is aclocal.m4...

So I continued, and when I executed make here is what I got.

sh-3.2# make

/Library/Developer/CommandLineTools/usr/bin/make all-recursive

Making all in src

gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c

main.c:29:10: fatal error: 'usb.h' file not found

#include <usb.h>


1 error generated.

make[2]: *** [main.o] Error 1

make[1]: *** [all-recursive] Error 1

make: *** [all] Error 2

In what state does my USB have to be in? DFU mode?
What to do?
Thank you all.
Link to comment
Share on other sites

  • 5 weeks later...
  • 8 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...