Skip to main content
GHalb
Associate II
June 19, 2019
Question

No DFU detected

  • June 19, 2019
  • 4 replies
  • 5498 views

Hi I'm running the STM32CubeProgrammer on MacOs and I'm trying to connect a cheap STM32F407ZG to upload a program via USB the the programmer cannot connect to the board. Anyone got any ideas?

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
June 19, 2019

BOOT0 pin needs to be high when you restart/plug in device. Should report as "STM32 in DFU Mode" or something similar.

The system loader, doesn't want to be seeing noise on other interfaces it might use for updating. See app note AN2606

Also needs a crystal oscillator on board for USB and CAN loader operation.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
GHalb
GHalbAuthor
Associate II
June 19, 2019

Clive - thank's. Ive just tried it, and the board connects to the CubeProgrammer immediately. I had to fiddle and guess a little with the pins. As mentioned it's a cheap chinese clone from TaoBao. It has BT1 and BT0 pins which was the boot pins. Connecting BT0 to 3V3 worked.

GHalb
GHalbAuthor
Associate II
June 19, 2019

Btw - it has both the 8 and 32 Mhz crystals on board as well as two USB ports, the TFT interfaces together with NRF74L01 and camera interface.

Tesla DeLorean
Guru
June 19, 2019

<G> Some board on TaoBao doesn't really pin things down. How about a picture of the board, and a link to the vendor page? Bonus points if it has a schematic.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
GHalb
GHalbAuthor
Associate II
June 19, 2019

No they sure don't.;-) and if you're lucky to stumble on some downloadable material the page and documentation is in chinese - but on the other hand it's cheap as chips. Supplier page: https://item.taobao.com/item.htm?spm=a1z10.1-c.w4004-5253464463.45.3c395dffd954yV&id=565218048000