AR# 3510: 6.1 EDK - MicroBlaze design using FSL does not work when connecting through MDM
6.1 EDK - MicroBlaze design using FSL does not work when connecting through MDM
Keywords: XMD, FSL, MicroBlaze, MB
General Description: When I am designing a processor system which includes a MicroBlaze processor and the OPB MDM peripheral for debugging, GDB is unable to debug the program. XMD connects and GDB downloads the code, but GDB fails when it tries to run.
The reason for the design halting after XMD has connected is that the program leaves data in the FSL FIFOs. When the program is started again after the download from XMD, the program sticks since it cannot put more data into the FSL.
Modifying the c code to clean up the FSL in the end of the program will fix this problem.