Using Build Variables in debug Initialization Commands
1. It doesn't perform flashing. I can't see it in debug console. And when I put flashing commands manually in the initialization commands then I see it really happens.
2. What makes me think the program is placed in RAM is that I can compare the behaviour with IAR EWB. There're 2 files (taken from ST libs): for placing code into flash and sram. So when I use sram vesion, the behaviour is the same as SW4STM32's default. And when I use flash version, the behaviour is the same as SW4STM32's with flashin commands.
P.S. Default .cfg file for OpenOCD generated by SW4STM32 while creating new board (STM32F404VET6) doesn't work and needs to be edited (and as I can see it's a well known problem)