Skip to main content
VR_it
Associate II
May 4, 2019
Question

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

  • May 4, 2019
  • 2 replies
  • 1136 views

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...

This topic has been closed for replies.

2 replies

Markus GIRDLAND
ST Employee
May 6, 2019

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

VR_it
VR_itAuthor
Associate II
May 9, 2019

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?

Markus GIRDLAND
ST Employee
May 9, 2019

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.