Hallo,
ich benutze das Webmodul von Uli... Als Firmware benutze ich http://www.ulrichradig.de/forum/viewtop ... =35&t=1214 von Wil aktuelle Version: 1.0.6. Ich habe zum testen das hexFile welches beilag eingespielt. Dieses Funktioniert (Webseite baut sich auf und ich kann die Ports Ein/Aus schalten).
Bei der SD-Karteleuchtet die LED immer, auch wenn keine SD-Karte steckt. Den Schalter der SD-Karte habe ich an masse geführt so wie zum ic.
2. Beim kompilieren mit WinAVR bekomme ich immer folgenden Fehler ausgegeben:
avr-gcc -c -mmcu=atmega644p -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=tcpservice/tcpcmd.lst -std=gnu99 tcpservice/tcpcmd.c -o tcpservice/tcpcmd.o
In file included from tcpservice/tcpcmd.c:46:
tcpservice/../sdkarte/sd_raw.h:127: warning: function declaration isn't a prototype
tcpservice/../sdkarte/sd_raw.h:128: warning: function declaration isn't a prototype
tcpservice/../sdkarte/sd_raw.h:129: warning: function declaration isn't a prototype
tcpservice/../sdkarte/sd_raw.h:135: warning: function declaration isn't a prototype
In file included from tcpservice/tcpcmd.c:48:
tcpservice/../sdkarte/sd.h:38: warning: function declaration isn't a prototype
tcpservice/../sdkarte/sd.h:39: warning: function declaration isn't a prototype
tcpservice/../sdkarte/sd.h:41: warning: function declaration isn't a prototype
tcpservice/../sdkarte/sd.h:42: warning: function declaration isn't a prototype
Compiling: tcpservice/tcpsrv.c
avr-gcc -c -mmcu=atmega644p -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=tcpservice/tcpsrv.lst -std=gnu99 tcpservice/tcpsrv.c -o tcpservice/tcpsrv.o
tcpservice/tcpsrv.c:277: warning: 'respond' defined but not used
Compiling: sdkarte/sdcard.c
avr-gcc -c -mmcu=atmega644p -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=sdkarte/sdcard.lst -std=gnu99 sdkarte/sdcard.c -o sdkarte/sdcard.o
In file included from sdkarte/sdcard.c:36:
sdkarte/sd_raw.h:127: warning: function declaration isn't a prototype
sdkarte/sd_raw.h:128: warning: function declaration isn't a prototype
sdkarte/sd_raw.h:129: warning: function declaration isn't a prototype
sdkarte/sd_raw.h:135: warning: function declaration isn't a prototype
In file included from sdkarte/sdcard.c:37:
sdkarte/sd.h:38: warning: function declaration isn't a prototype
sdkarte/sd.h:39: warning: function declaration isn't a prototype
sdkarte/sd.h:41: warning: function declaration isn't a prototype
sdkarte/sd.h:42: warning: function declaration isn't a prototype
In file included from sdkarte/sdcard.c:38:
sdkarte/spi.h:30: warning: function declaration isn't a prototype
sdkarte/spi.h:33: warning: function declaration isn't a prototype
sdkarte/spi.h:38: warning: function declaration isn't a prototype
sdkarte/spi.h:39: warning: function declaration isn't a prototype
Hat jemand eine Idee und kann mir helfen?
Mit freundlichen Grüßen
Sascha