DSPRelated.com

"idata" sections in COFF file

Started by Jeff Brower in TMS320c6x23 years ago 4 replies

Does anyone know about "idata" sections in TI's COFF file format? When CCS loads a COFF file, at the end it also loads...

Does anyone know about "idata" sections in TI's COFF file format? When CCS loads a COFF file, at the end it also loads sections that appear to be in addition to what's documented in the C6xxx COFF file format. I.e. not cinit, not .const, not .data, etc. but in addit


URGENT: JTAG error trying load a COFF file.

Started by jcmarrupe in TMS320c6x22 years ago 1 reply

Hi all, I?m trying load a COFF file (.out) since PC using hpi, but an error in Code Composer Studio is showed. The error is...

Hi all, I?m trying load a COFF file (.out) since PC using hpi, but an error in Code Composer Studio is showed. The error is "JTAG Communication error". To load the COFF file I?m using 'dsk6xldr' application provided by dsk 2.0 in 'C:\ti\examples\dsk6711\board_u


COFF V2 format details for .cinit?

Started by dan_eyer in TMS320c6x24 years ago

I'm trying to parse the COFF V2 .out file produced by Code Composer Studio 2.0 for the C6711. This is related to writing my own...

I'm trying to parse the COFF V2 .out file produced by Code Composer Studio 2.0 for the C6711. This is related to writing my own bootloading code. The .cinit section is different from the rest because size and address data for each initialized variable was included


Problem Reading Symbol table in the COFF file for C6x processor

Started by Anonymous in TMS320c6x22 years ago

Hi, I am trying to parse through the COFF file, according to "TMS320C6000 Assembly Language Tools" Appendix 2, the File Header...

Hi, I am trying to parse through the COFF file, according to "TMS320C6000 Assembly Language Tools" Appendix 2, the File Header Contents's 12-15 bytes contains the Number of entries in the symbol table. In my case, I get 2802 entries. I was reading the symbols


coff to binary conversion

Started by neeli bhaskar reddy in TMS320c6x22 years ago 3 replies

Hi all, can anybody guide me for a good utility (c6x) for coff (.out) to binary file (.bin). What exactly the difference...

Hi all, can anybody guide me for a good utility (c6x) for coff (.out) to binary file (.bin). What exactly the difference between .hex file and .bin file. Is there any tool to convert hex file generated by hex6x conversion utility, to binary file. For f


coff file conversion problem

Started by Selvaraj V in TMS320c6x22 years ago 1 reply

hi Using hex utility i want to  generate the files which can be written to the  "ram"  from the coff file . ...

hi Using hex utility i want to  generate the files which can be written to the  "ram"  from the coff file . but  on giving the followin


Program Loader Code? COFF interpreter?

Started by William C Bonner in TMS320c6x20 years ago 4 replies

I want to build a program to run on my DSP that will securely download a .out file and then pass control to it. What I really want to do is...

I want to build a program to run on my DSP that will securely download a .out file and then pass control to it. What I really want to do is to be able to download the coff file and after verifyling that I've got the segments correctly downloaded with CRCs burn it into my flash. Can anyone point me to resources on the net that would help me get started on this project? I've got my t...


Re: Problem using SBSRAM, COFF start address

Started by Jeff Brower in TMS320c6x20 years ago

Tobias- > Thanks for your reply, Jeff. It works now, the EMIF was in fact not > initialized correctly because I forgot to reset the board...

Tobias- > Thanks for your reply, Jeff. It works now, the EMIF was in fact not > initialized correctly because I forgot to reset the board while > writing HPI. Ok, progress then. > Now I have another question: The COFF-files contain a start address > which says, where the c_int00 label is loaded to and where to start > executing the program. This is a problem for my loader at the momen


Regarding symbol information in COFF

Started by Arun Kumar Shukla in TMS320c6x18 years ago 1 reply

Hi, I want to fetch variable's detail information from .out file (means Common Object File Format COFF). I have address of the variable or...

Hi, I want to fetch variable's detail information from .out file (means Common Object File Format COFF). I have address of the variable or symbol from.map file. The informations about symbol what i want to fetch are: Type (if structure then all members) is there any tool who can fetch these detailed information from .out file? -- With Regards, Arun Kumar Shukla @Aricent(Flextronic...


Re: some problems

Started by Mike Dunn in TMS320c6x21 years ago

Aditya,   Refer to to CCS Help on the hex conversion utility.  The following text came from there:   unconfigured memory...

Aditya,   Refer to to CCS Help on the hex conversion utility.  The following text came from there:   unconfigured memory error Description The COFF file contains a section whose load address falls outside the memory range defined in the ROMS directive. Action Correct the ROM range as defined by the ROMS dire


is there a CCS plug-in that allows a C program to access DSP mem?

Started by Jeff Brower in TMS320c6x16 years ago 8 replies

All- Is there a CCS plug-in that allows a user-defined C program to access DSP memory via the same JTAG connection as CCS? The idea is that...

All- Is there a CCS plug-in that allows a user-defined C program to access DSP memory via the same JTAG connection as CCS? The idea is that we can do something like this: -our program, operating as a CCS plug-in, reads the .out file (it can understand COFF format) and downloads code to memory -our program releases code to run (we're using C6472 booting in HPI mode) ...


Problem using SBSRAM

Started by neubert_tobias in TMS320c6x20 years ago 1 reply

Dear all, I am using the TI EVM board with a C6201 DSP under Linux. For a student research project I am programming a COFF loader for...

Dear all, I am using the TI EVM board with a C6201 DSP under Linux. For a student research project I am programming a COFF loader for this board. Communicating with the hardware is done by directly accessing the Base Address Registers of the PCI interface, where code can be loaded via HPI. This works fine except for the SBSRAM. When I write some words to consecutive addresses in this addr...


Re: coff to binary conversion

Started by praf...@yahoo.com in TMS320c6x20 years ago 1 reply

Hello all, I am writing the Web Server on TI DM642 platform. The one web page in this server ll take the .bin file of the application and ll burn...

Hello all, I am writing the Web Server on TI DM642 platform. The one web page in this server ll take the .bin file of the application and ll burn it into the Flash. The .bin file is formed from .out file of application using "Out2Bin" utility from our board vendor. Pls let me know if there is any format of binary file formed from ascii-hex file? and DO i need to parse this .bin file for addres...


CCStudio v.3.3

Started by "H.264encoderondm642" in TMS320c6x19 years ago 1 reply

I just got packed CD from TI for CCStudio v3.3. What i wonder is weather this will be without any restriction like v3.2 for most support for...

I just got packed CD from TI for CCStudio v3.3. What i wonder is weather this will be without any restriction like v3.2 for most support for target DSP's? At least from broucher i can see it will... Please share your views on this version if anybody is on this... especially for C6713 users point of view. Of corce its compiler is more efficient than v3.1 compiler as i tried with COFF file...


The problem of loading BIN(converted from .out file) file from pci to target

Started by onlyflyer in TMS320c6x19 years ago

Hi: I'm writing a linux driver for C64(board dm642),my job is to load target's program int to C64 from pci bus and start it. First, I...

Hi: I'm writing a linux driver for C64(board dm642),my job is to load target's program int to C64 from pci bus and start it. First, I convert .out file(coff format) to hex file by hex6x. Then, I convert the hex file to bin file by hexbin. At last, I load this bin file to IRAM of c64. BUT, When I look the memory of c64 by jtag,I find the program's offset is wrong.For example,the _c...


BOOT greater than 512KB

Started by mike...@hotmail.com in TMS320c6x19 years ago 5 replies

Dear all. We have a DM642 based card, and we build an aplication and then we convert coff file to ascii hex to program flash. But the hex...

Dear all. We have a DM642 based card, and we build an aplication and then we convert coff file to ascii hex to program flash. But the hex file it's greater than 512 KB. We need to select on boot.asm external address to cover range greater than 512KB of the flash. We have a CPLD that has a register ,located at 0xA000081,that manages external address like A19 to A24. What modifications i ha...


Beginner Question: How to make a memory map ?

Started by ".dorian" in TMS320c6x19 years ago 3 replies

****************************************************************************** TMS320C6x COFF Linker PC v5.1.0 ...

****************************************************************************** TMS320C6x COFF Linker PC v5.1.0 ****************************************************************************** > > Linked Sun Oct 28 20:16:35 2007 OUTPUT FILE NAME: ENTRY POINT SYMBOL: "_c_int00" address: 00083120 SECTION ALLOCATION MAP output


.out to flash probably via .HEX and possibly using COFF tools.

Started by William C Bonner in TMS320c6x18 years ago 1 reply

I know that similar topics have been asked about this in the recent past, but I was not able to find the information I wanted, either in the...

I know that similar topics have been asked about this in the recent past, but I was not able to find the information I wanted, either in the message thread or with web searching and searching the TI site directly. My current process for getting code updates into my flash is to compile it to a .out file with code composer studio, then use a program called DHex6x.exe to convert the .out f...


ROM HEX file format for DSP Platforms (TMS320C6713)

Started by William C Bonner in TMS320c6x18 years ago

Is there a particular file format that is normally used for program files written to flash to boot a DSP? I'm assuming that a COFF file isn't...

Is there a particular file format that is normally used for program files written to flash to boot a DSP? I'm assuming that a COFF file isn't simply converted to an Intel HEX format and transferred, but that some relocation points are taken care of and code is moved around. Does it vary by who builds the platform? I've written a couple of programs that can combine multiple Intel hex...


Estimating Code Size for DSK6713

Started by sank...@hotmail.com in TMS320c6x18 years ago 2 replies

Hi, I just would like to know if I can fit my program into the DSK6713 Flash, which is 512KB maximum in size. I am now simulating the program...

Hi, I just would like to know if I can fit my program into the DSK6713 Flash, which is 512KB maximum in size. I am now simulating the program using CCS. Compilation is done in debug mode and no optimization is used. 1. The COFF .out file resulting from simulation is 510KB. I know it is not an executable one. It has debug stub along with others that may not be in the execuatable file. Can any...