2018-06-29 04:00 AM
Hi, I bought a chinese dev-board, more specifically this one:
amazon:
https://www.amazon.com/Diymore-STM32F407VGT6-Cortex-M4-Discovery-Development/dp/B01M7YB5HF
schematics:
http://dubstylee.net/v/wp-content/uploads/2017/08/DIY-More-STM32F407VGT6.png
I can successfully flash a simple LED code to the chinese board using the SWD pins on a discovery board and stm32 ST-link utility. However the program never starts. The project is generated with standard settings for the processor in CubeMX, and it runs without problem on the discovery board, but nothing on the chinese dev-board.
Anyone got an idea about if i need to pull some pins low/high for the program to start or anything of the like? Any help is appreciated.
#clone #standalone #diymore #stm32f42018-07-01 10:58 PM
Today i tried the SWD pins from the discovery board which was my initial problem, and it worked well. If it can help somebody this is what i had to do, and this should work on any baremetal stm32 design not only the dev board i bought.
Apart from connecting the SWD pins (VCC, GND, SWDIO, SWCLK) i had to connect another VCC, and BOOT0 to GND. Then i could flash and debug just as usual. Thanks again for the help folks.