STM32C031-KEIL-breakpoint
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-28 12:38 AM
STM32C031 is simulated in KEIL, but only a few breakpoints can be added during the running process, and the level is also level0.
How to locate this kind of problem,Thank you very much for your help!
- Labels:
-
Keil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-29 3:18 AM
Hi @Kevin.YIN ,
You can use the hardware breakpoints and the software breakpoints using the BKPT instruction.
For more information I advise you to refer to Cortex-M0+ Technical Reference Manual r0p1.
I hope this help you.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-02 9:07 AM
Note that Keil is an independent 3rd party - nothing to do with ST.
For specific support with the Keil tools, they have their own forum:
https://community.arm.com/support-forums/f/keil-forum
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-02 9:50 AM
If you can't walk your own code in your head, you've already kind of failed at the programming task.
You could put a break-point in a function, and call that periodically.
You could also instrument your code, so it prints out and reports salient detail about what's happening, or the decisions made, or content of key variables, etc.
Up vote any posts that you find helpful, it shows what's working..
