Hi,
Attached are some screen shots as per below.
I am using Code Composer 5.1 M4 May 5, 2011 for Linux from the TI wiki. I assume this is a Beta version? Is there a better version to use. The detailed release notes link
in the wiki does not work, could you email me a copy of the release notes?
My development environment consists of UBUNTU 10.04 with kernel 2.6.32-30 generic. I have connected to this PC to a Mity-Dsp OMAP L138 board from Critical Link using serial connection and ethernet which boots to the Angstrom distribution (default critical link build)(snapshot2.png below). I also have an BlackHawk XDS100v2 jtag emulator attached.
I am able to connect to the C674x dsp on the OMAP L138 using CCS 5.1 and load the DSP/BIOS example (DSP/BIOS v5.xx Examples ->evnOMAPL138 Examples->Hello example) and step through the code using the debugger and XDS100 target configuration setup. I am using the gel file that comes with the MityDsp board (MityDSP-L138_DSP.gel).
I am not able to connect to the ARM9 on the OMAP L138 using CCS 5.1. I am using the gel file that comes with MityDsp board (MityDSP-L138_ARM.gel). I get the following error when I try to connect. (snapshot1.png below)
ARM9_0: GEL: Error while executing OnTargetConnect(): Attempted to read unmapped virtual memory at 0x01C10800.
Searching this error above on Goggle I found a link with a similar problem on a TI forum. This link suggests:
1. Updating the CPLD on the BlackHawk xds100v2 (model d). (not required since my BlackHawk already has this update with serial number ND3126)
“** Units with serial numbers that begin with "ND" were programmed at the factory with this update. Re-applying this update will not change the device.” (From BlackHawks Website on CPLD update)
2. Using Adaptive clocking for the ARM9- (I set to adaptive from fixed.)
3. Emulation boot mode (Switch7[8:5] = ON-OFF-OFF-ON) – NOT SURE How to accomplish this. (does not appear to be Dip switches on the MityDsp or it firmware configurable???)
I noticed that if I stop the MityDsp boot at the Uboot prompt in the terminal. Then connect to ARM9 it seems to connect okay (snapshot3.png and snaphot4.png). But I am not able to load the Hello world program (Basic Examples) on the ARM with the following error occurring (snapshot5.png above). As well the terminal hangs at the Uboot prompt.
ARM9_0: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
Summary
-----------
Other problem:
CCS V5.1 also does not always open correctly, hanging during initialization during which I have to close and reopen it again. Only opens in about
1/5 tries in Ubuntu 10.04.
In summary, I cannot connect (normally) and load the hello program (Basic Example) on the ARM9. The dsp side appears to work properly. Any idea as to what could be wrong or what my next step would be to fix the problems listed above? Any help would be appreciated.
snapshot1
snapshot2
snapshot3
snapshot4
snapshot5