cancel
Showing results for 
Search instead for 
Did you mean: 

How to program STM32F407 using STM32Cube programmer?

MAhme
Associate

0690X000006Df9EQAS.png

Can't program STM32F407 because address is not supported for SWD/JTAG port.

Hello, I am trying to begin developing drivers for the STM32F407VG. I am using Atollic TrueSTUDIO as IDE. For loading the programs to the board I am using Exteral Tools configuration, the .hex file is loaded using STM32Cube programmer. But the programming fails, and it gives the following error: Error: Writing in address 0x00008000 is not supported with JTAG/SWD debug port.

When I connect to the board through STM32Cube programmer, the connection is established. But I can't upload code to it.

1 REPLY 1

0x8000 is NOT programmable. Make sure the FLASH code is placed at 0x08000000

Set the build address properly in your tools, or examine the .MAP to see what is happening.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..