This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

New project setup problems

Hi,

I'm working on F28035 with CCS version 4. Now I'm trying to set up a new project and met problems:

1. I created a new CCS project for F28035, using the files 28035_RAM_lnk.cmd & rts2800_ml.lib during setting, the Code generation tool is TI v5.2.3. It also included the "C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c2000/include".

and then 2.  I composed a main.c file: void main(void); main(){ }

3. build all then problems occur. could any tell me how to start with my main() function in a new project? and which others files should I also include? is there any differences between adding .h files to the project and including them in the "Inludes"?

Thanks and regards,

Felix

  • I am not sure whether this will fix all your problems but I suggest you take a different approach.  The C28x requires a decent amount of setup code (initialization of CPU and peripherals) before you can enter 'user code'.  My suggestion is that you alter an example project.  The simplest is probably one which flashes an LED by driving a GPIO line.  Make a copy of the project or its code and then adjust the code as necessary.  The area for 'user code' is where the examples go for(;;) [infinite for loop].

    Hopefully this approach allows you to get your code up and running,

     

    Tim

  • Thanks a lot Tim, I will try it!

    Regards,

    Felix