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.

CCS5.3 Download program problem

Other Parts Discussed in Thread: CONTROLSUITE

Hey all:

I created a c2000 project can't download in flash running, only debugging, build project display as below:

--include_path="C:/ti/controlSUITE/device_support/f2802x0/v110" --define=_FLASH --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="main.pp"  "../main.c" "../main.c", line 93: warning #225-D: function declared implicitly 'Finished building: ../main.c' ' '

anybody know why that is?  thanks...

 

 

  • There is a missing prototype of a function, which is called in line 93 of main.c. Just add this missing part at the beginning of main.c or in any of your header files.

     

     

  • Frank ,

    Thanks for your reply. I think isn't that reason after I repeatedly test. the compiler and debug are not the problem, but after power off to power on,  looks like the program is not down to flash.3835.Test_F280270.zip

  • In your project, the codestart - section (0x3F7FF6) is not programmed properly, that's why it isn't working after power up. Also, the FlashInit-function is not called as it should be (see lines 92-94 of your main.c - they are greyed out). First you have to copy that function from flash to ram, then call it in ram and branch back to flash.

    I'd recommend to inspect one of the FLASH examples in ControlSuite to get a proper start  - or sign in for a workshop in your region.

    Regards

     

     

    .

  • ok, but my this project's main function contain is used full F2802x0 LED Blink example project, and without difference with example project. The only difference is that I am to rebuild project. All configuration and routine exactly the same. but example project no problem. By the way, what is the difference using CCS to build the C project and CSS project? thanks very much!

  • Around lines 92-94 there is a switch "FLASH" to control conditional compilation. Just define this constant somewhere and the code will be compiled for FLASH.

    A good starting point for flash is also: C:\ti\controlSUITE\device_support\f2802x0\v110\f2802x0_examples_ccsv4\flash_f280270