I wanted to start out by saying that this forum is incredibly helpful and I've been a consumer for a while just trying to feed on the wealth of information and learn from everyone's great work.I hadn't had a need to comment before now because it looks like others have treaded the path for me.
Similar to many others on this forum, my application requires booting up the TMDXEVM6678LE through the TMDXEVMPCI card. The card is used for some data processing and we are using the PCIe interface to transfer data to and from the card using a Linux PC.
Just to summarize the steps I've taken to get where I am now:
1) I compiled, configured and loaded the latest IBL (mcsdk 2_00_08_20) using the information in the ibl doc directory. (I have the v1.0 Silicon so I believe this is a requirement for my application.)
2) I compiled the pciedemo kernel driver on my linux system and installed the kernel. I now load the driver at boot time using modprobe in a pciedemo.modules script.
3) I am able to run the out-of-the box demo applications by changing the appropriate flags and I see the appropriate output at my serial terminal for the hello world demo, etc.
4) I've created a simple test program on my linux system to write a text string to LL2 memory along with a trigger word. I created a new DSP program to look for the trigger and print the text string to the UART to ensure communication. I modified the elf2HBin example *.bat file to transform my compiled program to a header. I then transferred this header to my Linux system, modified the pciedemo.c to use my header instead and was able to compile and run my code as intended.
This is great, since I now know I can fulfill my comm goals with the DSP for my specific application. My concern, is that I don't fully understand how I can test/debug and develop my program with this setup.
It seems that I can only enumerate the PCIe bus when running with the ROM PCIe Boot mode and loading my program through my Linux driver. Any attempts to connect and load a program (even to a specific memory location as the Linux driver does) are met with requests to reset the board or other errors related to initialization. If I actually go through with a reset, I lose communcation ability between the Linux PC and the DSP. (As I would expect.)
Is it possible to load my program via the emulator and still have PCIe communication to my Linux PC? This would be much better for debugging during our development. Additionally, it avoids having to run the painful conversion step and driver recompile just to change our program for testing.
Thank you very much for the support.