Hello Logan,
Thanks for using our community.
Unfortunately you cannot debug the firmware that is preloaded into the FXTH87xx11. The read voltage function is part of the preloaded firmware, when you're debugging using the step over function, the compiler tries to jump to the end of the function, which generates an error since the address is not accessible. What it worked for me was to set a breakpoint after the function:
//your code
---
---
---
//--> once you get to this point while debugging, click the resume button
u8Status = TPMS_READ_VOLTAGE(gu16UUMA);
BREAKPOINT HERE.
//-> now you're able to debug
I just did a quick test and it worked for me.
NOTE: As stated in page 141 of the datasheet, "One hardware address breakpoint built into BDC", you can only set ONE hardware address breakpoint, so I would recommend you to use one breakpoint at the time.
hope it helps.
Josh