Hallo,
kann man einen Signalduino (promini328) über das WLAN mit einer neuen Firmware flashen? Was ich schon herausgefunden habe ist, das statt "-P" für Port "-Pnet:" stehen muss. Trotzdem kommt "programmer is not responding". Mache ich da etwas falsch oder geht das was ich vorhabe generell nicht?
Gruß Christoph
Hallo,
schau mal hier:
https://forum.fhem.de/index.php?topic=54172.0 (https://forum.fhem.de/index.php?topic=54172.0)
oder hier:
https://forum.fhem.de/index.php/topic,38831.483 (https://forum.fhem.de/index.php/topic,38831.483)
Gruß rippi
Hallo,
da finde ich nicht das was ich suche. Ich habe ESP Link 2.2.3 drauf und die Rx/Tx sind auf swapped, damit der ESP sich nicht beim flashen einmischt. Trotzdem bekomme ich immer nur "programmer is not responding" als programmer habe ich immer noch den arduino (-c Parameter) drin stehen. Ich vermute dass das so nicht richtig ist weil ja direkt seriell programmiert werden muss. Empfangen tut der, so wie er angeschlossen ist, ja alle Daten.
Gruß Christoph
Hallo Bennemannc,
ich habe nichts auf swapped stehen.
So habe ich den sduino definiert:
Internals:
Clients :IT:CUL_TCM97001:SD_RSL:OREGON:CUL_TX:SD_AS:Hideki:SD_WS07:SD_WS09: :SD_WS:RFXX10REC:Dooya:SOMFY:SD_UT:SD_WS_Maverick:FLAMINGO:CUL_WS:Revolt: :FS10:CUL_FHTTK:Siro:FHT:FS20:SIGNALduino_un:
DEF 192.168.178.65:23
DMSG P7#07A03DF44
DevState initialized
DeviceName 192.168.178.65:23
FD 23
LASTDMSG P7#07A03DF44
MSGCNT 31023
NAME sduino
NR 912
PARTIAL
RAWMSG MS;P0=494;P1=-966;P2=-1947;P4=-3900;D=04010101010102020202010201010101010101020202020102020202020102010101020101;CP=0;SP=4;O;
STATE opened
TIME 1520015406.25397
TYPE SIGNALduino
sendworking 0
unknownmessages
version V 3.3.1-dev SIGNALduino - compiled at Jan 3 2017 23:59:32
DoubleMsgIDs:
Helper:
DBLOG:
state:
myDbLog:
TIME 1520015352.89617
VALUE UNKNOWNCODE P9#000E60B5CB305AE4
MatchList:
10:SD_WS07 ^P7#[A-Fa-f0-9]{6}F[A-Fa-f0-9]{2}(#R[A-F0-9][A-F0-9]){0,1}$
11:SD_WS09 ^P9#F[A-Fa-f0-9]+
12:SD_WS ^W\d+x{0,1}#.*
13:RFXX10REC ^(20|29)[A-Fa-f0-9]+
14:Dooya ^P16#[A-Fa-f0-9]+
15:SOMFY ^Ys[0-9A-F]+
16:SD_WS_Maverick ^P47#[A-Fa-f0-9]+
17:SD_UT ^u30#.*
18:FLAMINGO ^P13#[A-Fa-f0-9]+
19:CUL_WS ^K[A-Fa-f0-9]{5,}
1:IT ^i......
20:Revolt ^r[A-Fa-f0-9]{22}
21:FS10 ^P61#[A-F0-9]+
22:Siro ^P72#[A-Fa-f0-9]+
23:FHT ^81..(04|09|0d)..(0909a001|83098301|c409c401)..
24:FS20 ^81..(04|0c)..0101a001
2:CUL_TCM97001 ^s[A-Fa-f0-9]+
3:SD_RSL ^P1#[A-Fa-f0-9]{8}
4:OREGON ^(3[8-9A-F]|[4-6][0-9A-F]|7[0-8]).*
5:CUL_TX ^TX..........
6:SD_AS ^P2#[A-Fa-f0-9]{7,8}
7:Hideki ^P12#75[A-F0-9]+
9:CUL_FHTTK ^T[A-F0-9]{8}
X:SIGNALduino_un ^[u]\d+#.*
QUEUE:
READINGS:
2018-03-02 06:40:15 ping OK
2018-02-24 10:41:52 state opened
2018-02-24 10:41:52 version V 3.3.1-dev SIGNALduino - compiled at Jan 3 2017 23:59:32
getcmd:
keepalive:
ok 1
retry 0
mcIdList:
10
11
12
12.1
18
43
47
52
57
58
msIdList:
0
1
13
14
15
17
2
22
23
25
3
3.1
32
33
35
38
4
41
51
55
6
68
7
72.1
muIdList:
13.1
16
20
21
24
26
27
28
29
30
31
36
37
39
40
44
44.1
45
46
48
49
5
50
56
59
60
61
62
64
65
66
67
69
70
71
72
75
8
9
Attributes:
flashCommand avrdude -c arduino -b 57600 -P net:192.168.178.105:23 -p atmega328p -vv -U flash:w:[HEXFILE] 2>[LOGFILE]
room Büro,Flur
verbose 0
Im esplink habe 57600 und 8n1 konfiguriert.
Gruß rippi
Hallo,
also bei mir sieht das auch so aus
Internals:
Clients :IT:CUL_TCM97001:SD_RSL:OREGON:CUL_TX:SD_AS:Hideki:SD_WS07:SD_WS09: :SD_WS:RFXX10REC:Dooya:SOMFY:SD_UT:SD_WS_Maverick:FLAMINGO:CUL_WS:Revolt: :FS10:CUL_FHTTK:Siro:FHT:FS20:SIGNALduino_un:
DEF 192.168.11.6:23@57600
DMSG 501A2D4008801280813893
DevState initialized
DeviceName 192.168.11.6:23@57600
FD 5
LASTDMSG 501A2D4008801280813893
MSGCNT 2102
NAME SIGNAL_Duino
NR 851
PARTIAL
RAWMSG MC;LL=-997;LH=953;SL=-508;SH=433;D=555555554CD2B34CAAAB2ACAAAAACCB2AAAAD2AACAD4B4B2C;C=481;L=194;
STATE opened
TIME 1520029188.81601
TYPE SIGNALduino
sendworking 0
version V 3.3.0 SIGNALduino - compiled at Sep 18 2016 00:21:49
DoubleMsgIDs:
MatchList:
10:SD_WS07 ^P7#[A-Fa-f0-9]{6}F[A-Fa-f0-9]{2}(#R[A-F0-9][A-F0-9]){0,1}$
11:SD_WS09 ^P9#F[A-Fa-f0-9]+
12:SD_WS ^W\d+x{0,1}#.*
13:RFXX10REC ^(20|29)[A-Fa-f0-9]+
14:Dooya ^P16#[A-Fa-f0-9]+
15:SOMFY ^Ys[0-9A-F]+
16:SD_WS_Maverick ^P47#[A-Fa-f0-9]+
17:SD_UT ^u30#.*
18:FLAMINGO ^P13#[A-Fa-f0-9]+
19:CUL_WS ^K[A-Fa-f0-9]{5,}
1:IT ^i......
20:Revolt ^r[A-Fa-f0-9]{22}
21:FS10 ^P61#[A-F0-9]+
22:Siro ^P72#[A-Fa-f0-9]+
23:FHT ^81..(04|09|0d)..(0909a001|83098301|c409c401)..
24:FS20 ^81..(04|0c)..0101a001
2:CUL_TCM97001 ^s[A-Fa-f0-9]+
3:SD_RSL ^P1#[A-Fa-f0-9]{8}
4:OREGON ^(3[8-9A-F]|[4-6][0-9A-F]|7[0-8]).*
5:CUL_TX ^TX..........
6:SD_AS ^P2#[A-Fa-f0-9]{7,8}
7:Hideki ^P12#75[A-F0-9]+
9:CUL_FHTTK ^T[A-F0-9]{8}
X:SIGNALduino_un ^[u]\d+#.*
QUEUE:
READINGS:
2018-03-02 18:32:05 ping OK
2018-03-02 21:40:22 state opened
2018-03-02 21:40:22 version V 3.3.0 SIGNALduino - compiled at Sep 18 2016 00:21:49
keepalive:
ok 1
retry 0
mcIdList:
10
11
12
12.1
18
43
47
52
57
58
msIdList:
0
1
13
14
15
17
2
22
23
25
3
3.1
32
33
35
38
4
41
51
55
6
68
7
72.1
muIdList:
13.1
16
20
21
24
26
27
28
29
30
31
36
37
39
40
44
44.1
45
46
48
49
5
50
56
59
60
61
62
64
65
66
67
69
70
71
72
75
8
9
Attributes:
flashCommand avrdude -c arduino -b [BAUDRATE] -Pnet:[PORT] -p atmega328p -vv -U flash:w:[HEXFILE] 2>[LOGFILE]
hardware promini328
room OREGON
aber wenn ich flashen möchte kommt immer
flashing Arduino SIGNAL_Duino
hex file: ./FHEM/firmware/SIGNALduino_promini328.hex
port: 192.168.11.6:23
log file: ./log/SIGNALduino-Flash.log
SIGNAL_Duino closed
command: avrdude -c arduino -b 57600 -P net:192.168.11.6:23 -p atmega328p -vv -U flash:w:./FHEM/firmware/SIGNALduino_promini328.hex 2>./log/SIGNALduino-Flash.log
--- AVRDUDE ---------------------------------------------------------------------------------
avrdude: Version 6.1, compiled on Sep 11 2014 at 21:52:05
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 "/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : net:192.168.11.6:23
Using Programmer : arduino
Overriding Baud Rate : 57600
ioctl("TIOCMGET"): Inappropriate ioctl for device
ioctl("TIOCMGET"): Inappropriate ioctl for device
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x02
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x4d
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x43
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x3b
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x4c
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x4c
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x3d
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x2d
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x31
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x30
avrdude done. Thank you.
--- AVRDUDE
Welche Pins müssen denn verbunden sein? Ich habe nur Tx/Rx Vcc und Gnd. Brauche ich auch Rst?
Gruß Christoph
Wieso schreibst Du die Baudrate mit ins DEF?
Wieso nicht? Hat immer funktioniert😉
Habe die mal rausgenommen - das ändert aber an dem Ergebnis nichts. Es kommt immer noch "not responsing"
Gruß Christoph
welche Hardware benutzt du? miniCUL von locutus mit ESP8285?
Hardware:
Superheterogen Empfänger mit promini328 - das ganze einfach per ESP Link (Wemos D1 mini) mit geswappten Gpio (also D7/D8 als Rx/Tx).
und RST vom promini? muss auf einem GPIO vom ESP hängen und in esp-link entsprechend konfiguriert werden.
Ok, das habe ich noch nicht. Hatte mir schon fast so etwas gedacht. Mache ich morgen mal - dann sehe ich weiter.
Ich wußte bisher noch gar nicht, daß man den miniCUL von locutus mit ESP8285 auf SignalESP umflashen kann.
Gibt's dafür schon fertige files oder muß ich dafür noch selbst kompilieren?
Sidey hat vor kurzem miniCUL als target eingefügt. kann ich nicht sagen, ob es dafür schon offizielle Binaries gibt.