Skip to main content
MAhme
Visitor II
Feb 17, 2019 4:18 PM UTC
Question

How to program STM32F407 using STM32Cube programmer?

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.

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    Feb 17, 2019 6:15 PM UTC

    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..