Hello,
Does anyone here have any experience in using the discovery board as an external programmer? I've set up an stm32f407 (identical to the one on the discovery) on a breakout board with some components and am trying to flash it via the 6 SWD pins and getting an error "Error: Connect failed, check config and cable connection" which is the same error that you get when your usb cable is unplugged.
My setup: I've connected all the VDD'ss and VSS's and decoupled them. I've got an 8Mhz xtal with 18pf caps. I've wired the boot0 to ground through 10k because thats how they have it done in the schematic of the discovery. As for the connections: I've simply attached the NRST pin on SWD to NRST on the target MCU (no pullups/downs) and the same for the SWD clk and SWD io.
I've also tried mimicking the schematic some more and pulling the PB6 and PB9 via 4.6k to vdd and boot1 to Vdd but without luck.
Is there something that I'm missing/doing wrong? Thanks in advance.
Does anyone here have any experience in using the discovery board as an external programmer? I've set up an stm32f407 (identical to the one on the discovery) on a breakout board with some components and am trying to flash it via the 6 SWD pins and getting an error "Error: Connect failed, check config and cable connection" which is the same error that you get when your usb cable is unplugged.
My setup: I've connected all the VDD'ss and VSS's and decoupled them. I've got an 8Mhz xtal with 18pf caps. I've wired the boot0 to ground through 10k because thats how they have it done in the schematic of the discovery. As for the connections: I've simply attached the NRST pin on SWD to NRST on the target MCU (no pullups/downs) and the same for the SWD clk and SWD io.
I've also tried mimicking the schematic some more and pulling the PB6 and PB9 via 4.6k to vdd and boot1 to Vdd but without luck.
Is there something that I'm missing/doing wrong? Thanks in advance.