Witam wszystkich :) Niedawno zakupiłem MicroBoard M8 i Programator AVR, do programowania chciałbym użyć programu Arduino . Problem polega na tym ze nie mogę połączyć się z płytką a dokładniej wgrać na nią sketcha . Przeczytałem wiele postów które załączyłem na samym dole i poradników jak to zrobić niestety dalej mam z tym problem . Sterowniki do programator AVR zostały wgrane pomyślnie i są aktualne.(USBasp) Do programu Arduino wgrałem bibliotekę MiniCore ,program widzi bibliotekę i w narzędziach wyświetla opcje związane z ATmega8. W narzędziach ustawione są następujące opcje : programator USBasp, plytka ATmega8, BOD 2,7V, Clock 8 MHz external ,Compiler LTO Enable , Prot COM 1 . I teraz ciekawa sytuacja , posiadam dwa komputery na jednym jak w tytule napisałem znajduje się windows 7 a na drugim MacOs Sierra. Na Windowsie po samej próbie wypalenia bootloadera wyskakuje mi błąd, który załączyłem w pliku windows_bootloader.txt: Najdziwniejsze jest to ze przy tych samych ustawieniach pomijając port bo nie posiadam tam widocznej żadnej opcji i przy wgraniu tej samej biblioteki na Macu udaje mi się bez przeszkód wgrać bootloadera. Programator świeci czerwona dioda natomiast w microboard świeci się przez chwile zielona dioda . Wynik wgrywania bootloadera w pliku mac_bootloader.txt. Jednak gdy chce wgrać jakiś kod wyskakuje mi błąd ,który załączony jest w pliku blad_mac.txt Dodatkowo załączę kilka screenów , proszę bardzo o pomoc w zrozumieniu i naprawieniu tego problemu . Linki do stron z których korzystałem podczas rozwiązywania problemu : --github.com/MCUdude/MiniCore --mikrokontrolery.blogspot.com/p/spis-tresci.html --majsterkowo.pl/forum/tutoriale-f38/programowanie-atmega8a-oraz-atmega328p-za-pomoca-arduino-t280.html#p1566
avrdude: Version 6.3, compiled on Dec 16 2016 at 13:32:25
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is " /Users/Postek/Library/Arduino15/packages/MiniCore/hardware/avr/1.0.3/avrdude.conf "
User configuration file is " /Users/Postek/.avrduderc "
User configuration file does not exist or is not a regular file, skipping
Using Port : usb
Using Programmer : usbasp
AVR Part : ATmega8
Chip Erase delay : 10000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 4 20 128 0 no 512 4 0 9000 9000 0xff 0xff
flash 33 10 64 0 yes 8192 64 128 4500 4500 0xff 0x00
lfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
efuse 0 0 0 0 no 0 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : usbasp
Description : USBasp, http://www.fischl.de/usbasp/
avrdude: auto set sck period (because given equals null)
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9307 (probably m8)
avrdude: erasing chip
avrdude: auto set sck period (because given equals null)
avrdude: reading input file " 0x3f "
avrdude: writing lock (1 bytes):
avrdude: Version 6.3, compiled on Dec 16 2016 at 13:32:25
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is " /Users/Postek/Library/Arduino15/packages/MiniCore/hardware/avr/1.0.3/avrdude.conf "
User configuration file is " /Users/Postek/.avrduderc "
User configuration file does not exist or is not a regular file, skipping
Using Port : usb
Using Programmer : usbasp
AVR Part : ATmega8
Chip Erase delay : 10000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 4 20 128 0 no 512 4 0 9000 9000 0xff 0xff
flash 33 10 64 0 yes 8192 64 128 4500 4500 0xff 0x00
lfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
efuse 0 0 0 0 no 0 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00
calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : usbasp
Description : USBasp, http://www.fischl.de/usbasp/
avrdude: auto set sck period (because given equals null)
Writing | ################################################## | 100% 0.00s
avrdude: 1 bytes of lock written
avrdude: verifying lock memory against 0x3f:
avrdude: load data lock data from input file 0x3f:
avrdude: input file 0x3f contains 1 bytes
avrdude: reading on-chip lock data:
Reading | ################################################## | 100% 0.00s
avrdude: verifying ...
avrdude: 1 bytes of lock verified
avrdude: reading input file " {bootloader.extended_fuses} "
avrdude: writing efuse (0 bytes):
Writing | ################################################## | 100% 0.00s
avrdude: 0 bytes of efuse written
avrdude: verifying efuse memory against {bootloader.extended_fuses}:
avrdude: load data efuse data from input file {bootloader.extended_fuses}:
avrdude: input file {bootloader.extended_fuses} contains 0 bytes
avrdude: reading on-chip efuse data:
Reading | ################################################## | 100% 0.00s
avrdude: verifying ...
avrdude: 0 bytes of efuse verified
avrdude: reading input file " 0xd4 "
avrdude: writing hfuse (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xd4:
avrdude: load data hfuse data from input file 0xd4:
avrdude: input file 0xd4 contains 1 bytes
avrdude: reading on-chip hfuse data:
Reading | ################################################## | 100% 0.00s
avrdude: verifying ...
avrdude: 1 bytes of hfuse verified
avrdude: reading input file " 0b10100100 "
avrdude: writing lfuse (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0b10100100:
avrdude: load data lfuse data from input file 0b10100100:
avrdude: input file 0b10100100 contains 1 bytes
avrdude: reading on-chip lfuse data:
Reading | ################################################## | 100% 0.00s
avrdude: verifying ...
avrdude: 1 bytes of lfuse verified
avrdude done. Thank you.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9307 (probably m8)
avrdude: NOTE: " flash " memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: auto set sck period (because given equals null)
avrdude: reading input file " /Users/Postek/Library/Arduino15/packages/MiniCore/hardware/avr/1.0.3/bootloaders/optiboot_flash/atmega8/optiboot_flash_atmega8_38400_8000000L.hex "
avrdude: writing flash (8192 bytes):
Writing | ################################################## | 100% 0.00s
avrdude: 8192 bytes of flash written
avrdude: verifying flash memory against /Users/Postek/Library/Arduino15/packages/MiniCore/hardware/avr/1.0.3/bootloaders/optiboot_flash/atmega8/optiboot_flash_atmega8_38400_8000000L.hex:
avrdude: load data flash data from input file /Users/Postek/Library/Arduino15/packages/MiniCore/hardware/avr/1.0.3/bootloaders/optiboot_flash/atmega8/optiboot_flash_atmega8_38400_8000000L.hex:
avrdude: input file /Users/Postek/Library/Arduino15/packages/MiniCore/hardware/avr/1.0.3/bootloaders/optiboot_flash/atmega8/optiboot_flash_atmega8_38400_8000000L.hex contains 8192 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.00s
avrdude: verifying ...
avrdude: 8192 bytes of flash verified
avrdude: reading input file " 0x0f "
avrdude: writing lock (1 bytes):
Writing | ################################################## | 100% 0.01s
avrdude: 1 bytes of lock written
avrdude: verifying lock memory against 0x0f:
avrdude: load data lock data from input file 0x0f:
avrdude: input file 0x0f contains 1 bytes
avrdude: reading on-chip lock data:
Reading | ################################################## | 100% 0.00s
avrdude: verifying ...
avrdude: 1 bytes of lock verified
avrdude done. Thank you