Thursday, 28 January 2016

configuration - Error when using debugging under Atollic TrueStudio / STM32



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



Answer



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


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...