cancel
Showing results for 
Search instead for 
Did you mean: 

How to break with debugger into a running program on ST8?

Pavel A.
Evangelist III
Posted on September 14, 2017 at 00:34

Dear experts,

Can anybody advice how to break into ST8 that started running without debugger connected?

In the Develop IDE I see only one option to start debugging, and it updates the program memory on the target. The target, I guess, will then reset/restart. How to avoid the restart?

#debugging
5 REPLIES 5
Pavel A.
Evangelist III
Posted on September 25, 2017 at 15:51

Bump?

Posted on September 25, 2017 at 16:47

Discuss with your tool vendor.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Pavel A.
Evangelist III
Posted on September 25, 2017 at 18:20

The tool vendor is STMicroelectronics... as it says in the 'About' dialog of the IDE...

Posted on September 25, 2017 at 19:03

 ,

 ,

Assuming for a second they aren't the only commercial tool vendor

https://www.iar.com/iar-embedded-workbench/ ♯ !?architecture=STM8&,device=ASTWBC5V

 ,

Not sure if the STM8 has an inherent ability to support hot-plug or post-mortem debugging.

Consider adding your own diagnostic/monitor functions, ability to dump state when button, jumper or GPIO toggled.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on September 26, 2017 at 13:28

Thank you. As I learn the ST chip and tools, I found ways to do without breaking in a running system.  Other toolkits are not an option for me unfortunately, the customer has chosen the STVD. 

Do you know perhaps, is inability to attach to running chip an inherent limitation of the hardware - ST8 or SWIM interface?

regards,

-- pa