ST32F413 Won't Program in Cube Programmer?
I have two identical pre-production PCBs containing fresh, unprogrammed 32F413VGT micros from our distributor. One board will program just fine but CubeProgrammer says "can't erase device!" when I try to program the other board.
After first scanning the PCB for visible solder shorts and open pads, the next thing I verified was that the micro wasn't soldered into the PCB upside down. I tripped last year on this often-discussed snafu caused by the ejector dimple mimicking the pin #1 identification dot.
Other early efforts to diagnose this PCB:
--the redundant corner VDD power pins have the same (correct) voltages on both boards.
--both boards have the same ~1V signal on their V_CAP pins.
--the reset line is the same state on both.
--both unprogrammed boards draw the same IDD current, a value near zero.
Any suggestion re additional things for me to check?
Does my primary 8MHz crystal oscillator have to work in order to program a 32F micro? I think no because an operating board could have an internal RC oscillator, correct?
Should I park a 'scope probe on the SWDIO and SWCLK pins and look for identical wiggles during CubeProgrammer's efforts to program?
Thanks in advance for any help you can offer on this.
Jim
Indianapolis US
