ok gemacht ... drauf geflashed und wenn ihn jetzt anmache kommt leuchtet nur die Statusled grün und es bewegt sich nichts
Druckbare Version
ok gemacht ... drauf geflashed und wenn ihn jetzt anmache kommt leuchtet nur die Statusled grün und es bewegt sich nichts
Dann haste ein leeres Programm geflasht.
Stimmt was beim programm net, wenn sowas kommt :
Bild hier
VOn 24 steht ja da ...
sind das die zeilen?
Das sind Blöcke, entsprechen aber den Zeilen in der Hex-Datei.
Schau dir mal dir Daten (Größe/Datum/Uhrzeit) von der c:\ASURO_src\FirstTry\test.c an. Und dann kompiliere nochmal. Ändern sich die Daten?
gemacht ... nun kommen aber bei kompilieren 2 Fehler
siehe hier
C:\ASURO_src\FirstTry>make all
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=asuro.lst asuro.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \
[ -s asuro.d ] || rm -f asuro.d
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > test.d; \
[ -s test.d ] || rm -f test.d
-------- begin --------
avr-gcc --version
avr-gcc (GCC) 3.3.1
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c -o test.o
avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=asuro.lst asuro.c -o asuro.o
avr-gcc -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.o test.o asuro.o --output test.elf -Wl,-Map=test.map,--cref -lm
C:\WinAVR\bin\..\lib\gcc-lib\avr\3.3.1\..\..\..\..\avr\lib\avr4\crtm8.o(.in it9+0x0): undefined reference to `main'
make: *** [test.elf] Error 1
> Process Exit Code: 2
Hast du überhaupt Winavr installiert?
da stand was von unzip .. hab ich gemacht aber danach ist nichts mehr gekommen
A-asuro: was hast du geändert seit du das letzte mal ein programm geflasht hast? beim screenshot oben geht ja scheinbar alles...
Heute bin ich mit dem Asuro fertig geworden !
Das Testprogramm war schon drauf !
Dann habe ich halt diesen Programm draufgespielt "RechteckDemo" und als ich ihn ausprobieren wollte hat nur die grüne statuslampe geleuchtet!!
Als ich das Programm nochmal kompilieren woltle, zeigt er mir 2 Fehler an ! Was ich oben gepostet habe.
bitte poste mal den programmcode. nutze dazu den code-button!