Forums » Software Development »
emulator initialization from CCSV5.1
Added by Peter Faill over 12 years ago
I running Windows7.
I have the MDK-MB development board. I'm running CCSV5.1 and have a Spectrum Signal XDS510USB emulator.
I can initialize the emulator using the Spectrum Signal 'SdConfigEx' program. I see one device in the JTAG chain, as I would expect.
But when I create a project within CCS, the emulator initialization fails.
I've attached a couple screen shots of what I'm doing.
06_Mar._29_10.57.jpg (18.7 KB) 06_Mar._29_10.57.jpg | |||
01_Mar._29_10.52.jpg (73.8 KB) 01_Mar._29_10.52.jpg | |||
02_Mar._29_10.53.jpg (9.03 KB) 02_Mar._29_10.53.jpg | |||
03_Mar._29_10.53.jpg (64 KB) 03_Mar._29_10.53.jpg | |||
04_Mar._29_10.56.jpg (75.4 KB) 04_Mar._29_10.56.jpg | |||
05_Mar._29_10.57.jpg (21.1 KB) 05_Mar._29_10.57.jpg |
Replies (13)
RE: emulator initialization from CCSV5.1 - Added by Peter Faill over 12 years ago
A couple more screen shots (attached) that might be helpful.
I've tested my setup with a couple other TI C28 based processors that I have and everything works with them.
I'm at my wit's end - may jump out the window.
Thanks,
Peter
RE: emulator initialization from CCSV5.1 - Added by Michael Williamson over 12 years ago
Hi Peter,
Don't jump out the window! I will try to get some screenshots tomorrow for connecting via CCS5 and a SD XDS510USB emulator. When you are connecting, is the MityDSP bootloader loaded (e.g., is there an FPGA loaded or anything, is the red light off on the module)?
Sorry for the delay.
-Mike
RE: emulator initialization from CCSV5.1 - Added by Michael Williamson over 12 years ago
Also,
Have you double checked that the ribbon cable between the emulator adaptor board and the motherboard is not reversed as far as pin 1 to pin 1? It's not keyed, and this has happened to folks on multiple occasions....
-Mike
RE: emulator initialization from CCSV5.1 - Added by Michael Williamson over 12 years ago
Hi,
I am attaching a MityDSP.ccxml file (debugger configuration) that I was able to configure and get working with an MDK board here.
I did have to unplug and replug the emulator once to get it working, but that may have been due to the fast that I was using CCS v3.3 earlier in the day.
note - you will likely need to edit it and fix up the path to the GEL file.
-Mike
MityDSP.ccxml (1.31 KB) MityDSP.ccxml | MityDSP-6711 SD USB510 debugger configuration file. |
RE: emulator initialization from CCSV5.1 - Added by Michael Williamson over 12 years ago
You'll also want to set up a DSP/BIOS 5.xx project if you can. It's not required, but then the default platform BIOS configuration files provided with the MDK kit will work out of the box.
-Mike
RE: emulator initialization from CCSV5.1 - Added by Peter Faill over 12 years ago
Hi Mike,
I'm still having trouble. My final application doesn't involve using the TI bios so, as a debug technique, I'm just creating the CCS's 'hello world' example project as a test to see if I can complile/link/download and run a simple application. I've tried this approach on a 28346 based board that I have laying around and it works fine so I don't think I have an emulator hardware issue.
Could you try the same testing technique (hello word example) on your MityDSP setup. And if it works, could you send me the whole project so that I can replicate exactly what you have?
Alternatively, I could send you my 'hello world' project to see it works on your setup.
I'm beginning to wonder if I'm having a problem with the hardware. The reason I say this is because I'm seeing some LED light behavior that is interesting. Upon power up, I see:
1) I see the red light blink, which I assume is the FPGA load complete light.
2) And shortly thereafter, I see a green LED (D4) blink 3 times and then appears to stop. But when I look at D4 under a loupe, I see it flickering in a very faint manner. I don't know what this means, if anything.
Anyways, I think if you tried my project and/or I tried yours, we could rule in/out hardware issues quickly.
Thanks for your help,
Peter
RE: emulator initialization from CCSV5.1 - Added by Michael Williamson over 12 years ago
Peter,
I am attaching a Hello World program as build, using the CCXML file for the debugger connection. "works for me".
The D4 pin will blink while in the bootloader application, then it's function is a function of your application. Typically, our applications use that pin as a load light indicator (in DSP/BIOS, it's turned off during the IDLE task execution, then turned on during normal task activity). Is there a demo application loaded on your MityDSP MDK hardware setup?
-Mike
MityDSP_HelloWorld_NoBios.zip (47.2 KB) MityDSP_HelloWorld_NoBios.zip | Simple MityDSP app with debugger file. |
RE: emulator initialization from CCSV5.1 - Added by Peter Faill over 12 years ago
Hi Mike,
Still having trouble. I tried your project. It built just fine but CCS still is giving me trouble with the JTAG initialization.
I've attached two videos of my screen to show you what I'm seeing. I'm hoping that you see something that I'm doing wrong.
The 'Spectrum Digital' video demonstrates how I can reset the emulator and it detects a device on the JTAG chain.
The 'Code Composer' video demonstrates the problem I'm having when I try to test the JTAG from within CCS. I also try to download the 'hello world' project.
If there are any other videos that you would like me to take, just let me know. I was thinking of sending you one showing all my build options but they should be exactly the same as your since I imported your 'hello world' project.
Again, thank you for taking the time to look at this problem,
Peter
RE: emulator initialization from CCSV5.1 - Added by Michael Williamson over 12 years ago
Hi Peter,
I'm looking at your CCS example.
1. If the MDK board is connected via serial port, can you hit "C" (capital C, keep hitting it) on the terminal while powering it up and catch the MityDSP in the Bootloader (you should get a prompt if you are successful). This will put the DSP into a known state (running good code, etc.) and receptive to being intercepted by the debugger/emulator.
2. Can you try disconnecting and reconnecting the emulator to the PC (while CCS is up)? CCS will re-enumerate/re-scan for the device, sometimes this clears connection issues.
3. Also, in the CCS example, when it is trying to establish a debug session, click on the details button (so I can see what's up).
-Mike
RE: emulator initialization from CCSV5.1 - Added by Michael Williamson over 12 years ago
Oh,
And make sure that the Spectrum Digital Connection tool is closed before you start CCS.... I don't think multiple tools play nice with that particular emulator at the same time.
-Mike
RE: emulator initialization from CCSV5.1 - Added by Peter Faill over 12 years ago
Hi Mike,
I think I may have identified my problem.
I happened on Spectrum Digital's website's product matrix page which shows that my emulator XDS510LCUSB is not compatible with the TI C6000 series of DSP's. I've been working with the C2800 series in all my past projects, which the LC version is compatible with. I had made the assumption that a XDS510 emulator (regardless of submodel) worked on all the TI DSP's.
I'm digging around the lab now to find an alternative emulator that I can verify my theory with.
If I have to purchase a new emulator, would you have any recommendations (other than the obvious SS XDS510 which is a bit pricey @ $1000, and I'm going to have to buy a couple of them for my team).
Thanks for hanging in there with me. I knew the problem was going to ultimately come down to some oversight on my part,
Peter
RE: emulator initialization from CCSV5.1 - Added by Peter Faill over 12 years ago
Found a XDS510PP Plus emulator which supports C67XX's.
'Hello world' loads just fine. I think I'm off and running now.
Sorry for the trouble and thanks again,
Peter
RE: emulator initialization from CCSV5.1 - Added by Thomas Catalino over 12 years ago
Glad to hear that you're moving forward, let us know if you need any additional support.
Tom