cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F207VCT6 chip won't connect via USART to STM32CubeProgrammer

RodolfoGM
Associate

Hi. Recently I started a new personal project, where I'm trying to develop my own SMD-to-female-header PCB for the STM32F207VCT6 MCU chip. After ordering all the parts, doing some reflow soldering, checking that there are no solder bridges, and verifying that each pin properly reaches its corresponding header, I proceeded to connect the following circuit to it. Most of it comes from the AN3320 application note for this chip.
STM32F2_circuit.png

In order to program it, I got an FTDI FT232R board and connected it to the chip's USART1 (PA9 and PA10). Additionally, I set pins Boot0 and Boot1 to HIGH and LOW respectively to boot from system memory. From what I've seen from other blogs, a connection between STM32 chips and the STM32CubeProgrammer software can be done via USART. However, I'm getting the following error.
stm32cubeprogram_err.png

I tried setting the Baudrate and parity settings to every combination available, I tried resetting the chip multiple times, checked the appropriate voltages for VCC and VCap, and tried other USART ports on the chip. Am I doing something wrong?

3 REPLIES 3
TDK
Guru

Two things:

  • Each VCAP pin should only have a 2.2uF capacitor to ground. That's it. The chip drives that voltage, not you, so you need to remove U2.1. (You CAN disable the internal regulator on packages with a REGOFF pin, but this chip doesn't have one.)
  • The VDDA pin must be connected to power, preferably VDD.

And a strong suggestion:

  • Use SWD for programming and debugging. You're making your life a lot more difficult by only using the UART interface.
If you feel a post has answered your question, please click "Accept as Solution".
Hiibrarahmad
Associate

I ALSO FACE THIS ISSUE BUT WHEN I PRESS THE REST BUTTON AND THEN I TRY TO CONNECT IT GOT CONNECTED SUCCESFULLY and also upload code and run on chip but after that code run on stm32 perfectly but on stm programmer it got disconnected while showing this prompt 
19:13:26 : Timeout error occured while waiting for acknowledgement.
19:13:26 : Error: GETID command not acknowledged!
19:13:26 : Warning: Connection to device 0x410 is lost
19:13:26 : Disconnected from device.

and again you have to push rest button and upload code and then it will get disconnected 

Please make a new post with relevant details about your chip, project, configuration, etc.

If you feel a post has answered your question, please click "Accept as Solution".