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.

CCS/TMS570LC4357: F021 Level 2 Flash Module Controller (L2FMC) Questions

Part Number: TMS570LC4357

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.