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.
Andreas