Tool/software: Code Composer Studio
1. In the Technical Reference Manual, it states to "Branch to a non-Flash region for executing this sequence. Ensure no requests from any bus master are arriving at the port (A or B) that is being diagnosed." How do I ensure there are no more requests from the bus master?
2. In the Technical Reference Manual, it state to "Set DIAGMODE to 5h and DIAG_EN_KEY to 5h in the FDIAGCTRL register." When I try to write to FDIAGCTRL register in flash when testing Port B, it writes to FDIAGCTRL successfully. However I get the expected results when testing Port B buffers, but not Port A buffers when executing in flash. When I branch to a non-flash region, and try to write to FDIAGCTRL, I cannot write to FDIAGCTRL register. Do you have any ideas why?
Question #1: Why when I'm in flash, I'm able to successfully test Port B buffers and not Port A buffers.
Question #2: When in non-flash, why can't I write to any registers? What am I missing here?
Thanks.