DSPRelated.com

Re: how to generate the assembly code from a .h file generated by COFF2C

Started by Jeff Brower in TMS320c54x16 years ago

John- > Thanks for your reply. But what I want is not make .h file from coff file, I > want to make a .h file back coff file. So I want to...

John- > Thanks for your reply. But what I want is not make .h file from coff file, I > want to make a .h file back coff file. So I want to know how COFF2C extract > the coff file to a .h file. Is there any detail document about that? The first thing is to look in TI's Assembly Language Tools User's Guide doc for whatever chip is being used. In your case (C54x), look in this doc: htt


Re: how to generate the assembly code from a .h file generated by COFF2C

Started by Jeff Brower in TMS320c54x16 years ago 1 reply

John- > I have some .h files that contain the dsp binary code. These .h files are > generated by COFF2C. And I want to get the assembly code...

John- > I have some .h files that contain the dsp binary code. These .h files are > generated by COFF2C. And I want to get the assembly code from these .h file > what should I do? Or anyone knows how COFF2C generated .h file with coff > file so I can write a tool to make .h back coff. coff2c does not generate source code from a COFF file and is not a step in that direction. It extracts


McBSP initialization

Started by thed...@yahoo.com in TMS320c54x16 years ago 7 replies

I'm attempting to set up McBSP using code composer v3.1 with a C5416, and can't even get the simple setup from the dma4.c or mcbsp.c to work. I...

I'm attempting to set up McBSP using code composer v3.1 with a C5416, and can't even get the simple setup from the dma4.c or mcbsp.c to work. I created the configurations I wanted, and used the code provided in dma4.c as a template to open the mcbsp channel and start everything, and the code always stops at this line. while(!(MCBSP_xrdy(myhMcbsp))){ ; } I'm not sure why the xrdy s...


PLL config problem

Started by thed...@yahoo.com in TMS320c54x16 years ago 8 replies

I'm using CCSv3.1 and the C5416. I attempted to configure the PLL module using the CSL GUI, and upon compiling, I get the following...

I'm using CCSv3.1 and the C5416. I attempted to configure the PLL module using the CSL GUI, and upon compiling, I get the following errors. "C:/ti/C5400/csl/include/csl_pll.h", line 187: error: identifier "BSCR" is undefined "C:/ti/C5400/csl/include/csl_pll.h", line 187: error: identifier "DIVFCT" is undefined "C:/ti/C5400/csl/include/csl_pll.h", line 225: error: identifier "BSCR" is undefin...


Need better DSP chip

Started by thed...@yahoo.com in TMS320c54x16 years ago 5 replies

Hi all, I recently experimented with the PEP5416 module, and found the DSP chip to be too slow in processing the code to meet the audio...

Hi all, I recently experimented with the PEP5416 module, and found the DSP chip to be too slow in processing the code to meet the audio real-time deadline. The idea of my project is to take an audio input via the microphone port of the device and distort the signal to generate a new audio output through the headphones. I was wondering if anyone knew of another portable module that can be us...


ISR Far callable in 5416

Started by l-ma...@teltronic.es in TMS320c54x16 years ago 3 replies

Hello, I´m doing a migration from 5410A to 5416 and I´m having problems when returning from interrupt service rutines. I don´t build the...

Hello, I´m doing a migration from 5410A to 5416 and I´m having problems when returning from interrupt service rutines. I don´t build the project with the -mf option (i´m using near calls as default) because there are several vocoder funtions that we don´t want to change so I want to keep them in the same page and call them as near. For the rest of the program that is in another memory ...


Code not running fast enough

Started by thed...@yahoo.com in TMS320c54x16 years ago

Hi all, I recently found that adding my code to a simple example where the audio input is looped back to the headphones changes the output,...

Hi all, I recently found that adding my code to a simple example where the audio input is looped back to the headphones changes the output, which I suspect is caused by the fact that the code I use takes too long to run. One reason this may be caused is the fact that I run multiple filters, which are all implemented using floating data types. Before attempting a fixed point implementation how...


Audio Output Errors

Started by thed...@yahoo.com in TMS320c54x16 years ago

I recently got all of my code to work properly and display normal behavior in the watch window, so I'm beginning to listen to the output of the...

I recently got all of my code to work properly and display normal behavior in the watch window, so I'm beginning to listen to the output of the program. As I expected would probably happen, the output is not correct. To run simple testing, I place the following lines at the beginning of my program for(i = 0; i < dwNumNewSamples; i++){ while (!PEP5416_AIC23_read16(hCodec, &buffer[i]));


Accessing I/O space on dsk5416

Started by Siva Anne in TMS320c54x16 years ago 1 reply

hi all, thanks for the support given so far to me, At present i am doing a project on DSK5416, project is to implement LPC coder on DSK...

hi all, thanks for the support given so far to me, At present i am doing a project on DSK5416, project is to implement LPC coder on DSK 5416. DSK5416 consists PCM3002E codec, this is interfaced through CPLD on board. This CPLD is interfaced in I/O space of the 5416 DSP chip. my doubt is accessing this I/O space in high level language. i have attache a screen shot which spectrum fellow h...


Memory allocation issues

Started by thed...@yahoo.com in TMS320c54x16 years ago 4 replies

I am using the PEP5416 with code composer v3.1, and am having problems with memory allocation. In my code, I use the malloc() command multiple...

I am using the PEP5416 with code composer v3.1, and am having problems with memory allocation. In my code, I use the malloc() command multiple times, though after awhile, the program starts to return null pointers, indicating that I cannot allocate any more memory. The problem I'm having is that I have no idea where this memory is being allocated. I've been making changes using DSP/BIOS and...


Ask a Question to the DSPRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright