Hi, I have a Stack problem in an interrupt handler.
When I use a PUSH or CALL instruction, SP is correctly updated, but the memory at the address pointed by SP remains 0!! DPP3 = 3
I checked under monitor control, but the program in Flash still crashes.
STK_SIZE fields in SYSCON to 7 (in startup code): No wrapping: entire internal RAM used as stack.
The behavior with the simulator is OK.
The system stack is F800 - F880, and SP is in the correct range, problem detected with SP=F860.
I've tried the code with 2 C167CS cards, this should not be a hardware pb.
Thanks for any help,