2018-05-28 02:20 AM
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?
#j-link #segger #debug #atollic #load #atollic-truestudio #run-application2018-05-28 02:25 AM
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.
2018-05-28 02:50 AM
HEX file to JFlasher is very complicated way.
I'm trying to load flash direct from Atollic.2018-05-28 03:41 AM
Why would not I to use Atollic?
2018-05-28 05:17 AM
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.
2018-05-28 06:09 AM
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.
2018-05-29 10:52 PM
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 goquitThis configuration you can call RUN.
Run without debug is working now.