Go Down

Topic: Mettre un bootloader sur un atmega168 avec un Mac (Read 5 times) previous topic - next topic

Jean-François

Grosse panne d'internet dans ma région ce soir ...  >:(

J'ai essayé d'installer le patch, il s'est apparemment configuré, mais "make" me donne :

Code: [Select]
.....
DAPA.C:1314: error: 'ftdibb_setBitMode' cannot be used as a function
DAPA.C: In destructor 'TDAPA::~TDAPA()':
DAPA.C:1375: error: 'bbpg_dev_handle' was not declared in this scope
DAPA.C:1375: error: 'ftdibb_setBitMode' cannot be used as a function
DAPA.C:1376: error: 'ftdibb_close' cannot be used as a function
make[2]: *** [DAPA.o] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1



Autrement on dirait que averdude est installé :

Code: [Select]
$ avrdude -v

avrdude: Version 5.6cvs, compiled on Nov 20 2008 at 19:22:47
        Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

        System wide configuration file is "/etc/avrdude.conf"
        User configuration file is "/Users/JFS/.avrduderc"
        User configuration file does not exist or is not a regular file, skipping


avrdude: no programmer has been specified on the command line or the config file
        Specify a programmer using the -c option and try again


cette version possède des librairies qui s'appellent bitbang.h ...
mais après je patauge :-?
MacBook intel core 2 duo  os X snow Leopard 10.6
 eMac PPc G4  os X Leopard 10.5
powerbook G4 os X Leopard 10.5
imac PPC G3 os X Pa

nrolland

pour avrdude essaye de faire un avrdude -c toto dans  une console pour avoir la liste des programmeurs si tu as ftbb c'est tout bon.

Nicolas

Jean-François

J'avais pas réalisé pour "toto"... ;D

Code: [Select]
avrdude: Can't find programmer id "toto"


J'ai pas ftbb dans la liste  :-[

Code: [Select]
Valid programmers are:
 c2n232i  = serial port banging, reset=dtr sck=!rts mosi=!txd miso=!cts [/etc/avrdude.conf:622]
 dasa3    = serial port banging, reset=!dtr sck=rts mosi=txd miso=cts [/etc/avrdude.conf:609]
 dasa     = serial port banging, reset=rts sck=dtr mosi=txd miso=cts [/etc/avrdude.conf:596]
 siprog   = Lancos SI-Prog <http://www.lancos.com/siprogsch.html> [/etc/avrdude.conf:583]
 ponyser  = design ponyprog serial, reset=!txd sck=rts mosi=dtr miso=cts [/etc/avrdude.conf:570]
 pavr     = Jason Kyle's pAVR Serial Programmer [/etc/avrdude.conf:541]
 dragon_dw = Atmel AVR Dragon in debugWire mode [/etc/avrdude.conf:534]
 dragon_hvsp = Atmel AVR Dragon in HVSP mode  [/etc/avrdude.conf:526]
 dragon_pp = Atmel AVR Dragon in PP mode    [/etc/avrdude.conf:518]
 dragon_isp = Atmel AVR Dragon in ISP mode   [/etc/avrdude.conf:510]
 dragon_jtag = Atmel AVR Dragon in JTAG mode  [/etc/avrdude.conf:502]
 jtag2dw  = Atmel JTAG ICE mkII in debugWire mode [/etc/avrdude.conf:494]
 jtag2isp = Atmel JTAG ICE mkII in ISP mode [/etc/avrdude.conf:486]
 jtag2    = Atmel JTAG ICE mkII            [/etc/avrdude.conf:478]
 jtag2fast = Atmel JTAG ICE mkII            [/etc/avrdude.conf:470]
 jtag2slow = Atmel JTAG ICE mkII            [/etc/avrdude.conf:462]
 jtagmkII = Atmel JTAG ICE mkII            [/etc/avrdude.conf:454]
 jtag1slow = Atmel JTAG ICE (mkI)           [/etc/avrdude.conf:447]
 jtag1    = Atmel JTAG ICE (mkI)           [/etc/avrdude.conf:439]
 jtagmkI  = Atmel JTAG ICE (mkI)           [/etc/avrdude.conf:431]
 avr911   = Atmel AppNote AVR911 AVROSP    [/etc/avrdude.conf:425]
 avr109   = Atmel AppNote AVR109 Boot Loader [/etc/avrdude.conf:419]
 butterfly = Atmel Butterfly Development Board [/etc/avrdude.conf:413]
 usbtiny  = USBtiny simple USB programmer, http://www.ladyada.net/make/usbtinyisp/ [/etc/avrdude.conf:407]
 usbasp   = USBasp, http://www.fischl.de/usbasp/ [/etc/avrdude.conf:401]
 avr910   = Atmel Low Cost Serial Programmer [/etc/avrdude.conf:395]
 stk600hvsp = Atmel STK600 in high-voltage serial programming mode [/etc/avrdude.conf:389]
 stk600pp = Atmel STK600 in parallel programming mode [/etc/avrdude.conf:383]
 stk600   = Atmel STK600                   [/etc/avrdude.conf:377]
 stk500hvsp = Atmel STK500 V2 in high-voltage serial programming mode [/etc/avrdude.conf:371]
 stk500pp = Atmel STK500 V2 in parallel programming mode [/etc/avrdude.conf:365]
 stk500v2 = Atmel STK500 Version 2.x firmware [/etc/avrdude.conf:359]
 mib510   = Crossbow MIB510 programming board [/etc/avrdude.conf:353]
 stk500v1 = Atmel STK500 Version 1.x firmware [/etc/avrdude.conf:347]
 stk500   = Atmel STK500                   [/etc/avrdude.conf:341]
 avrisp2  = Atmel AVR ISP mkII             [/etc/avrdude.conf:331]
 avrispmkII = Atmel AVR ISP mkII             [/etc/avrdude.conf:325]
 avrispv2 = Atmel AVR ISP V2               [/etc/avrdude.conf:319]
 avrisp   = Atmel AVR ISP                  [/etc/avrdude.conf:313]
MacBook intel core 2 duo  os X snow Leopard 10.6
 eMac PPc G4  os X Leopard 10.5
powerbook G4 os X Leopard 10.5
imac PPC G3 os X Pa

nrolland

Bon ben revenons sur ta compile de uisp
Que dit le configure (donne moi la sortie)

Nicolas

Jean-François

J'ai ça en sortie de ./configure :

Code: [Select]
powerbook:uisp-20050207-with-usb-bbpg-patch $ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
rm: conftest.dSYM: is a directory
checking for working strtod... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating uisp.1
config.status: creating uisp.spec
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
powerbook:uisp-20050207-with-usb-bbpg-patch $
MacBook intel core 2 duo  os X snow Leopard 10.6
 eMac PPc G4  os X Leopard 10.5
powerbook G4 os X Leopard 10.5
imac PPC G3 os X Pa

Go Up