Witam
Mam poroblem z zaprogramowaniem atmegi8. Na tym samym programatorze programuję bez problemu Atiny 2313
Po włożeniu Atmegi8 (oczywiście program pod atmegę8) są problemy.
Załączam komunikaty:
make jest ok:
program- są błędy:
Mam poroblem z zaprogramowaniem atmegi8. Na tym samym programatorze programuję bez problemu Atiny 2313
Po włożeniu Atmegi8 (oczywiście program pod atmegę8) są problemy.
Załączam komunikaty:
make jest ok:
> "make.exe" all
-------- begin --------
avr-gcc (WinAVR 20090313) 4.3.2
Copyright (C) 2008 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.
Size before:
AVR Memory Usage
----------------
Device: atmega8
Program: 172 bytes (2.1% Full)
(.text + .data + .bootloader)
Data: 0 bytes (0.0% Full)
(.data + .bss + .noinit)
Size after:
AVR Memory Usage
----------------
Device: atmega8
Program: 172 bytes (2.1% Full)
(.text + .data + .bootloader)
Data: 0 bytes (0.0% Full)
(.data + .bss + .noinit)
-------- end --------
> Process Exit Code: 0
> Time Taken: 00:01program- są błędy:
> "make.exe" program
avrdude -p atmega8 -P com2 -c stk500v2 -U flash:w:kurs2008cz_2_6.hex
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500v2_command(): command failed
avrdude: stk500v2_command(): command failed
avrdude: stk500v2_program_enable(): cannot get connection status
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
make.exe: *** [program] Error 1
> Process Exit Code: 2
> Time Taken: 00:17