Problem with DSP TMS320C55xx on OMAP5912
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Andy,
Thank you very much for helping me !
But I only use the simulator of CCS 3.1 (platinum edition) to simulate the function of DSP side, not any relate to GPP side. My purpose is to use the sim55.cdb configuration template of CCS to simulate and debug the major code loops on TMS320C55xx . Please, do you have any suggestion for me ?
Thanks ,
Tung .
[email protected] wrote:
------------------------------
Message: 3
Date: Wed, 01 Nov 2006 15:46:26 +0000
From: "Abot Botbot"
Subject: RE: Problem with DSP TMS320C55xx on OMAP5912
To: [email protected] Message-ID:
Content-Type: text/plain; format=flowed
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 26 lines
From: Tung Dang
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 is0x0NOTE: 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
------------------------------
---------------------------------
Get your email and see which of your friends are online - Right on the new Yahoo.com
Tung,
Ah. I haven't used the simulator before. That is a weird error to get
from it. It sounds like you don't have all the right files for running the simulation, hence why it breaks when you try and launch. But, since I haven't used the simulator before, I really can't say.
Sorry,
Andy
Quoted 95 lines
From: Tung Dang <[email protected]>
To: [email protected]
CC: [email protected]
Subject: Re: Problem with DSP TMS320C55xx on OMAP5912
Date: Wed, 1 Nov 2006 09:38:35 -0800 (PST)Hi Andy,
Thank you very much for helping me !But I only use the simulator of CCS 3.1 (platinum edition) to simulate the function of DSP side, not any relate to GPP side. My purpose is to use the sim55.cdb configuration template of CCS to simulate and debug the major code loops on TMS320C55xx . Please, do you have any suggestion for me ?
Thanks ,
Tung .[email protected] wrote:
------------------------------Message: 3
Date: Wed, 01 Nov 2006 15:46:26 +0000
From: "Abot Botbot"
Subject: RE: Problem with DSP TMS320C55xx on OMAP5912
To: [email protected] Message-ID:
Content-Type: text/plain; format=flowedTung,
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,
AndyQuoted 26 lines
From: Tung Dang
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 is0x0NOTE: 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
Quoted 7 lines
------------------------------
---------------------------------
Get your email and see which of your friends are online - Right on the new Yahoo.com
_________________________________________________________________
Try Search Survival Kits: Fix up your home and better handle your cash with Live Search! http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline