Entwicklung SIGNALDuino Empfänger Firm- und Hardware V4 für Maple Mini und ESP32

Begonnen von Ralf9, 13 Dezember 2019, 12:48:26

Vorheriges Thema - Nächstes Thema

FunkOdyssey

Ja, genau. Die v2.0.0 wie auch zum Testen den aktuellen Master-Branch.

juergs

Meine Version trägt den timestamp (W10):
%LOCALAPPDATA%\Arduino15\packages\stm32duino\hardware\STM32F3\2018.4.17

Die findest Du unter den ge-Taggten Versionen ganz unten:
https://github.com/stm32duino/Arduino_Core_STM32/tags

Zitat1.2.0 ...
on 23 Mar 2018

einfach mal diese Version prüfen.

Ralf9

Hab ich gar nicht mitbekommen, daß es inzwischen einen core 2.0.0 gibt

bei Enhancements/improvements: habe ich gefunden
Move the STM32 eeprom driver from core to built-in library

evtl muß ich für den core 2.0.0 fürs EEPROM was anpassen.

Ich versuche gerade den core 2.0.0 in der Arduino IDE zu installieren
das habe ich bei Einstellungen eingetragen
https://github.com/stm32duino/BoardManagerFiles/raw/master/package_stmicroelectronics_index.json
nun muss ich noch den neuen core 2.0.0 im Boardverwalter finden
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

FunkOdyssey

Das Problem habe ich auch. Ich habe irgendetwas mit STM32 und MCU-Boards gefunden.
Den genauen Wortlaut habe ich aktuell nicht mehr.

FunkOdyssey

Ich muss noch einmal um Hilfe fragen, denn ich bin kurz davor mein MapleSDuino-Projekt aufzugeben.

Ich habe den MapleCUL von locutus. (Quelle: https://forum.fhem.de/index.php/topic,80872.0.html)
Bestückt mit 3x868 CC1101 und auf dem 2. Anschluss ein CC1101 mit 433 Mhz.
Im Thread von locutus wird erwähnt, dass der CUL SIGNALduino-fähig ist.

Der Bootloader war eigentlich aktuell, aber vorsichtshalber habe ich maple_mini_boot20.bin per TTY/FTDI-Adapter neu geschrieben.




Das habe ich auch ausprobiert:

dfu-util -v -d 1eaf:0003 -a 1 -D updater_stm32f1.bin

Und im Monitor erschien nur "Congratulations. You are already using...".

Flash-Log

D:\Arduino_STM32-1.0.0\tools\win\dfu-util-0.9-win64>dfu-util -v -d 1eaf:0003 -a 1 -D d:\updater_stm32f1.bin
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 1eaf:0003
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 1024
Copying data from PC to DFU device
Download        [=========================] 100%        25308 bytes
Download done.
Sent a total of 25308 bytes
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present
Done!





Die Firmware für den MapleCUL habe ich auch mehrmals geschrieben:

dfu-util -d 1eaf:0003 -a 2 -D Maple_cul_USB_412dev210205.bin -R

Flash-Log

D:\Arduino_STM32-1.0.0\tools\win\dfu-util-0.9-win64>dfu-util -v -d 1eaf:0003 -a 2 -D d:\Maple_cul_USB_412dev210205.bin -R
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 1eaf:0003
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #2 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 1024
Copying data from PC to DFU device
Download        [=========================] 100%        69880 bytes
Download done.
Sent a total of 69880 bytes
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode






In FHEM ist das Device folgendermaßen:

defmod MapleCulSIGNALduino SIGNALduino /dev/ttyACM0@115200
attr MapleCulSIGNALduino hardware Maple_cul_USB


versionmodul: v3.4.6-dev_ralf_01.05.
versionprotoL: v3.4.6-dev_ralf_30.04.


Im Log sehe ich nur wie die Verbindung nicht funktioniert:

2021.05.20 18:12:46.869 3:  MapleCulSIGNALduino/init: get version, retry = 3
2021.05.20 18:12:46.869 2:  MapleCulSIGNALduino/init retry count reached. Reset
2021.05.20 18:12:46.869 3:  MapleCulSIGNALduino reset
2021.05.20 18:13:17.176 3:  Opening MapleCulSIGNALduino device /dev/ttyACM0
2021.05.20 18:13:17.177 3:  Setting MapleCulSIGNALduino serial parameters to 115200,8,N,1
2021.05.20 18:13:17.177 1:  MapleCulSIGNALduino/define: /dev/ttyACM0@115200
2021.05.20 18:13:17.177 1:  MapleCulSIGNALduino/init: /dev/ttyACM0@115200
2021.05.20 18:13:17.177 3:  MapleCulSIGNALduino device opened
2021.05.20 18:13:19.678 3:  MapleCulSIGNALduino/init: disable receiver (XQ)
2021.05.20 18:13:20.178 3:  MapleCulSIGNALduino/init: get version, retry = 0
2021.05.20 18:13:30.189 3:  MapleCulSIGNALduino/init: get version, retry = 1
2021.05.20 18:14:00.201 3:  MapleCulSIGNALduino/init: get version, retry = 2
2021.05.20 18:14:50.211 3:  MapleCulSIGNALduino/init: get version, retry = 3
2021.05.20 18:14:50.212 2:  MapleCulSIGNALduino/init retry count reached. Closed
2021.05.20 18:14:50.212 2:  MapleCulSIGNALduino closed





dfu-util --list

Found DFU: [1eaf:0003] ver=0201, devnum=14, cfg=1, intf=0, path="2-14", alt=2, name="STM32duino bootloader v1.0  Upload to Flash 0x8002000", serial="LLM 003"
Found DFU: [1eaf:0003] ver=0201, devnum=14, cfg=1, intf=0, path="2-14", alt=1, name="STM32duino bootloader v1.0  Upload to Flash 0x8005000", serial="LLM 003"
Found DFU: [1eaf:0003] ver=0201, devnum=14, cfg=1, intf=0, path="2-14", alt=0, name="STM32duino bootloader v1.0  ERROR. Upload to RAM not supported.", serial="LLM 003"



Könnt ihr erkennen, wo ich einen Fehler mache oder habe?

Vielen Dank für eure Hilfe.

Ralf9

Hab den core 2.0.0 nun installiert
https://github.com/stm32duino/wiki/wiki/Getting-Started#installing-stm32-cores

In tools.h muß "#ifndef MAPLE_Mini" auskommentiert werden
//#ifndef MAPLE_Mini
#include <EEPROM.h>
//#endif
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

Ralf9

was ergibt ein
ls -l /dev/serial/by-id

~> ls -l /dev/serial/by-id
insgesamt 0
lrwxrwxrwx 1 root root 13 20. Mai 21:28 usb-STMicroelectronics_MAPLEMINI_F103CB_CDC_in_FS_Mode_498F386E3230-if00 -> ../../ttyACM0

FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

FunkOdyssey

Das hier:

lrwxrwxrwx 1 root root 13 May 20 21:36 usb-STMicroelectronics_MAPLEMINI_F103CB_CDC_in_FS_Mode_6565BF823332-if00 -> ../../ttyACM0

Hast du einen Tipp, wie ich das noch debuggen kann? Normalerweise würde ich in PIO oder Arduino IDE nun im Monitor mitlesen. Aber beim SIGNALduino habe ich keine Ausgabe. Oder mache ich etwas falsch?

Ralf9

was passiert, wenn Du es in der Arduino IDE mit dem seriellen Monitor versuchst?
Nach dem einstecken des Maple musst Du kurz warten, sonst kommt beim öffnen des  seriellen Monitors:
Fehler beim Öffnen des seriellen Ports "/dev/ttyACM0". (Port busy)

Im seriellen Monitors kannst Du dann Befehle eingeben. zB ? oder V
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

juergs

Ist etwas schwierig zu diagnostizieren.
Benutzt Du Dein eigenes Compile.?
Hast Du es mit Ralfs fertigen Binaries probiert.?

Zum Debuggen mit einem Terminal auf die Schnittstelle gehen und schauen, was bei Eingabe von ,,V" mit Return zurückkommt.

FunkOdyssey

In einem Arduino mit "Arduino core support for STM32" habe ich im Monitor doch plötzlich eine Ausgabe. Eigentlich hatte ich im Monitor bisher noch nie etwas gesehen. Könnte vielleicht daran liegen, dass ich sonst immer mit der Baudrate 115220 geprüft habe.

Watchdog enabled
Reading values from eeprom
CCInit
detect B: Partn=0 Ver=0x18
Starting timerjob
rxB=1



Sende ich ein V ab, so bleibt die Fenster stehen. Ich kann den Monitor nicht mehr mit X beenden. Die Ausgabe im Fenster verändert sich nicht.




Nach dem Einstecken des Maples in meinem Windows-System habe ich ein COM13 mit der Bezeichnung "STM Serial".

Andere Treiber habe ich mit Zadig ausprobiert. Doch nun nutze ich die Treiber aus von rogerclarkmelbourne\Arduino_STM32-1.0.0.




USB Device Tree Viewer zeigt mir zum COM-Port diese Informationen an:


    =========================== USB Port14 ===========================

Connection Status        : 0x01 (Device is connected)
Port Chain               : 2-14

      ========================== Summary =========================
Vendor ID                : 0x0483 (STMicroelectronics)
Product ID               : 0x5740
USB version              : 2.00 -> wrong, device is Full-Speed only
Port maximum Speed       : High-Speed
Device maximum Speed     : Full-Speed
Device Connection Speed  : Full-Speed
Self Powered             : yes
Demanded Current         : 100 mA
Used Endpoints           : 4

      ======================== USB Device ========================

        +++++++++++++++++ Device Information ++++++++++++++++++
Friendly Name            : STM Serial (COM13)
Device Description       : STM Serial
Device Path 1            : \\?\USB#VID_0483&PID_5740#6565BF823332#{a5dcbf10-6530-11d2-901f-00c04fb951ed} (GUID_DEVINTERFACE_USB_DEVICE)
Device Path 2            : \\?\USB#VID_0483&PID_5740#6565BF823332#{86e0d1e0-8089-11d0-9ce4-08003e301f73} (GUID_DEVINTERFACE_COMPORT)
Kernel Name              : \Device\USBPDO-5
Device ID                : USB\VID_0483&PID_5740\6565BF823332
Hardware IDs             : USB\VID_0483&PID_5740&REV_0000 USB\VID_0483&PID_5740
Driver KeyName           : {4d36e978-e325-11ce-bfc1-08002be10318}\0009 (GUID_DEVCLASS_PORTS)
Driver                   : \SystemRoot\System32\drivers\usbser.sys (Version: 10.0.19041.906  Date: 2021-04-18)
Driver Inf               : C:\WINDOWS\inf\oem33.inf
Legacy BusType           : PNPBus
Class                    : Ports
Class GUID               : {4d36e978-e325-11ce-bfc1-08002be10318} (GUID_DEVCLASS_PORTS)
Service                  : usbser
Enumerator               : USB
Location Info            : Port_#0014.Hub_#0003
Location IDs             : PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(14), ACPI(_SB_)#ACPI(PCI0)#ACPI(XHC_)#ACPI(RHUB)#ACPI(HS14)
Container ID             : {a21d4e5a-4c90-5981-9f27-76046bd6f170}
Manufacturer Info        : STMicroelectronics
Capabilities             : 0x94 (Removable, UniqueID, SurpriseRemovalOK)
Status                   : 0x0180600A (DN_DRIVER_LOADED, DN_STARTED, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER)
Problem Code             : 0
HcDisableSelectiveSuspend: 0
EnableSelectiveSuspend   : 0
SelectiveSuspendEnabled  : 0
EnhancedPowerMgmtEnabled : 0
IdleInWorkingState       : 0
WakeFromSleepState       : 0
Power State              : D0 (supported: D0, D3, wake from D0)
COM-Port                 : COM13 (\Device\USBSER000)

        +++++++++++++++++ Registry USB Flags +++++++++++++++++
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\048357400000
osvc                    : REG_BINARY 00 00

        ---------------- Connection Information ---------------
Connection Index         : 0x0E (Port 14)
Connection Status        : 0x01 (DeviceConnected)
Current Config Value     : 0x01 (Configuration 1)
Device Address           : 0x10 (16)
Is Hub                   : 0x00 (no)
Device Bus Speed         : 0x01 (Full-Speed)
Number Of Open Pipes     : 0x03 (3 pipes to data endpoints)
Pipe[0]                  : EndpointID=3  Direction=IN   ScheduleOffset=0  Type=Interrupt
Pipe[1]                  : EndpointID=1  Direction=OUT  ScheduleOffset=0  Type=Bulk
Pipe[2]                  : EndpointID=2  Direction=IN   ScheduleOffset=0  Type=Bulk
Data (HexDump)           : 0E 00 00 00 12 01 00 02 02 02 00 40 83 04 40 57   ...........@..@W
                           00 00 01 02 03 01 01 01 00 10 00 03 00 00 00 01   ................
                           00 00 00 07 05 83 03 08 00 10 00 00 00 00 07 05   ................
                           01 02 40 00 00 00 00 00 00 07 05 82 02 40 00 00   ..@..........@..
                           00 00 00 00                                       ....

        --------------- Connection Information V2 -------------
Connection Index         : 0x0E (14)
Length                   : 0x10 (16 bytes)
SupportedUsbProtocols    : 0x03
Usb110                  : 1 (yes, port supports USB 1.1)
Usb200                  : 1 (yes, port supports USB 2.0)
Usb300                  : 0 (no, port not supports USB 3.0)
ReservedMBZ             : 0x00
Flags                    : 0x00
DevIsOpAtSsOrHigher     : 0 (Device is not operating at SuperSpeed or higher)
DevIsSsCapOrHigher      : 0 (Device is not SuperSpeed capable or higher)
DevIsOpAtSsPlusOrHigher : 0 (Device is not operating at SuperSpeedPlus or higher)
DevIsSsPlusCapOrHigher  : 0 (Device is not SuperSpeedPlus capable or higher)
ReservedMBZ             : 0x00
Data (HexDump)           : 0E 00 00 00 10 00 00 00 03 00 00 00 00 00 00 00   ................

    ---------------------- Device Descriptor ----------------------
bLength                  : 0x12 (18 bytes)
bDescriptorType          : 0x01 (Device Descriptor)
bcdUSB                   : 0x200 (USB Version 2.00) -> wrong, device is Full-Speed only
bDeviceClass             : 0x02 (Communications and CDC Control)
bDeviceSubClass          : 0x02
bDeviceProtocol          : 0x00 (No class specific protocol required)
bMaxPacketSize0          : 0x40 (64 bytes)
idVendor                 : 0x0483 (STMicroelectronics)
idProduct                : 0x5740
bcdDevice                : 0x0000
iManufacturer            : 0x01 (String Descriptor 1)
Language 0x0409         : "STMicroelectronics°"
iProduct                 : 0x02 (String Descriptor 2)
Language 0x0409         : "MAPLEMINI_F103CB CDC in FS Mode°"
iSerialNumber            : 0x03 (String Descriptor 3)
Language 0x0409         : "6565BF823332°"
bNumConfigurations       : 0x01 (1 Configuration)
Data (HexDump)           : 12 01 00 02 02 02 00 40 83 04 40 57 00 00 01 02   .......@..@W....
                           03 01                                             ..

    ------------------ Configuration Descriptor -------------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x02 (Configuration Descriptor)
wTotalLength             : 0x0043 (67 bytes)
bNumInterfaces           : 0x02 (2 Interfaces)
bConfigurationValue      : 0x01 (Configuration 1)
iConfiguration           : 0x00 (No String Descriptor)
bmAttributes             : 0xC0
D7: Reserved, set 1     : 0x01
D6: Self Powered        : 0x01 (yes)
D5: Remote Wakeup       : 0x00 (no)
D4..0: Reserved, set 0  : 0x00
MaxPower                 : 0x32 (100 mA)
Data (HexDump)           : 09 02 43 00 02 01 00 C0 32 09 04 00 00 01 02 02   ..C.....2.......
                           00 00 05 24 00 10 01 05 24 01 00 01 04 24 02 02   ...$....$....$..
                           05 24 06 00 01 07 05 83 03 08 00 10 09 04 01 00   .$..............
                           02 0A 00 00 00 07 05 01 02 40 00 00 07 05 82 02   .........@......
                           40 00 00                                          @..

        ---------------- Interface Descriptor -----------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x04 (Interface Descriptor)
bInterfaceNumber         : 0x00
bAlternateSetting        : 0x00
bNumEndpoints            : 0x01 (1 Endpoint)
bInterfaceClass          : 0x02 (Communications and CDC Control)
bInterfaceSubClass       : 0x02 (Abstract Control Model)
bInterfaceProtocol       : 0x00 (No class specific protocol required)
iInterface               : 0x00 (No String Descriptor)
Data (HexDump)           : 09 04 00 00 01 02 02 00 00                        .........

        -------------- CDC Interface Descriptor ---------------
bFunctionLength          : 0x05 (5 bytes)
bDescriptorType          : 0x24 (Interface)
bDescriptorSubType       : 0x00 (Header Functional Descriptor)
bcdCDC                   : 0x110 (CDC Version 1.10)
Data (HexDump)           : 05 24 00 10 01                                    .$...

        -------------- CDC Interface Descriptor ---------------
bFunctionLength          : 0x05 (5 bytes)
bDescriptorType          : 0x24 (Interface)
bDescriptorSubType       : 0x01 (Call Management Functional Descriptor)
bmCapabilities           : 0x00
D7..2                   : 0x00 (Reserved)
D1                      : 0x00 (sends/receives call management information only over the Communication Class interface)
D0                      : 0x00 (does not handle call management itself)
bDataInterface           : 0x01
Data (HexDump)           : 05 24 01 00 01                                    .$...

        -------------- CDC Interface Descriptor ---------------
bFunctionLength          : 0x04 (4 bytes)
bDescriptorType          : 0x24 (Interface)
bDescriptorSubType       : 0x02 (Abstract Control Management Functional Descriptor)
bmCapabilities           : 0x02
D7..4                   : 0x00 (Reserved)
D3                      : 0x00 (not supports the notification Network_Connection)
D2                      : 0x00 (not supports the request Send_Break)
D1                      : 0x01 (supports the request combination of Set_Line_Coding, Set_Control_Line_State, Get_Line_Coding, and the notification Serial_State)
D0                      : 0x00 (not supports the request combination of Set_Comm_Feature, Clear_Comm_Feature, and Get_Comm_Feature)
Data (HexDump)           : 04 24 02 02                                       .$..

        -------------- CDC Interface Descriptor ---------------
bFunctionLength          : 0x05 (5 bytes)
bDescriptorType          : 0x24 (Interface)
bDescriptorSubType       : 0x06 (Union Functional Descriptor)
bControlInterface        : 0x00
bSubordinateInterface[0] : 0x01
Data (HexDump)           : 05 24 06 00 01                                    .$...

        ----------------- Endpoint Descriptor -----------------
bLength                  : 0x07 (7 bytes)
bDescriptorType          : 0x05 (Endpoint Descriptor)
bEndpointAddress         : 0x83 (Direction=IN EndpointID=3)
bmAttributes             : 0x03 (TransferType=Interrupt)
wMaxPacketSize           : 0x0008 (8 bytes)
bInterval                : 0x10 (16 ms)
Data (HexDump)           : 07 05 83 03 08 00 10                              .......

        ---------------- Interface Descriptor -----------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x04 (Interface Descriptor)
bInterfaceNumber         : 0x01
bAlternateSetting        : 0x00
bNumEndpoints            : 0x02 (2 Endpoints)
bInterfaceClass          : 0x0A (CDC-Data)
bInterfaceSubClass       : 0x00
bInterfaceProtocol       : 0x00
iInterface               : 0x00 (No String Descriptor)
Data (HexDump)           : 09 04 01 00 02 0A 00 00 00                        .........

        ----------------- Endpoint Descriptor -----------------
bLength                  : 0x07 (7 bytes)
bDescriptorType          : 0x05 (Endpoint Descriptor)
bEndpointAddress         : 0x01 (Direction=OUT EndpointID=1)
bmAttributes             : 0x02 (TransferType=Bulk)
wMaxPacketSize           : 0x0040 (64 bytes)
bInterval                : 0x00 (ignored)
Data (HexDump)           : 07 05 01 02 40 00 00                              ....@..

        ----------------- Endpoint Descriptor -----------------
bLength                  : 0x07 (7 bytes)
bDescriptorType          : 0x05 (Endpoint Descriptor)
bEndpointAddress         : 0x82 (Direction=IN EndpointID=2)
bmAttributes             : 0x02 (TransferType=Bulk)
wMaxPacketSize           : 0x0040 (64 bytes)
bInterval                : 0x00 (ignored)
Data (HexDump)           : 07 05 82 02 40 00 00                              ....@..

    ----------------- Device Qualifier Descriptor -----------------
Error                    : ERROR_GEN_FAILURE

      -------------------- String Descriptors -------------------
             ------ String Descriptor 0 ------
bLength                  : 0x04 (4 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language ID[0]           : 0x0409 (English - United States)
Data (HexDump)           : 04 03 09 04                                       ....
             ------ String Descriptor 1 ------
bLength                  : 0x26 (38 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "STMicroelectronics°"  *!*ERROR  contains 1 NULL character
Data (HexDump)           : 26 03 53 00 54 00 4D 00 69 00 63 00 72 00 6F 00   &.S.T.M.i.c.r.o.
                           65 00 6C 00 65 00 63 00 74 00 72 00 6F 00 6E 00   e.l.e.c.t.r.o.n.
                           69 00 63 00 73 00                                 i.c.s.
             ------ String Descriptor 2 ------
bLength                  : 0x40 (64 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "MAPLEMINI_F103CB CDC in FS Mode°"  *!*ERROR  contains 1 NULL character
Data (HexDump)           : 40 03 4D 00 41 00 50 00 4C 00 45 00 4D 00 49 00   @.M.A.P.L.E.M.I.
                           4E 00 49 00 5F 00 46 00 31 00 30 00 33 00 43 00   N.I._.F.1.0.3.C.
                           42 00 20 00 43 00 44 00 43 00 20 00 69 00 6E 00   B. .C.D.C. .i.n.
                           20 00 46 00 53 00 20 00 4D 00 6F 00 64 00 65 00    .F.S. .M.o.d.e.
             ------ String Descriptor 3 ------
bLength                  : 0x1A (26 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "6565BF823332°"  *!*ERROR  contains 1 NULL character
Data (HexDump)           : 1A 03 36 00 35 00 36 00 35 00 42 00 46 00 38 00   ..6.5.6.5.B.F.8.
                           32 00 33 00 33 00 33 00 32 00                     2.3.3.3.2.



Zitat von: juergs am 20 Mai 2021, 21:56:39
Benutzt Du Dein eigenes Compile.?
Hast Du es mit Ralfs fertigen Binaries probiert.?

Ich nutze die Binaries von Ralf.
Primär: https://github.com/Ralf9/SIGNALDuino/releases/tag/V4.1.2-dev210205 (Maple_cul_USB_412dev210205.bin)
Aber auch schon diese ausprobiert: https://github.com/Ralf9/SIGNALDuino/releases/tag/V4.1.1-dev200627 (Maple_cul_USB_411dev200627.bin)

Ralf9

Hast Du den Maple in FHEM deaktiviert?
FHEM und der Serielle Monitor funktioniert nicht gleichzeitig
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

juergs

Bitrate  "115220" ? => sollte 115200 sein. Tippfehler?

Dies Ausgabe ist aber OK!

ZitatWatchdog enabled
Reading values from eeprom
CCInit
detect A: Partn=0 Ver=0x14
detect B: Partn=0 Ver=0x14
detect C: Partn=0 Ver=0x14
detect D: Partn=0 Ver=0x04
Starting timerjob
rxA=1 rxB=1
.MU;P0=-15870;P1=4095;P2=-854;P3=-4866;P4=884;P5=3097;P6=1573;CP=4;R=216;D=0121343534353535353534343434353434343534343535343534343536;e;.
.MU;P0=652;P1=-4868;P2=3099;P3=-31009;P4=4071;P5=-885;P6=906;CP=6;R=220;D=0121234541612161212121212161616161216161612161612121612161612121212121212;e;.
.MU;P0=-32001;P1=4087;P2=-858;P3=-4843;P4=871;P5=3088;CP=4;R=217;D=01213435343535353535343434343534343435343435353435343434;e;.
.MU;P0=2297;P1=-4899;P2=3107;P3=-31058;P4=4049;P5=-919;P6=894;CP=2;R=219;D=0121212121212345416121612121212121616161610;e;.

Jetzt nur nocht die Radios aktivieren:
https://forum.fhem.de/index.php/topic,106278.msg1141506.html#msg1141506

Dann werden wie oben ggf. Telegramme empfangen...  :)



FunkOdyssey

Zitat von: Ralf9 am 20 Mai 2021, 22:23:51
Hast Du den Maple in FHEM deaktiviert?
FHEM und der Serielle Monitor funktioniert nicht gleichzeitig

Ich stecke den Maple um. IDE und dfu-util laufen auf einem eigenen Windows-System.

FunkOdyssey