Hello, I'm still trying to load flash of STM32 without Debug through Atollic Truestudio.
Is anyone here, who solved this problem or help me?
Would a post-build step to create a HEX file (or similar format) do ?
You can then use the tools of your debug pod to flash it.
Using J-Link, I use a free JFlasher tool automatically installed with the drivers.
The ST-Link utility supposedly serves the same purpose.
HEX file to JFlasher is very complicated way. I'm trying to load flash direct from Atollic.
HEX file to JFlasher is very complicated way.
I know Atollic just very superficially, and don't use it.
If there is no explicit option to download without debugging, you might need to go the complicated way. Just flashing targets is not quite a standard use case for IDEs.
Or you can hit "Debug", and stop/disconnect when flashing is finished and the debugger stopped at reset vector or main.
Why would not I to use Atollic?
In a professional environment, I use the debugger for flashing with subsequent debugging.
The device is produced (and flashed) elsewhere, I only deliver Motorola SREC files for the production process.
If I'm ordered to prepare a batch of prototype devices, I use JFlash, with the SREC file that rolls off the built process.
For my private projects, I download the release code with the debugger, and disconnect it.
I solved a problem. At first I created new embedded debug configuration, then I edited Startup script.
Behind "load" command I deleted all default commands and I added this commands : monitor resetmonitor goquit
This configuration you can call RUN.
Run without debug is working now.
Retrieving data ...