Problems with multiple stacks in IAR EWARM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2008-02-15 2:32 AM
Posted on February 15, 2008 at 11:32
Problems with multiple stacks in IAR EWARM
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:24 AM
Posted on May 17, 2011 at 12:24
Hi, I have problems debugging my application in IAR EWARM, because it shows wrong local variables. This is because I am using multiple stacks and when I set thread mode to use process stack, debugger seems to not notice this and show local var. as if they were in main stack.
However, this code executes just fine, the only thing is debugger wich represents the wrong place. So, please, help me ,if somebody knows how to solve this. I am using (EWARM V4.42 with j-link and C-SPY)Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:24 AM
Posted on May 17, 2011 at 12:24I also've noticed this :( . It seem to be a bug (or just a simplification) in the IAR debugger. The reason is that by default the compiler uses only the main stack for threads and handlers, so the debugger shows its value in the place of R13. It also affects the local variables, shown during debug. Even when you modify R13 in the register window when PSP is active, the change affects MSP :o . Does anybody tested it on IAR 5.11?
