Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. USB Serial missing on Maple Mini

USB Serial missing on Maple Mini

Scheduled Pinned Locked Moved Troubleshooting
stm32 usb serial
1 Posts 1 Posters 25 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    canyouhearmenow
    wrote on last edited by
    #1

    I am trying to use a Maple Mini clone with MySensors, with an NRF24 radio wired to SPI1 as described in MyHwSTM32F1.cpp

    • I can flash the board with a simple test script that has Serial.begin() in setup(), and it will present as a USB serial device to the Windows host (as COM23) ... so far, so good
    • When I flash a script using MySensors, no USB serial device is presented
    • When I redirect MySensors output to the "real" serial port with #define MY_SERIALDEVICE Serial1 and #define MY_DEBUG, I get the MySensors splash screen and all the expected log messages at the real serial output, but the script hangs after the call to Serial.begin() in setup()

    Oh, and I'm doing all this in Platformio, and my platformio.ini both for the "working" simple script and the "non-working" MySensors script contains

    platform = ststm32
    framework = arduino
    board = maple_mini_b20
    board_build.core = maple
    build_flags = 
        -D USBD_USE_CDC
        -D USB_MANUFACTURER="Leaflabs"
        -D USB_PRODUCT="\"Maple Mini\""
        -D ENABLE_USB_SERIAL
        -D ARDUINO_ARCH_STM32F1
    monitor_port = COM23
    

    How does MySensors interfere with the creation of the USB serial device?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    13

    Online

    11.7k

    Users

    11.2k

    Topics

    113.1k

    Posts


    Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • MySensors
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular