Is there a way to set argc/argv when remote debugging?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-28 03:22 PM
Some remote debugging tools (Arm's DS-5 semihosting) allow setting arguments to main(). I'm unable to figure out the steps do this with stlink + gdb remote targeting because it doesn't support "run", only "continue". Is there a way to do this with a combination of STM32 Cube tools?
Solved! Go to Solution.
- Labels:
-
DEBUG
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-28 03:33 PM
Put your command line data into some agreed mail-box ram location, and parse/pass via your startup.s implementation.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-28 03:33 PM
Put your command line data into some agreed mail-box ram location, and parse/pass via your startup.s implementation.
Up vote any posts that you find helpful, it shows what's working..