Hi All
I am working on DSP TMS320C6711 With CCS DSK C6000 V1.23
I can't Understand the first line of the file
"C:\ti\c6000\tutorial\volume1\sin.dat"
1651 1 0 0 0 <-------------- What is the perpose of this line ??
0x00000000 0x0000000f 0x0000001e ................
..............
Can anybody help me for that that..... Regards Dibyendu Mondal Research Project Staff DRDO Project CST Department of B.E.College Howrah - 3 West Bengal
Win a castle for NYE with your mates and Yahoo! Messenger |
File I/O
Started by ●December 11, 2004
Reply by ●December 13, 20042004-12-13
Hi That is the header of the .dat file...u can call it .dat file format for CCS..1651 is the magic number(to be identifies ad .dat file) and other fields contain information about the data type, size etc. regards Nithin --- In , dibyendu mondal <dib_mon@y...> wrote: > Hi All > I am working on DSP TMS320C6711 With CCS DSK C6000 V1.23 > > I can't Understand the first line of the file "C:\ti\c6000 \tutorial\volume1\sin.dat" > > 1651 1 0 0 0 <-------------- What is the perpose of this line ?? > 0x00000000 > 0x0000000f > 0x0000001e > ................ > .............. > > Can anybody help me for that that..... > Regards > Dibyendu Mondal > Research Project Staff > DRDO Project > CST Department of B.E.College > Howrah - 3 > West Bengal > > --------------------------------- > Win a castle for NYE with your mates and Yahoo! Messenger |
Reply by ●December 13, 20042004-12-13
Dibyendu Mondal- This is what i pulled out from CCS help, i guess it explains it all: --Bhooshan.N.Iyer ---------------------- A text file that contains one line of header information and stores the data as one sample per line. The data can be in any of the following formats: Hexadecimal Integer Long Float The header information for data files uses the following syntax: MagicNumber Format StartingAddress PageNum Length MagicNumber Fixed at 1651. Format A number from 1 to 4, indicating the format of the samples in the file. This number represents a data format: hexadecimal, integer, long, or float. StartingAddress The starting address of the block that was saved. PageNum The page number the block was taken from. Length The number of samples in the block. All header values are assumed to be TI-style hexadecimal values. The following is an example of a Code Composer Studio data file: 1651 1 800 1 10 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 Note: Header values specify only the default address and length. When you use the File DataLoad command to load a file into memory, the Code Composer Studio debugger gives you a chance to override these values. When using the Code Composer Studio data file format with file I/O capabilities, any information you enter in the File I/O dialog box (Address and Length) automatically overrides the Code Composer Studio data file header information. You do not need to set the header information for each file as long as the header includes the following value: 1651 1 0 0 0. ------------------- ----Original Message Follows---- From: dibyendu mondal <> Reply-To: To: Subject: [c6x] File I/O Date: Sat, 11 Dec 2004 15:57:53 +0000 (GMT) Hi All I am working on DSP TMS320C6711 With CCS DSK C6000 V1.23 I can't Understand the first line of the file "C:\ti\c6000\tutorial\volume1\sin.dat" 1651 1 0 0 0 <-------------- What is the perpose of this line ?? 0x00000000 0x0000000f 0x0000001e ................ .............. Can anybody help me for that that..... Regards Dibyendu Mondal Research Project Staff DRDO Project CST Department of B.E.College Howrah - 3 West Bengal --------------------------------- Win a castle for NYE with your mates and Yahoo! Messenger _________________________________________________________________ Find love today with ninemsn personals. Click here: http://ninemsn.match.com?referrer=hotmailtagline |