cancel
Showing results for 
Search instead for 
Did you mean: 

How to run (Flash) our program to stm32f103c8t6 using atollic truestudio via J-link?

VR
Associate II

I am using Atollic Truestudio and J-link to flash my program, when I try to debug and run it doesn't work ?? I don't know how to flash my program ?? Any help would be greatly appreciated ...Thanks in advance...

3 REPLIES 3
Markus GIRDLAND
ST Employee

What error do you receive? Did you select J-Link as the debug probe in the "Debugger" tab of the debug configuration?

VR
Associate II

Yes, and Now I am able to flash my program to the board. but i couldn't debug using Serial viewer of Jlink(SWO)..what should I do?

It's hard to say what it is without more information. The most common issues:

  • You need to activate SWV in debug configuration
  • You need to set clock correctly
  • You need to configure and activate the SWV trace in the debug session (red button)
  • You need to make sure the variables you're tracing can be traces by SWV

There are some other things to think about, it might be best to read the SWV chapter of our user guide which you can find right here.