FHEM Forum

Verschiedenes => Bastelecke => Thema gestartet von: Burny4600 am 24 November 2015, 12:44:48

Titel: [gelöst] Wie kann ich den SIGNALduino flashen?
Beitrag von: Burny4600 am 24 November 2015, 12:44:48
Habe mir die Anleitung von Wiki vorgenommen für das Flashen eines SIGNALduino.
Verwendet wird ein atmega328.

Leider funktioniert das nicht.
Die Vorgabe sduino flash FHEM/firmware/SIGNALduino_nano328.hex bringt die Fehlermeldung sudo: sduino: Kommando nicht gefunden hervor.

Ist hier irgendwo noch etwas zu installieren?


Wenn ich das unter FHEM mache erhalte ich diese Meldungen.
flashing Arduino sduino
hex file: SIGNALduino_nano328.hex
port: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AI03D7H7-if00-port0
log file: ./log/SIGNALduino-Flash.log
sduino closed
command: avrdude -c arduino -b 57600 -P /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AI03D7H7-if00-port0 -p atmega328p -vv -U flash:w:SIGNALduino_nano328.hex 2>./log/SIGNALduino-Flash.log

--- AVRDUDE ---------------------------------------------------------------------------------

avrdude: Version 6.1, compiled on Jul  7 2015 at 10:29:47
         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 "/root/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AI03D7H7-if00-port0
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done.  Thank you.

--- AVRDUDE ---------------------------------------------------------------------------------

sduino opened 
Titel: Antw:Wie kann ich den SIGNALduino flashen?
Beitrag von: Ellert am 24 November 2015, 14:17:44
Versuch mal im Verzeichnis wo SIGNALduino_nano328.hex liegt:
sudo avrdude -c arduino -b 57600 -P /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AI03D7H7-if00-port0 -p atmega328p -vv -U flash:w:SIGNALduino_nano328.hex
Titel: Antw:Wie kann ich den SIGNALduino flashen?
Beitrag von: Burny4600 am 24 November 2015, 15:50:32
Ist der gleiche Fehler.

pi@ccs-ht-rasp /media/hdd/SIGNALduino $ sudo /etc/init.d/fhem stop
Stopping fhem...
pi@ccs-ht-rasp /media/hdd/SIGNALduino $ sudo avrdude -c arduino -b 57600 -P /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AI03D7H7-if00-port0 -p atmega328p -vv -U flash:w:SIGNALduino_nano328.hex

avrdude: Version 6.1, compiled on Jul  7 2015 at 10:29:47
         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 "/root/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AI03D7H7-if00-port0
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done.  Thank you.

pi@ccs-ht-rasp /media/hdd/SIGNALduino $



Eigenartig ist aber FHEM für den SIGNALduino Initialized.

Auf was bezieht sich die Meldung User configuration file does not exist or is not a regular file, skipping?
Titel: Antw:Wie kann ich den SIGNALduino flashen?
Beitrag von: Ralf W. am 24 November 2015, 16:00:38
Hallo,

das hatte ich am Wochenende auch. Versuche es mal ohne "-b 57600". Dann ging flashen. Danach nur noch wieder mit "-b 57600". Habe es nicht weiter verfolgt. Deshalb kann ich zur Ursache nichts sagen.

MfG
Titel: Antw:Wie kann ich den SIGNALduino flashen?
Beitrag von: Burny4600 am 24 November 2015, 16:07:26
Bringt auch nichts.

Aber laut der Fehlermeldung vermute ich das der Programmer irgendwo noch eine Änderung benötigt.
Wo finde ich das bzw. was ist hier noch zu ändern.

User configuration file does not exist or is not a regular file, skipping

Anbei meine Konfiguration für den SIGNALduino
#####################################
###    INPUT SIGNALduino Oregon   ###
#####################################
define sduino SIGNALduino /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AI03D7H7-if00-port0@57600
attr sduino alias SIGNALduino
attr sduino devStateIcon Initialized:cul_usb@green:Open Open:cul_usb@red:Initialized
attr sduino flashCommand avrdude -c arduino -b 57600 -P [PORT] -p atmega328p -vv -U flash:w:[HEXFILE] 2>[LOGFILE]
attr sduino hardware nano328
attr sduino icon cul_usb
attr sduino room _RxTx
Titel: Antw:Wie kann ich den SIGNALduino flashen?
Beitrag von: Burny4600 am 25 November 2015, 10:59:36
Fehler lag am Empfangsmodul.
Titel: Antw:[gelöst] Wie kann ich den SIGNALduino flashen?
Beitrag von: GregPac am 15 Januar 2016, 18:58:28
Hi,
könntest das genauer Erklären was bei dir geholfen hat? Habe das identische Problem und behelfe mir derzeit damit den Arduino über Windows zu flashen.

Gruß
Greg
Titel: Antw:[gelöst] Wie kann ich den SIGNALduino flashen?
Beitrag von: maikst am 30 April 2016, 22:48:55
Bei mir hat geholfen, dass ich -b 115200 für das flashen benutzt habe.
Also Baudrate verändert. Warum das nötig war.. keine Ahnung. Aber dann ging es.

Ich nutze einen Arduino UNO SMD v3.
Titel: Antw:[gelöst] Wie kann ich den SIGNALduino flashen?
Beitrag von: arneman am 10 April 2017, 20:13:23
Habe unter Linux ebenfalls diese Probleme gehabt. Mein Nano wurde zuvor unter Windows mit der Arduino Software geflasht (damals mit FHEMduino). Das flashen von SIGNALduino war dann unter linux nicht mehr möglich.

Habe den http://arduinodev.com/arduino-uploader/geladen, die HEX Datei von FHEM genommen (SIGNALduino_nano328.hex) und unter Windows geflasht.

Gruß

Arne
Titel: Antw:[gelöst] Wie kann ich den SIGNALduino flashen?
Beitrag von: RaspiLED am 10 April 2017, 20:49:42
Hi, bei mir hilft aktives USB Netzteil am RasPi oder gerne auch zweite Stromversorgung am GPIO von anderem USB Port per USB/TTL Adapter ;-)
Gruß Arnd


Raspi2 mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, Bravia, ...