2 Replies - 4145 Views - Last Post: 27 April 2011 - 02:54 PM Rate Topic: -----

#1 eng. elaph al_abasy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 45
  • Joined: 20-December 10

problem with DSP

Posted 06 April 2011 - 11:34 AM

hello
i have to work with TMS320C6455 DSk and i use ccs v3.3 the problem is i do not know any thing about the link.cmd file i know why it is used (to tell the DSP which memory locations can/can not access )but how to modified it or create it i do not know any thing so i need your guide lines to tell me how i can beat this problem
my regards
thanks for reading
Is This A Good Question/Topic? 0
  • +

Replies To: problem with DSP

#2 calvinthedestroyer  Icon User is offline

  • D.I.C Lover

Reputation: 167
  • View blog
  • Posts: 1,908
  • Joined: 13-October 07

Re: problem with DSP

Posted 17 April 2011 - 01:06 PM

Can you tell us more? What do you have for code? what are you connecting to your DSP?
Are just having trouble getting your code to compile?
Was This Post Helpful? 0
  • +
  • -

#3 eng. elaph al_abasy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 45
  • Joined: 20-December 10

Re: problem with DSP

Posted 27 April 2011 - 02:54 PM

View Postcalvinthedestroyer, on 17 April 2011 - 01:06 PM, said:

Can you tell us more? What do you have for code? what are you connecting to your DSP?
Are just having trouble getting your code to compile?

thank you for replying to my post i want to implement a digital modem on the DSK using the both c & assembly cods first i have to write the modems in C code the make a hand wrote code assembly code i have read some of the user guides on the TI web site and now i have clear image of the link comand file an what it does but some problems with running i face now this is the major one
i have wrote a simple program in c and write the cmd file
the c file is
#include<stdio.h>
void main()
{
int i;
for(i=0;i<10;i++)
{
printf("I=%d",i);
}
}


the cmd file is
MEMORY
{
IRAM: O=0X00000000 L=0X00080000
}
SECTIONS
{
.cinit > IRAM

.text > IRAM

.stack > IRAM

.bss > IRAM

.const > IRAM

.data > IRAM

. far > IRAM

.switch > IRAM

.sysmem> IRAM

.tables > IRAM

.cio > IRAM
}


when build the program the is no error and when load it no error but when run there is no value appear on the screen and
in the section messages the is the following message

loader : one or more sections of your program falls into memory region that is not writable .these regions not actually be written to the target . check your linker configuration and /or memory map

Trouble writing register : error 0x00000006/-1176 error during : memory , registor , the IM memory request is not servied by the HW memory system. this could be caused by the memory address specified does not exist in the spcified memory cache level . sequence ID : 6 error code : -1176 error class 0x00000006
i am using the ccs v3.3
my regards

This post has been edited by macosxnerd101: 27 April 2011 - 03:00 PM
Reason for edit:: CODE TAGS!!! USE THEM!!!

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1