2020-01-25 02:39 PM
Hello. First of all I should start by saying I'm new to embedded development and have a lot to learn.
We're using an STMF413 and I'm unable to get the device to register in DFU mode on a Windows PC. I've used DFU to flash other STMF413's before with no problem.
Here are the facts:
Power:
The board has 3V3 and GND, and draws approx 0.2A from the 5V USB supply.
The STM chip is warm
Crystal:
Using a 16MHZ cystal ABM8W-16.0000MHZ-8-D1X-T3 with 2 20pF caps.
A scope on the PH0 / PH1 pins showed 0 volts on both pins
Boot Pin:
The boot pin is showing 3V3.
USB:
Confirmed connections between USB cable to the MCU pins (through 22 ohm resistor)
Tested switching the DM/DP wires in case there was a polarity issue.
PCB:
Confirmed pin-out of the crystal is correct (looking top down the ground pins are the top left and bottom right).
Crystal is connect to pins 5 (PH0) and 6 (PH1) on the STM.
USB DM is connected to pin 44 on the STM.
USB DP is connected to pin 45 on the STM.
Questions:
My understanding is that it is possible to flash a brand new board with DFU. Please correct me if I am wrong.
Should the crystal pins be showing something on my scope?
Anything else that might be relevant is much appreciated. Thank you.