-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] STM32F103RC_btt_USB USB is very unstable and SD card speed is very low #23493
Comments
Okay upon further testing this is more broken than I thought. STM32F103RC_btt
STM32F103RC_btt_usb
STM32F103RC_btt_maple
STM32F103RC_btt_usb_maple
These issues may be related to |
This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 10 days. |
Please test the |
This is still non-working as of 2.0.9.3-330-g975b90c0b7 (pulled today) |
Please zip up & attach your configs as well as any other files you have modified. |
Issue 23493 - STM32F103RC_btt_USB - USB non working.zip Configs and boot loader images attached. Let me know if you need anything else. |
No, that change was reverted in this repo specifically due to instability. Please revert those changes and test with the correct size of 256k for RC chips. |
I have retested with 256k and it is the same (boot screens disabled). FYI |
This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 10 days. |
@thinkyhead Please let me know if I can assist in troubleshooting this issue. |
Did you revert those changes as requested and test with the correct size of 256k for RC chips? Overflashing these chips was removed and is not supported. |
I’m author of part of this work. The only issue I remember was the need to unplug the cable and plug again, if marlin start with the cable attached. This issue was in my task list in the past. |
This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 10 days. |
This issue is still active. |
This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 10 days. |
This issue is still active. |
I also have a similar issue with my SKR mini E3 V1.0 board. bugfix 2.1.1 from 2 days ago, built with STM32F103RC_BTT_USB environment results in Win10 PC recognizing the USB, but after about a min, it comes up with "insert disk into drive:X", and displays no files. Tried another SD card and same issue. Worked with an older build of bugfix 2.0.x (maybe 1.5 yrs old) when building with Maple. Since Maple is deprecated, I'm trying to build with the _USB only. edit: more testing with Marlin V2.1.2 - Same issue when building with _USB. Doesn't work at all when cable is inserted at Marlin boot, but removal and re-insert of cable works fine on 128MB SD card (FAT) (one that came with SKR board), but not on 8GB card (FAT32). Maple environment doesn't bring up drive letter at all. Also tried V2.0.9.1 and same issue. |
This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 10 days. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
Using bugfix-2.0.x as of Jan 9/2022
SKR Mini E4 v1.2 board (STM32F103RC) on Ender 3
I am upgrading from Marlin 2.0.5.3 -> latest
When building against STM32F103RC_btt_USB upon Marlin bootup;
Com port appears and mass storage drive appears.
Mass storage drive is inaccessible "Please insert disk into drive G:"
Com Port is also non-functional error given is
WindowsError(995, 'The I/O operation has been aborted because of either a thread exit or an application request.')
If I open windows Disk Management it stalls indefinitely until I disconnect USB.
If I unplug and replug USB the drive is detected as fat32 and is mounted and accessible
Com port also becomes functional after replug.
When building against STM32F103RC_btt_USB_maple upon Marlin bootup;
Com port appears but no mass storage drive appears after replug
I have tried disabling ENDSTOP_INTERRUPTS_FEATURE and reducing SD spi speed to slowest settings but it has not helped
This was working in 2.0.5.3.
Please let me know how I can assist in debugging.
I have lots of ROM space left for debug features
Bug Timeline
2.0.5.3 -> Latest
Expected behavior
USB to work on boot
Actual behavior
USB is not working on boot
Steps to Reproduce
Version of Marlin Firmware
FIRMWARE_NAME:Marlin bugfix-2.0.x (Jan 9 2022 23:07:59) SOURCE_CODE_URL:github.com/MarlinFirmware/Marlin PROTOCOL_VERSION:1.0 MACHINE_TYPE:Ender 3 EXTRUDER_COUNT:1 UUID:cede2a2f-41a2-4748-9b12-c55c62f367ff Cap:SERIAL_XON_XOFF:0 Cap:BINARY_FILE_TRANSFER:0 Cap:EEPROM:1 Cap:VOLUMETRIC:1 Cap:AUTOREPORT_POS:0 Cap:AUTOREPORT_TEMP:1 Cap:PROGRESS:0 Cap:PRINT_JOB:1 Cap:AUTOLEVEL:1 Cap:RUNOUT:0 Cap:Z_PROBE:1 Cap:LEVELING_DATA:1 Cap:BUILD_PERCENT:1 Cap:SOFTWARE_POWER:0 Cap:TOGGLE_LIGHTS:0 Cap:CASE_LIGHT_BRIGHTNESS:0 Cap:EMERGENCY_PARSER:1 Cap:HOST_ACTION_COMMANDS:0 Cap:PROMPT_SUPPORT:0 Cap:SDCARD:1 Cap:REPEAT:0 Cap:SD_WRITE:1 Cap:AUTOREPORT_SD_STATUS:0 Cap:LONG_FILENAME:0 Cap:EXTENDED_M20:0 Cap:THERMAL_PROTECTION:1 Cap:MOTION_MODES:0 Cap:ARCS:1 Cap:BABYSTEPPING:1 Cap:CHAMBER_TEMPERATURE:0 Cap:COOLER_TEMPERATURE:0 Cap:MEATPACK:0 Cap:CONFIG_EXPORT:0
Printer model
Ender 3
Electronics
SKR E3 v1.2
Add-ons
No response
Bed Leveling
UBL Bilinear mesh
Your Slicer
Cura
Host Software
No response
Additional information & file uploads
No response
The text was updated successfully, but these errors were encountered: