MOD5282 SmartTrap not working
Posted: Wed Aug 20, 2014 8:32 am
When I enable smart traps and cause a trap, I'm only seeing the device reboot, I'm not seeing the smart trap output. I'm connected to UART0 which is set as the debug port, I'm not in debug mode. I don't actually see the trap like I normally do when smart traps are not enabled, so I think it's working but I'm not seeing the output. I tried the same experiment on my NANO54415 and the smart traps are working, so why not on my 5282?
P.S. I couldn't seem to cause a trap using the smart trap example in the NetburnerPCTools doc, so I just wrote a recursive function to blow the stack
P.S. I couldn't seem to cause a trap using the smart trap example in the NetburnerPCTools doc, so I just wrote a recursive function to blow the stack
Code: Select all
volatile int BlowStack(int depth)
{
int stackVar = depth+1;
iprintf("\r\ndepth = %d", stackVar);
return BlowStack(stackVar);
}
Code: Select all
Blowing Stack
depth = 1
depth = 2
.
.
.
depth = 34
depth = 35
depth = 36
depthWaiting 2sec to start 'A' to abort