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.

Programming Flash on the F28069

Other Parts Discussed in Thread: CONTROLSUITE, TMS320F28069

I am planning on using a F28069 in my project.  I got the eval kit and control card for the F28069.  When I try to run the example from controlSUITE cla_adc_fir_flash I get an error when trying to load code into the device.  The error reads:

 

C28xx: Flash Programmer: Unable to read algorithm file (C:\Program Files (x86)\Texas Instruments\ccsv4\DebugServer\bin\win32\..\..\..\C2000\flashAlgorithms\FlashAPIInterface2806xV1_00.out). Operation cancelled.

C28xx: Flash Programmer: Error erasing Flash memory.

 

The examples that run out of RAM work fine.  If I swap the control card for the F28035, the same example for the F28035 works without any trouble.

Does anyone know what the algorithm file is about?

Thanks,

Ethan

 

 

  • Ethan,

    I tried the above above ADC example and was able to load the code into the F28069 device.

    A few things to check for:

    1. The CCS 4 version you are using needs to be 4.2.3. It has the required updates for F28069.

    2. Can you please check if the algorithm file "FlashAPIInterface2806xV1_00.out" is present in the above path you mentioned?

    ( C:\Program Files (x86)\Texas Instruments\ccsv4\C2000\flashAlgorithms\FlashAPIInterface2806xV1_00.out)

    The above example you are referring to programs the flash with the code which is done by the on-chip flash programmer. The correct algorithm file needs to be present for the programmer to work properly.

    Regards

    Vaish

  • I am running CCS4, version 4.2.3.00004.

    The algorithm file for the F28069 is not there.  Do you know where I can get it?

    Thanks for your help.

    Ethan

     

     

     

  • Ethan,

    The flash setup installer can be accessed here :  <REMOVED THE INSTALLER FILE - CRASHES WITH NEWER VERSIONS OF CCS. THE CCS VERSIONS 4.2.3 and LATER HAVE THE PLUGIN SUPPORT AVAILABLE. PLEASE MAKE SURE TO INCLUDE C2000 UPDATES DURING INSTALLATION>

     It only requires the path where CCS4 (Example : C:\Program Files\Texas Instruments\ccsv4) has been installed.

    It will then automatically install the algorithms in the required directory.

    Please make sure to enable the C2000 updates during CCS4 installation process. This will add the latest updates during install.

     

    Regards

    Vaish

     

     

  • The flash setup installer looks like it worked.  The file "FlashAPIInterface2806xV1_00.out" was put in the directory with the other flash algorithms.

    But now when I try to go to debug mode CCSv4 crashes and shuts down completely.  Eclipse gives a big long error starting with:

    JVM terminated. Exit code=1

    ....

    It won't let me cut and past the whole message here.

    If I remove the flash algorithm file, Eclipse still crashes.  Eclipse crashes whenever I try to start the debugger.  I have tried a few different example projects that used to work, running out of either flash or RAM, for both the F28069 and the F28035.

    I am probably going to try to re-install CCSv4 and start from scratch.  Do you have any other suggestions?

    Thanks,

    Ethan

     

     

     

     

     

  • If you are able to open CCS4, I'd suggest starting a new workspace and try using the debugger and flash programmer.

    Please let me know if the problem still persists.

  • The problem persists with a new workspace.

    Ethan

     

  • I removed then downloaded and re-installed CCSv4.  That seems to have fixed the problem.  Eclipse doesn't crash, and I can program the flash on a F28069.

    Ethan

  • Hi,

    I had just the same problem described above.

    Running the file you suggested lead to debugger crash as described above.

    I uninstall, reinstall (including all updates) and now the environment is workign again, but still only in RAM mode. with the F28069.cmd file, the debugger gives the same errors as described above.

    Who can I solve it without destroying my installation?

    I am using Winows 7.

    CCS version 4.2.4.00032

    Tools version6.0.1

    and experimenter kit of TMS320F28069

    Thanks

  • Eyal,

    Can you check if the algorithm file "FlashAPIInterface2806xV1_00.out" is present in the path where your CCS is installed?
    ( Example,  C:\Program Files\Texas Instruments\ccsv4\C2000\flashAlgorithms\FlashAPIInterface2806xV1_00.out)

    If no, then your installation does not  include updates for F2806x.

    If yes, you should be able to program the flash. You can try loading the .out provided along with the example API and see if the program works.

     

    - Vaish

  • Hi,

    Under ...\C2000 all I have is a directory named "include" with all the possible *.cmd files inside. Also under C2000 is the uninstall_ti_C2000support.exe.

    There is no "flashAlgorithms" directory under c2000 and clearly no *.out file ...

    How can it be?

    What to do please?

    Thanks, Eyal