Part Number: RM57L843
Tool/software: TI C/C++ Compiler
This question was posted to MCU forum. I am not an expert of SW and know little about how we use the CPU registers in CCS/compiler. Please help us answer this question. Thanks
Part Number: RM57L843
How to achieve stack frame backtracking on the RM57L843，other ARM architecture mcu have the FP stack frame pointer, I have read the cortex-r5 data manual
did not find some register about this.
Thanks and Regards,QJ Wang
I'm not aware of any documentation which specifically discusses how to somehow traverse the stack frames. Much of the basic information is in the section titled Function Structure and Calling Conventions in the ARM compiler manual. But it is probably missing some of the details.
Thanks and regards,
TI C/C++ Compiler Forum ModeratorPlease click Verify Answer on the best reply to your questionThe CCS Youtube Channel has short how-to videosThe Compiler Wiki answers most common questionsTrack an issue with SDOWP. Enter your bug id in the Search box.
Can you tell us more about why you need a stack backtrace? Is this a post-mortem analysis of a crash?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.