I have having trouble debugging a DSP application on the K2H. The program uses IPC, and therefore must be loaded through mpm so that Linux knows about it and can talk to it.
According to http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Developing_Transports#KeyStone2_Specific_Details I should be able to load the program via mpmcl, then attach to the core and load symbols. Sometimes this works on first boot, if I run "mpmcl load; mpmcl run". But if I ever run "mpmcl reset" then the Blackhawk can no longer talk to the core. If I was already connected, it stays connected, but if I wasn't yet connected, or dissconnect and try to reconnect, it fails. Even if I stay connected, it is not able to halt or reset the core.
Am I doing something wrong? What needs to happen for mpm to give up control of the core so that the Blackhawk/Code Composer doesn't think that the core is in reset. Is there anyway to load the program via mpm and then start running it with the emulator? This would be ideal since I am debugging some initialization.