cancel
Showing results for 
Search instead for 
Did you mean: 

Atollic TrueStudio, J-link RUN or Load without Debug

TomᨠMat?jka
Associate II
Posted on May 28, 2018 at 11:20

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-application
6 REPLIES 6
AvaTar
Lead
Posted on May 28, 2018 at 11:25

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.

TomᨠMat?jka
Associate II
Posted on May 28, 2018 at 11:50

HEX file to JFlasher is very complicated way. 

I'm trying to load flash direct from Atollic.
TomᨠMat?jka
Associate II
Posted on May 28, 2018 at 12:41

Why would not I to use Atollic?

Posted on May 28, 2018 at 12:17

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.

Posted on May 28, 2018 at 13:09

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.

TomᨠMat?jka
Associate II
Posted on May 30, 2018 at 07:52

0690X0000060L0nQAE.png

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 reset

monitor go

quit

This configuration you can call RUN.

Run without debug is working now.