How to program STM32F407 using STM32Cube programmer?

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.
