Today I figured it out. What did you figure out, I hear you say... I finally resolved a problem with a USART on a STM32F407 board, that was easy to spot if I had just looked closely. I just lost a day in trying to find the fault. I am working with this board made by Olimex (https://www.olimex.com/Products/ARM/ST/STM32-E407/open-source-hardware) And connected it using ST-Link interface to my PC. I connected the SWD pins to the JTAG connector of the Olimex SWD-pin-1 ------ JTAG-pin-1 (VCC) SWD-pin-2 ------ JTAG-pin-9 (TCK) SWD-pin-3 ------ JTAG-pin-4,6,8 (GND) SWD-pin-4 ------ JTAG-pin-7 (TMS) SWD-pin-5 ------ JTAG-pin-15 (TRST) SWD-pin-6 ------ JTAG-pin-13 (TDO) I connected the serial port (USART6 is pins 3 and 4 of UEXT) of the Olimex to the TX/RX lines of the ST-link (see the green circle) Then I wrote a program and tested it. I made sure the PLL of the STM32F407 was running, configured all the needed files. defined the target cpu in stm32f4xx.h (...
Fun, Coding, Making, Electronics, Notes, Design, Opinions