DSPRelated.com
Forums

How to test a program in CCS...

Started by Shyam Prasad March 1, 2005

Hi friends,
I am trying to test the C code of G.711 speech codec. I have a set of
testvectors. They are all binary files. I successfully tested the C
code in Microsoft Visual C. But I am not getting the correct result
when I test the same C code in Code Composer Studio. What is the
reason? Is it that the testvectors need to be converted to hex format?
If so, please suggest me how the conversion is done.
Thanking You,
Shyam. --
Character comes from following our highest sense of right, from
trusting ideals without being sure they will work.




Shyam,

You can use MS Excel or write a simple C program for HEX conversion.

Ismail

----- Original Message -----
From: "Shyam Prasad" <>
To: <>
Sent: Tuesday, March 01, 2005 2:12 PM
Subject: [c55x] How to test a program in CCS... >
>
> Hi friends,
> I am trying to test the C code of G.711 speech codec. I have a set of
> testvectors. They are all binary files. I successfully tested the C
> code in Microsoft Visual C. But I am not getting the correct result
> when I test the same C code in Code Composer Studio. What is the
> reason? Is it that the testvectors need to be converted to hex format?
> If so, please suggest me how the conversion is done.
> Thanking You,
> Shyam. > --
> Character comes from following our highest sense of right, from
> trusting ideals without being sure they will work. >