Hallo,
ich habe seit Längerem einen SDuino an meinem FHEM hängen.
Vor einiger Zeit kam aus Reichweitengründen ein SignalESP dazu.
Als sich dieser ESP jetzt wegen eines WLAN-Fehlers nicht neu verband, merkte ich dass der SDuino nichts mehr empfängt.
Auch das Schalten der 433MHz empfänger funktioniert damit nicht.
Ich habe diverse Firmware-Versionen durchgetestet (3.3.1, 3.4.0 u.a.)
Bei getccconf werden meist komische Werte angezeigt:
z.B. 13.000MHz, 391.529MHz
gerade eben zeigte er tatsächlich folgendes an:
ccconf: Freq: 433.920 MHz, Bandwidth: 325 KHz, rAmpl: 42 dB, sens: 8 dB, DataRate: 5603.79 Baud, Modulation: ASK/OOK, Syncmod: No preamble/sync
senden / empfangen ging nicht und nach "set sduino reset":
Freq: 391.529 MHz, Bandwidth: 812 KHz, rAmpl: 42 dB, sens: 16 dB, DataRate: 860107.42 Baud
ein set sduino raw e oder eC brachte keine Besserung
Internals:
Clients :IT:CUL_TCM97001:SD_RSL:OREGON:CUL_TX:SD_AS:Hideki:SD_WS07:SD_WS09: :SD_WS:RFXX10REC:Dooya:SOMFY:SD_BELL:SD_UT:SD_WS_Maverick:FLAMINGO:CUL_WS:Revolt: :FS10:CUL_FHTTK:Siro:FHT:FS20:CUL_EM:Fernotron:SD_Keeloq:SD_GT:SIGNALduino_un:
DEF /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0@57600
DMSG W38#E092411BE
DevState initialized
DeviceName /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0@57600
FD 135
FUUID 5e087ea7-f33f-ef06-8e9e-51d01b887ff214b6
IDsNoDispatch 2,72.1,82
ITClock 250
LASTDMSG W38#E092411BE
LASTDMSGID 38
MSGCNT 20
NAME SIGNALduino01
NR 431
PARTIAL
RAWMSG MU;P0=-201;P1=299;P2=-430;P3=534;P5=-940;P6=771;P7=-686;D=01230303030301215676767673030301212121212301212301212301212301212121212301212123030123030303030121567676767303030121212121230121230121230121230121212121230121212303012303030303012156767676730303012121212123012123012123012123012121212123012121230301230303;CP=1;R=0;O;
RSSI -74
STATE opened
TIME 1599904279.31077
TYPE SIGNALduino
cc1101_available 1
sendworking 0
unknownmessages
version V 3.4.0 SIGNALduino cc1101 (chip CC110 unknown) - compiled at Jul 16 2020 20:52:15
versionProtocols 1.20
versionmodul v3.4.4
.attraggr:
.attreocr:
.*
.attrminint:
.clientArray:
FS10
FS20
IT
CUL_TCM97001
CUL_WS
Hideki
SD_RSL
SD_UT
SD_WS
SD_WS07
SIGNALduino_un
DoubleMsgIDs:
MatchList:
10:SD_WS07 ^P7#[A-Fa-f0-9]{6}[AFaf][A-Fa-f0-9]{2,3}
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 ^P(?:14|20|26|29|30|34|46|68|69|76|81|83|86|90|91|91.1|92|93|95|97|99|104)#.*
18:FLAMINGO ^P13\.?1?#[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
25:CUL_EM ^E0.................
26:Fernotron ^P82#.*
27:SD_BELL ^P(?:15|32|41|42|57|79|96|98)#.*
28:SD_Keeloq ^P(?:87|88)#.*
29:SD_GT ^P49#[A-Fa-f0-9]+
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:
2020-09-12 11:51:46 activ alive
2020-09-12 11:52:08 cc1101_config Freq: 391.529 MHz, Bandwidth: 812 KHz, rAmpl: 42 dB, sens: 16 dB, DataRate: 860107.42 Baud
2020-09-12 11:52:08 cc1101_config_ext Modulation: 2-FSK, Syncmod: 30/32 + carrier-sense above threshold
2020-09-12 11:52:09 cc1101_patable C3E = 0F 0F 0F 0F 0F 0F 0F 0F
2020-09-02 18:50:29 cmds V R t X S P C r W s x e
2020-09-11 22:32:49 config MS=1;MU=1;MC=1;Mred=1
2020-09-12 11:46:33 ping OK
2020-09-12 11:52:07 state opened
2020-09-12 11:36:30 uptime 0 00:12:15
additionalSets:
flash 3.4.0,3.4.0-dev+20200711,3.4.0-dev+20200216,3.3.1
helper:
avrdudecmd avrdude -c arduino -b 57600 -P /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0 -p atmega328p -vv -U flash:w:FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex 2>./log/SIGNALduino-Flash.log || avrdude -c arduino -b 115200 -P /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0 -p atmega328p -vv -U flash:w:FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex 2>./log/SIGNALduino-Flash.log
avrdudelogs flashing Arduino SIGNALduino01
hex file: FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex
port: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
command: avrdude -c arduino -b 57600 -P /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0 -p atmega328p -vv -U flash:w:FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex 2>[LOGFILE] || avrdude -c arduino -b 115200 -P /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0 -p atmega328p -vv -U flash:w:FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex 2>[LOGFILE]
SIGNALduino01 closed
--- AVRDUDE ---------------------------------------------------------------------------------
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"
Using Port : /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
Using Programmer : arduino
Overriding Baud Rate : 57600
AVR Part : ATmega328P
Chip Erase delay : 9000 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 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 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 : Arduino
Description : Arduino
Hardware Version: 2
Firmware Version: 1.16
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f (probably m328p)
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: reading input file "FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex"
avrdude: input file FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex auto detected as Intel Hex
avrdude: writing flash (25626 bytes):
Writing | ################################################## | 100% 7.82s
avrdude: 25626 bytes of flash written
avrdude: verifying flash memory against FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex:
avrdude: load data flash data from input file FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex:
avrdude: input file FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex auto detected as Intel Hex
avrdude: input file FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex contains 25626 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 5.88s
avrdude: verifying ...
avrdude: 25626 bytes of flash verified
avrdude done. Thank you.
--- AVRDUDE ---------------------------------------------------------------------------------
SIGNALduino01 reopen started
keepalive:
ok 1
retry 0
mcIdList:
10
11
12
18
43
47
52
57
58
96
msIdList:
0
0.1
0.2
0.3
0.4
0.5
1
3
3.1
4
6
7
13
13.2
14
15
17
20
23
25
33
33.1
33.2
35
41
49
51
53
54.1
55
65
68
74.1
87
88
90
91.1
93
muIdList:
8
9
13.1
16
17.1
19
21
22
24
26
27
28
29
30
31
32
34
36
37
38
39
40
42
44
44.1
45
46
48
49.1
49.2
50
54
56
59
60
61
62
64
66
67
69
70
71
72
73
74
76
79
80
81
83
84
85
86
89
91
92
94
95
97
98
99
104
Attributes:
DbLogExclude .*
DbLogInclude ping,uptime
comment /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0@57600
event-on-change-reading .*
flashCommand avrdude -c arduino -b [BAUDRATE] -P [PORT] -p atmega328p -vv -U flash:w:[HEXFILE] 2>[LOGFILE]
group CUL
hardware nanoCC1101
icon cul_cul
readingsWatcher 7200,???,uptime+ping
room 8.1_CUL/MAX
updateChannelFW testing
verbose 0
webCmd reset
Ich habe das gleiche Verhalten mit 2 CC1101 Platinen, welche beide zuletzt funktioniert hatten.
Den funktionierenden ESP möchte ich ungern zerflücken.
Hat jemand eine Idee oder einen Tip?
Das sieht stark nach fehlerhafter Kommunikation auf dem SPI-Bus zum CC1101 aus.
Wie ist der CC1101 angeschlossen (Level-Shifter oder Spannungsteiler mit welchen Widerstandswerten, fest verlötet oder Steckbrett etc.)?