grblHAL / STM32F4xx

grblHAL driver for ST STM32F4xx (Nucleo-64, Blackpill)
Other
90 stars 85 forks source link

SKR 2 not connecting to usb #190

Open dangerousderek opened 2 weeks ago

dangerousderek commented 2 weeks ago

Hi! I used the Web builder to compile for the BTT SKR2. I'm not good enough with code to compile grblhal myself, and no combination of settings on the web builder seems to work. The SKR 2 board works fine with marlin, but as soon as I flash the .bin from the web builder it fails to show up as a usb com port. After a bunch of googling, I found a blog that pointed me to this conversation: https://community.platformio.org/t/difficulty-with-getting-usb-serial-usb-cdc-working/7501/9 They are discussing the usb not working with this chipset, but once again I don't know enough about coding to compile grblhal and fix the usb issue myself. Is there any way to fix this issue with the web builder? Thanks!

terjeio commented 2 weeks ago

It could be the USB clock beeing off. Which processor is on the board, a 407 or a 429?

dangerousderek commented 2 weeks ago

Thanks for the quick reply! It's the 407!

terjeio commented 1 week ago

It could be due to the basic version (no bootloader) using an incorrect loader file. If this was the one you tried you may try again now. If not I can compile a bootloader version with Eclipse for you to try.

FYI I do not have a board to verify the code with.