I am using ARM v7-A (Cortex A15 MP) and i want to observe the stack context, as i understand it, there are some offset values inside of ARM Core Registers (between LP, SP and PC), and the offset values are different from program to program (task to task). My main purpose is find the PC, LP adresses by using SP address for each program (task/process).
How can i find these offset values?
Is there any struct about stacks and stack variables?
What is stored on the stack depends on the SW running.
I see, but i can save the contexts of each stacks which means that the addresses of the last called function for each stacks, regardless the running SW is changed.
I want to find each SP, LR and PC addresses by using this information (the last called function's address)
What SW? Do you use an RTOS/GPOS? If yes, which? How the context is build up depends on the SW running.
I am using TI-RTOS (SYS/BIOS)
The you should ask in a TI-RTOS forum or support.
View all questions in Cortex-A / A-Profile forum