Digging deeper – SystemView data breakpoints

So far, we've determined where our processor is stuck, but we haven't uncovered anything to help us determine what needs to be changed to get the system operational again. Here are the steps we need to take to uncover the root cause of the issue:

  1. Let's take a look at the assertion again. Here, our goal is to troubleshoot exactly why it is failing. Run the following command:
configASSERT( ( portAIRCR_REG & portPRIORITY_GROUP_MASK ) <= ulMaxPRIGROUPValue );
  1. Using SystemView's memory viewer, analyze the value of portAIRCR_REG in port.c:

  1. Since this is a hardcoded memory location, we can Set Data ...

Get Hands-On RTOS with Microcontrollers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.