4
\$\begingroup\$

I'm using

  • STM32F103C8T6
  • Atollic TrueStudio
  • STLink2.1

Error I get when debugging:

enter image description here

Debug configuration set in TrueStudio:

enter image description here

What worked before was in SW4STM32/Eclipse, with the following settings. I always had to change the reset mode from Connect under Reset to Software System Reset. However, this option is not available in the debug configuration of True Studio.

What can I do to use debugging successfully with STLink2.1 on Atollic TrueStudio?

Pic

\$\endgroup\$

1 Answer 1

6
\$\begingroup\$

I found the answer elsewhere but I will repeat it here for other people:

  • Close Atollic TrueStudio (not sure if this is needed)
  • Startup ST Utility
  • Press the Reset button and keep it pressed
  • Select Erase Chip (in Target menu)
  • Release the Reset button
  • The chip is erased
  • Close ST Utility
  • Startup Atollic TrueStudio

Debug should work now

\$\endgroup\$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.