Cześć,
po krótce: mój przyjaciel próbował zaktualizować oprogramowanie na swojej drukarce Lulzbot Mini opartej na płycie RAMBo mini 1.1a. Trwało to zbyt długo i nie powiodło się (nie oceniajmy, kto, jak i dlaczego zawiódł
). Więc wziąłem ją do domu i próbuję zrobić teraz naprawić. Po pierwsze, urządzenie przynajmniej częściowo żyje, lsusb mówi:
Ale wentylator się nie uruchamia (tak jak powinien - wierzę). Próbowałem więc zaktualizować oprogramowanie fimware przez Arduino. Pobrałem Marlin 1.1.x z github, zainstalowałem definicję płyty RAMBo (https://reprap.org/wiki/Rambo_firmware#Arduino_1.6.4.2B_Board_Manager_Plugin) i próbowałem załadować ją na mini. Nie udało się oczywiście z komunikatem „avrdude: stk500v2_ReceiveMessage (): timeout”. Próbowałem więc ręcznie przesłać skompilowany (pobrany) hex:
Nie udało się również. Na koniec podłączyłem USBasp v2 do portu ICSP * i:
- wypaliłem bootloader z arduino - sukces, ale nadal nie mogę wgrać niczego przez arduino,
- wypaliłem plik hex przez ICSP za pomocą: avrdude -v -patmega2560 -c usbasp -b 115200 - P / dev / ttyACM0 -D -Uflash: w: Marlin_Mini_SingleExtruder_1.1.9.28_193d1f804.hex:i
Więc poszło, ale bez efektu. Włączanie zasilania i podłączanie USB nadal nie daje żadnego efektu. Co robię źle lub co nie działa?
...lub, co gorsza, co umarło? Drukarka była ledwo używana i jest oryginalna. Dioda zasilania świeci, kolejna miga dwukrotnie przy RESETOWANIU, ale nic się nie dzieje z diodami TX ani RX.
Próbowałem połączyć się z drukarką przez cuteCom ustawiając 250kbps, ale nie dostaję żadnego komunikatu. Przy wysyłaniu dioda RX mruga.
Z poważaniem!
*ICSP na płytce nie jest oznaczony, ale można go przedzwonić z odpowiednią nogą atmegi. Na tym obrazku:
ICSP od atmegi jest po prawej stronie, pin pierwszy - lewy dolny róg.
Lewe ICSP jest od megi odpowiedzialnej za komunikację USB.
Dodano po 4 [godziny] 39 [minuty]:
Ponownie wgrałem również oprogramowanie do Mega32u2 (konwertera USB) wg https://reprap.org/wiki/Rambo_development:
Wygląda na to, że działa, ale wentylator się nie uruchamia i brak jakiejkolwiek komunikacji z megą (dioda tx milczy, brak odpowiedzi od płytki).
po krótce: mój przyjaciel próbował zaktualizować oprogramowanie na swojej drukarce Lulzbot Mini opartej na płycie RAMBo mini 1.1a. Trwało to zbyt długo i nie powiodło się (nie oceniajmy, kto, jak i dlaczego zawiódł
Magistrala 002 Urządzenie 030: ID 27b1: 0001 Ale wentylator się nie uruchamia (tak jak powinien - wierzę). Próbowałem więc zaktualizować oprogramowanie fimware przez Arduino. Pobrałem Marlin 1.1.x z github, zainstalowałem definicję płyty RAMBo (https://reprap.org/wiki/Rambo_firmware#Arduino_1.6.4.2B_Board_Manager_Plugin) i próbowałem załadować ją na mini. Nie udało się oczywiście z komunikatem „avrdude: stk500v2_ReceiveMessage (): timeout”. Próbowałem więc ręcznie przesłać skompilowany (pobrany) hex:
avrdude -v -patmega2560 -carduino -b 115200 -P / dev / ttyACM0 -D -Uflash: w: Marlin_Mini_SingleExtruder_1.1.9.28_193d1f804.hex: iNie udało się również. Na koniec podłączyłem USBasp v2 do portu ICSP * i:
- wypaliłem bootloader z arduino - sukces, ale nadal nie mogę wgrać niczego przez arduino,
- wypaliłem plik hex przez ICSP za pomocą: avrdude -v -patmega2560 -c usbasp -b 115200 - P / dev / ttyACM0 -D -Uflash: w: Marlin_Mini_SingleExtruder_1.1.9.28_193d1f804.hex:i
avrdude -v -patmega2560 -c usbasp -b 115200 -P /dev/ttyACM0 -D -Uflash:w:Marlin_Mini_SingleExtruder_1.1.9.28_193d1f804.hex:i
avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/san/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyACM0
Using Programmer : usbasp
Overriding Baud Rate : 115200
AVR Part : ATmega2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
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 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 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: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as D8
avrdude: safemode: efuse reads as FD
avrdude: reading input file "Marlin_Mini_SingleExtruder_1.1.9.28_193d1f804.hex"
avrdude: writing flash (91006 bytes):
Writing | ################################################## | 100% 51.08s
avrdude: 91006 bytes of flash written
avrdude: verifying flash memory against Marlin_Mini_SingleExtruder_1.1.9.28_193d1f804.hex:
avrdude: load data flash data from input file Marlin_Mini_SingleExtruder_1.1.9.28_193d1f804.hex:
avrdude: input file Marlin_Mini_SingleExtruder_1.1.9.28_193d1f804.hex contains 91006 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 45.59s
avrdude: verifying ...
avrdude: 91006 bytes of flash verified
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as D8
avrdude: safemode: efuse reads as FD
avrdude: safemode: Fuses OK (E:FD, H:D8, L:FF)
avrdude done. Thank you.Więc poszło, ale bez efektu. Włączanie zasilania i podłączanie USB nadal nie daje żadnego efektu. Co robię źle lub co nie działa?
...lub, co gorsza, co umarło? Drukarka była ledwo używana i jest oryginalna. Dioda zasilania świeci, kolejna miga dwukrotnie przy RESETOWANIU, ale nic się nie dzieje z diodami TX ani RX.
Próbowałem połączyć się z drukarką przez cuteCom ustawiając 250kbps, ale nie dostaję żadnego komunikatu. Przy wysyłaniu dioda RX mruga.
Z poważaniem!
*ICSP na płytce nie jest oznaczony, ale można go przedzwonić z odpowiednią nogą atmegi. Na tym obrazku:
ICSP od atmegi jest po prawej stronie, pin pierwszy - lewy dolny róg.
Lewe ICSP jest od megi odpowiedzialnej za komunikację USB.
Dodano po 4 [godziny] 39 [minuty]:
Ponownie wgrałem również oprogramowanie do Mega32u2 (konwertera USB) wg https://reprap.org/wiki/Rambo_development:
avrdude -v -v -c usbasp -P /dev/ttyACM0 -patmega32u2 -Uflash:w:RAMBo-usbserial-DFU-combined-32u2.hex:i
avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/san/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyACM0
Using Programmer : usbasp
avrdude: seen device from vendor ->www.fischl.de<-
avrdude: seen product ->USBasp<-
AVR Part : ATmega32U2
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC6
RESET disposition : possible i/o
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 65 20 4 0 no 1024 4 256 9000 9000 0x00 0x00
flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 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: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e958a (probably m32u2)
avrdude: safemode: lfuse reads as EF
avrdude: safemode: hfuse reads as D9
avrdude: safemode: efuse reads as F4
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: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: reading input file "RAMBo-usbserial-DFU-combined-32u2.hex"
avrdude: writing flash (32016 bytes):
Writing | ################################################## | 100% 2.37s
avrdude: 32016 bytes of flash written
avrdude: verifying flash memory against RAMBo-usbserial-DFU-combined-32u2.hex:
avrdude: load data flash data from input file RAMBo-usbserial-DFU-combined-32u2.hex:
avrdude: input file RAMBo-usbserial-DFU-combined-32u2.hex contains 32016 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 2.06s
avrdude: verifying ...
avrdude: 32016 bytes of flash verified
avrdude: safemode: lfuse reads as EF
avrdude: safemode: hfuse reads as D9
avrdude: safemode: efuse reads as F4
avrdude: safemode: Fuses OK (E:F4, H:D9, L:EF)
avrdude done. Thank you.Wygląda na to, że działa, ale wentylator się nie uruchamia i brak jakiejkolwiek komunikacji z megą (dioda tx milczy, brak odpowiedzi od płytki).