bigtreetech / BIGTREETECH-SKR-PRO-V1.1

Aiming at some problems existing in 3D printed motherboards in the market. Bigtree Technology Co., Ltd. launched a high performance 3D printer master board with STM32F407ZGT6 as the core controller, BIGTREETECH-SKR-PRO-V1.1.
274 stars 222 forks source link

C62 and C67 are too large and cause too-slow crystal start to use system bootloader in DFU mode #153

Open zbrozek opened 4 years ago

zbrozek commented 4 years ago

The onboard system bootloader (BOOT0 set high, BOOT1 set low) present on the STM3240xxx series only waits 780 microseconds for the crystal to start. The SKR Pro 1.1 comes with 22 pF capacitors that over-load the crystal such that it can't start quickly enough to enable USB support within the system bootloader.

I replaced these capacitors with 12 pF capacitors and now the startup is fast enough that the SKR Pro 1.1 is able to enumerate as a USB DFU device.

mqt0029 commented 4 years ago

Can someone @bigtreetech verify this is an issue with USB enumeration? Is this why my SKR Pro V1.1 USB-A USB-B port to OctoPi or Pronterface never worked (USB Descriptor Request Failed) no matter what I tried?

zbrozek commented 4 years ago

@mqt0029 This is only relevant if you're trying to use the DFU bootloader, which is unlikely if you're thinking about OctoPi. Also presumably you meant the USB-B connector?

mqt0029 commented 4 years ago

Apologies was typing it up halfway through trying to get OctoPi to work with this board. And yes I meant the USB-B connector. So far trying all the firmware flashes which claims to have bootloader or USB serial does nothing:

Sorry for the wall of text. It is a long shot, but at this point I'm beginning to suspect everything possible, including bad USB setup from within the bootloader.