with this bug i can't use the core 2.0.0 in my project.
if I want use platformio, which release has not the serial big data bug? 7.0.0 or can I use a newer?
https://github.com/platformio/platform-ststm32/releases
Search found 33 matches
- Thu Jul 01, 2021 10:41 pm
- Forum: General discussion
- Topic: receive over serialUSB a string more than 191 chars causes a reset with core 2.0.0 and mapleMini
- Replies: 2
- Views: 3222
- Sat May 29, 2021 2:08 pm
- Forum: General discussion
- Topic: receive over serialUSB a string more than 191 chars causes a reset with core 2.0.0 and mapleMini
- Replies: 2
- Views: 3222
receive over serialUSB a string more than 191 chars causes a reset with core 2.0.0 and mapleMini
Hi,
I use the arduino IDE.
With core 1.9.0 and with Arduino nano I can easily receive over serialUSB a string with more then 200 chars
hier is a testsketch
String cmdstring = "";
bool command_available=false;
void setup() {
cmdstring.reserve(600);
Serial.begin(115200);
while (!Serial ...
I use the arduino IDE.
With core 1.9.0 and with Arduino nano I can easily receive over serialUSB a string with more then 200 chars
hier is a testsketch
String cmdstring = "";
bool command_available=false;
void setup() {
cmdstring.reserve(600);
Serial.begin(115200);
while (!Serial ...
- Mon Jun 01, 2020 9:33 pm
- Forum: General discussion
- Topic: SerialUSB doesn't work on Maple Mini and Bootloader2.0
- Replies: 49
- Views: 60850
Re: SerialUSB doesn't work on Maple Mini and Bootloader2.0
Now it works without a workaround
I had select the Board part number: Gerneric F103CB
because with my screenresolution 1920 * 1080 I have not seen the maple Mini entry, because there is no scroll arrow below.
With the maple Mini entry it works

I had select the Board part number: Gerneric F103CB
because with my screenresolution 1920 * 1080 I have not seen the maple Mini entry, because there is no scroll arrow below.
With the maple Mini entry it works
- Mon Jun 01, 2020 5:40 pm
- Forum: General discussion
- Topic: SerialUSB doesn't work on Maple Mini and Bootloader2.0
- Replies: 49
- Views: 60850
Re: SerialUSB doesn't work on Maple Mini and Bootloader2.0
I have updated to the core 1.9.0
with this core the USBD_reenumerate with the bootloader2.0 does not work too
the workaround for the core 1.8.0 does not work either
viewtopic.php?p=2181#p2181
now I need for the core 1.9.0 a new workaround
with this core the USBD_reenumerate with the bootloader2.0 does not work too

the workaround for the core 1.8.0 does not work either
viewtopic.php?p=2181#p2181
now I need for the core 1.9.0 a new workaround
- Mon Apr 20, 2020 6:28 am
- Forum: General discussion
- Topic: SerialUSB doesn't work on Maple Mini and Bootloader2.0
- Replies: 49
- Views: 60850
Re: SerialUSB doesn't work on Maple Mini and Bootloader2.0
The problem is:
With the orginal bootloader the USBD_reenumerate is working, because the USB_DISC Pin is high when leaving the bootloader.
With the bootloader2.0 the USB_DISC Pin is low when leaving the bootloader, the setting of USB_DISC Pin to low in the core 1.8.0 has
has no effect, because ...
With the orginal bootloader the USBD_reenumerate is working, because the USB_DISC Pin is high when leaving the bootloader.
With the bootloader2.0 the USB_DISC Pin is low when leaving the bootloader, the setting of USB_DISC Pin to low in the core 1.8.0 has
has no effect, because ...
- Sun Apr 19, 2020 8:10 pm
- Forum: General discussion
- Topic: SerialUSB doesn't work on Maple Mini and Bootloader2.0
- Replies: 49
- Views: 60850
- Sun Apr 19, 2020 7:37 pm
- Forum: General discussion
- Topic: SerialUSB doesn't work on Maple Mini and Bootloader2.0
- Replies: 49
- Views: 60850
Re: SerialUSB doesn't work on Maple Mini and Bootloader2.0
I use this hardware
- Sun Apr 19, 2020 7:11 pm
- Forum: General discussion
- Topic: SerialUSB doesn't work on Maple Mini and Bootloader2.0
- Replies: 49
- Views: 60850
Re: SerialUSB doesn't work on Maple Mini and Bootloader2.0
so that the USBD_reenumerate with the bootloader2.0 works,
the USB_DISC_PIN must be set to high once and then to low again
if I change the usbd_if.c in the core 1.8.0, the USBD_reenumerate works too
I have this as a test
stm32/1.8.0/cores/arduino/stm32/usb/usbd_if.c
#ifdef USB_DISC_PIN
pinMode ...
the USB_DISC_PIN must be set to high once and then to low again
if I change the usbd_if.c in the core 1.8.0, the USBD_reenumerate works too
I have this as a test
stm32/1.8.0/cores/arduino/stm32/usb/usbd_if.c
#ifdef USB_DISC_PIN
pinMode ...
- Sun Apr 19, 2020 10:40 am
- Forum: General discussion
- Topic: SerialUSB doesn't work on Maple Mini and Bootloader2.0
- Replies: 49
- Views: 60850
Re: SerialUSB doesn't work on Maple Mini and Bootloader2.0
I have it tested, when I put this file "USBD_reenumerate.c" in my sketch directory, than it works with the bootloader2.0 also after a reset
#include "usbd_if.h"
#include "usbd_cdc_if.h"
#if ARDUINO < 10900
void USBD_reenumerate(void)
{
#ifndef USBD_REENUM_DISABLED
/* Re-enumerate the USB ...
#include "usbd_if.h"
#include "usbd_cdc_if.h"
#if ARDUINO < 10900
void USBD_reenumerate(void)
{
#ifndef USBD_REENUM_DISABLED
/* Re-enumerate the USB ...
- Sun Apr 19, 2020 6:43 am
- Forum: General discussion
- Topic: SerialUSB doesn't work on Maple Mini and Bootloader2.0
- Replies: 49
- Views: 60850
Re: SerialUSB doesn't work on Maple Mini and Bootloader2.0
Have you for me until the core 1.9.0 a better workaround than add this to my sketch?
Can I fix it directly in the cores/arduino/stm32/usb/usbd_if.c ?
Code: Select all
void setup() {
pinMode(D34, OUTPUT);
digitalWrite(D34,1);
delay(100);
digitalWrite(D34, 0);