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.

V3.3 -> V4 Migration



Hi All,

I'm trying to migrate from CCS3.3 to CCS4.  I've imported my V3.3 project OK,  but I get some errors when I try to launch the debugger:

C28xx: Flash Programmer: Unable to read algorithm file (C:\Program Files\Texas Instruments\ccsv4\DebugServer\bin\win32\..\..\..\C2000\flashAlgorithms\FlashAPIInterface28235V2_10.out). Operation cancelled.
C28xx: Flash Programmer: Error erasing Flash memory.
C28xx: Flash Programmer: Unable to read algorithm file (C:\Program Files\Texas Instruments\ccsv4\DebugServer\bin\win32\..\..\..\C2000\flashAlgorithms\FlashAPIInterface28235V2_10.out). Operation cancelled.
C28xx: Flash Programmer: Unable to read algorithm file (C:\Program Files\Texas Instruments\ccsv4\DebugServer\bin\win32\..\..\..\C2000\flashAlgorithms\FlashAPIInterface28235V2_10.out). Operation cancelled.
C28xx: Flash Programmer: Error encountered when writing to flash memory
C28xx: Trouble Writing Memory Block at 0x324d79 on Page 0 of Length 0xff
Cannot write to target

I appear to be missing some files,  since my C:\Program Files\Texas Instruments\ccsv4\C2000 folder does not have a flashAlgorithms folder.  Any advice on how to fix this?

Thanks,

Bill

  • Bill,

    Which specific version of CCSv4 are you using? Did you update your version of CCSv4 after installing it via the Update Manager?
    This error has come up on the forums before and I believe the reason for the error is that the location of these flash algorithm files changed between CCS 4.1.0 and 4.2.0. In CCS 4.1.0 they are in <ccs_install_root>\ccsv4\DebugServer\drivers, while in CCS 4.2.x they are in <ccs_install_root>\ccsv4\C2000\flashAlgorithms. If you download and install the full 4.2.3, then this should not be an issue, but it seems that the CCS update process is not handling the file locations properly.

    Could you try downloading and installing CCS 4.2.3 from http://processors.wiki.ti.com/index.php/Download_CCS?  You can install it in a different folder and verify it is working properly before deleting your previous installation.

  • Thanks for the quick reply Aarti.  I'm running CCS 4.2.3.0004.  Yes,  I updated it after I installed it.

     

    I found the files where you said they would be.  When I copied them to where CCS is expecting them it seemed to flash OK (although very slowly) but then dumps me into a window titled 'Debug - Code Composer Studio ((Licensed)" .  There are no debug controls,  just an empty console window.  Where can I find the debugger controls & code?

     

    Bill

     

     

  • Got it - window | show view | debug - I'm single-stepping now.  It looks like it is working.  This Eclipse stuff is going to take some getting-used-to.

     

    Best,

     

    Bill

  • Bill,

    Assuming you are in the Debug perspective (as shown by the Debug tab being active in the top right corner of the CCS window), try opening the debug views in case they were inadvertantly closed. Go to menu View and select Debug. This view has the controls for running, halting, stepping etc. You can also open the disassembly, registers and other views from that menu. Let us know if that helps.