Debugging Peripheral area fetch
I am using Crossworks 3.0 with the MSP430F6779A. I have some code which fairly repeatably resets with the SYSRSTVEC as 0x15 which indicates a peripheral area fetch. In an attempt to figure out where problem is coming from I tried to use a data breakpoint to see where the access was but the reset breakpoint was always hit and not the data breakpoint.
The Call stack gives some insight and tells me that the last function that execution was in was _ctl_byte_queue_post_multi.
I suspect that the data breakpoint didn't work because the processor resets before the data breakpoint can take effect. Is there a better way to figure out what happened to cause the reset? I understand that the issue is going to be complex and probably is caused by some sort of buffer overflow, but I am really at a loss as to how I can debug this issue.
Please sign in to leave a comment.
Comments
0 comments