This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F2808-Q1: How to access RPC register from C or assembly

Part Number: TMS320F2808-Q1

My microcontroller sometimes resets. To chase down this problem, I want to configure the watchdog so that it interrupts, then, inside the wake interrupt, read the value of the return program counter, write it to EEPROM, then reset. Assuming this can work, my biggest obstacle is how to access the RPC register -- i.e., read its value into a C symbol. Can someone describe the procedure for doing this in assembly?