You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to modify the protocol. Before I start any coding I wanted to see the existing code working in a debugger environment. But I can't figure out how to do source-level debugging.
This is what I've done so far ...
I compiled main.c into main.ihx. Then I programmed my stm8s003 using the stvp programmer with main.ihx. I verified that the data programmed matches the data in main.rst. I then started stvd with no workspace.
I can see the disassembled code and step through it, use breakpoints, etc. So I could debug using the asm. This would be quite painful. Is there a way do debug at the C source level? I would prefer to use stvd since that is what I use every day.
How is this normally done? Thanks in advance.
The text was updated successfully, but these errors were encountered:
I need to modify the protocol. Before I start any coding I wanted to see the existing code working in a debugger environment. But I can't figure out how to do source-level debugging.
This is what I've done so far ...
I compiled main.c into main.ihx. Then I programmed my stm8s003 using the stvp programmer with main.ihx. I verified that the data programmed matches the data in main.rst. I then started stvd with no workspace.
I can see the disassembled code and step through it, use breakpoints, etc. So I could debug using the asm. This would be quite painful. Is there a way do debug at the C source level? I would prefer to use stvd since that is what I use every day.
How is this normally done? Thanks in advance.
The text was updated successfully, but these errors were encountered: