DSPRelated.com

Problem with printf

Started by rowkajjh in Code-Composer Studio16 years ago 2 replies

Hello, I'm using CCSTudio 3.3 and have a problem with printf. After several printf's in my code the memory gets corrupt. This means some...

Hello, I'm using CCSTudio 3.3 and have a problem with printf. After several printf's in my code the memory gets corrupt. This means some static variables have random contents or mathematical functions like sin or atan2 are giving wrong results. After changing the printf's to puts everything is fine. But I would like to know whats the cause. Thanks and bye!


Using RTDX with the F2812 C/C++ header/peripheral example files

Started by ramm...@gmail.com in Code-Composer Studio16 years ago

Hello, I've been trying to create a program that sends the result of an AD conversion to my PC using RTDX (it's the first I use it). I...

Hello, I've been trying to create a program that sends the result of an AD conversion to my PC using RTDX (it's the first I use it). I have modified the adc_soc example project with same code (t2h.c, except TARGET_INITIALIZE();) from the rtdx tutorial. The first time I send a data, I can see it on my PC, but the DSP hangs on the following line: while ( RTDX_writing != NULL ) I think it mig...


error: symbol referencing errors - 'brain.out' not built

Started by xsmokeyx69 in Code-Composer Studio16 years ago 1 reply

Hi, I am trying to compile some code in CCE v2.0, but I keep getting this error: " undefined first referenced ...

Hi, I am trying to compile some code in CCE v2.0, but I keep getting this error: " undefined first referenced symbol in file --------- ---------------- BCSCTL1 ./bestusrutil.obj BCSCTL2 ./bestusrutil.obj > > error: symbol referencing errors - 'brain.o


Code Composer auto-completion fails

Started by urk1254 in Code-Composer Studio17 years ago 5 replies

Hi. I have issues with auto-completion feature of CodeComposer 3.3. Sometimes it does work. But then it just dies and does not restart until I...

Hi. I have issues with auto-completion feature of CodeComposer 3.3. Sometimes it does work. But then it just dies and does not restart until I close Code Composer and reopen it. So, in 90% of the time I cannot use it. Can this be resolved?


ARM7 tool set/IDE

Started by Lior Mouler in Code-Composer Studio17 years ago 1 reply

Hi, I am wondering if there is a way to work with TI's ARM7 tool chain (cgtools) but avoid using CCS. There are at least two potential...

Hi, I am wondering if there is a way to work with TI's ARM7 tool chain (cgtools) but avoid using CCS. There are at least two potential problems with this approach: 1. TI's coff file should be converted to elf format which is used by most of emulators available on the market. Is this utility available? 2. If I work with an editor external to CCS (let's say Visual Studio) I ca...


several consecutive "printf" lines causes infinite loops

Started by pransis korpuz in Code-Composer Studio17 years ago 1 reply

good day everybody! im having a bit of a problem with coding in CCS Studio DSK 2.12 i have several "printf" lines in my code and it causes...

good day everybody! im having a bit of a problem with coding in CCS Studio DSK 2.12 i have several "printf" lines in my code and it causes infinite loops in execution. i usually tend to have many consecutive "printf" lines as a way of debugging (in order to see the values of my variables in specific parts of my program. my code is as simple as this: include void main(


programming codec aic32

Started by ocriminale in Code-Composer Studio17 years ago 1 reply

Hi, On my dsk (dsp c6713) i have the codec aic23. This is a stereo codec,it sends 32-bits frames. My question: In each frame are there...

Hi, On my dsk (dsp c6713) i have the codec aic23. This is a stereo codec,it sends 32-bits frames. My question: In each frame are there 16 bits for the left sample and 16 bits for the right frame?? OR does it send two separate frame: one that contains left sample in 16 less significative bits and the following frame with the right sample in the less significative bits?? ...


Re : wrong sizeof value on a struct.

Started by regi...@gmail.com in Code-Composer Studio17 years ago 1 reply

Hi Jeff First, thanks for the answer. Second, do you have any "nice" solution for it. I mean I don't want to count bytes or use #define STR_T...

Hi Jeff First, thanks for the answer. Second, do you have any "nice" solution for it. I mean I don't want to count bytes or use #define STR_T = 7. Can I force the compiler by any flag not to align my struct to 4 bytes multiplies...? Thanks RegInfo.


Getting a wrong sizeof value on a struct

Started by regi...@gmail.com in Code-Composer Studio17 years ago 2 replies

Hi I have a little problem. I am using CodeComposer studio v2.21. I am working on TI DM642 (DM6415) DSP's I defind a struct which has 7 bytes...

Hi I have a little problem. I am using CodeComposer studio v2.21. I am working on TI DM642 (DM6415) DSP's I defind a struct which has 7 bytes : typedef struct { UINT32 s_code; // 4 bytes UINT8 type_code1; // 1 byte UINT8 type_code2; // 1 byte UINT8 type_code3; // 1 byte }STR_CODE_T; now, when I am using the command : sizeof(STR_CODE_T); I get the valu...


Re: [c6x] Command Line(DOS) Interface to CCS 3.3

Started by Jeff Brower in Code-Composer Studio17 years ago 1 reply

Nilesh- > Is there is method to compile my CCS project through command line? I mean to say > as in ccs we use build command for compiling and...

Nilesh- > Is there is method to compile my CCS project through command line? I mean to say > as in ccs we use build command for compiling and load for loading and run for > running in simulator, there must be some exe file corresponding to this. > > Can we use this exe file with appropriate switches to do same from DOS command > prompt? > > I think this can reduce lot of compile and runni


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