cancel
Showing results for 
Search instead for 
Did you mean: 

read the stack content of stm8l152

872444557
Associate
Posted on June 06, 2014 at 09:19

Hi,

I've got a problem of using stm8lThe stack content could be successfully read out via SP when i use simulator debugging, andit failed wheni switch tohardwareonline debugging with ast-link. Here is code:

stack_content = *(uint16_t *)(*(uint16_t *)0x7f08 + 2);

IDE: IAR 1.1 Thanks for your replies. #sp-stm8l152-stack
0 REPLIES 0