Skip to contentSkip to conversation

Problem with DSP TMS320C55xx on OMAP5912

DISCUSSION Tung Dang 2 participants 2 messages Nov 1, 2006

lore
Share & tools
lore

Tung Dang

author
#0 lore raw

Hi all,
When i using Code Composer Studio (CCS) from TI to simulate the functions of my program , the CCS verbal a error in the Messages Window :
Trouble running Target CPU: Check the linker command file / map file for any part of the program going into reserved area and correct the problem when Program Counter is 0x0 NOTE: Reset the target, reload the corrected program and continue execution Pls help me , what kind of this error ? What is the root problem ?

=========================
Thank you and Best Regards !
Dang Hoang Tung
email : [email protected]
Student
University of Technology
Department of Computer Science
=========================

---------------------------------
Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster.

#1 lore raw

Tung,

The CCS debugging suite is really unwieldy for doing basic debugging
operations on the OMAP. The main problem is that the GPP is constantly trying to maintain a strange hold on the DSP, reserving control of its debug connections. So, when you try and load a program, set breakpoints or otherwise alter the state of the DSP, while linux and the GPP are running, you will invariably get errors. There are a few things you can do that make things go easier depending on your requirements:

- Reset the jumpers appropriately to turn the board on in DSP only mode. This is only good if you don't need access to the peripherals, but its very useful for step by step hardware debugging of major code loops that would run solely on the DSP

- After you have loaded your application from the GPP side through linux (Maybe a-la RF6?) you can go to the file menu of CCS and do a "load symbols only" which will sync CCS and the code running on the DSP. It may allow you to set breakpoints, though it is not totally reliable.

Make sure you have the latest version of DSP/BIOS compiled and built with your program, it seems to be less buggy than the default versions. Also evaluation versions of CCS 3.1 appear to be less stable. I hope some of this helps.

Thanks,
Andy

Quoted 22 lines

From: Tung Dang <[email protected]>
To: [email protected]
Subject: Problem with DSP TMS320C55xx on OMAP5912
Date: Tue, 31 Oct 2006 23:50:03 -0800 (PST)

Hi all,
When i using Code Composer Studio (CCS) from TI to simulate the functions of my program , the CCS verbal a error in the Messages Window :
Trouble running Target CPU: Check the linker command file / map file for any part of the program going into reserved area and correct the problem when Program Counter is 0x0 NOTE: Reset the target, reload the corrected program and continue execution Pls help me , what kind of this error ? What is the root problem ?

=========================
Thank you and Best Regards !
Dang Hoang Tung
email : [email protected]
Student
University of Technology
Department of Computer Science
=========================

Quoted 7 lines

---------------------------------
Check out the New Yahoo! Mail - Fire up a more powerful email and get
things done faster.
_______________________________________________
Linux-omap-open-source mailing list [email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

_________________________________________________________________
Find a local pizza place, music store, museum and more�then map the best route! http://local.live.com?FORM=MGA001