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.

[F28x Users] Code Composer Studio v4.0.4.01000 Update now available

Other Parts Discussed in Thread: CCSTUDIO, TMS320F28035

The CCS Team has released a patch to CCS 4.0 to improve stability and performance of Flash Programming on F28x devices. This patch is recommended for all C2000 users. The patch is 250kB in size and will download and install quickly.

CCS 4.1 users should ensure they have version 4.1.0.2006 or later. Also note that CCS version 4.1.1 is expected to be released prior to Feb 24, so developers upgrading from 4.0 to CCS 4.1 are recommended to wait for the release of 4.1.1 to minimize download and installation times.  There will be an update available through update manager that will update all prior CCS 4.x releases to 4.1.1. The update will be made available shortly after the posting of the 4.1.1 full install.

For more information, please refer to the Release notes:

Installation

The update is installed via the Eclipse update manager. Select “Help -> Software Updates -> Find and Install …”, then “Search for updates of the currently installed features”. When the list of available updates is displayed, select the 4.0.4.01000 update and allow it to be installed.

This update is only applicable to CCS 4.0.2. If you have a different version of CCS, you will need up update to 4.0.2 first.

Content

Some customers have reported that Flash speeds for C28 are slower than expected. A small number of customers have also reported issues with locking devices. The slower than expected flashing speeds are due to an error in the clock frequency calculations for C28x devices. The update addresses this C28 specific problem.

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/CCSv4/CCS_4_0_4/ReleaseNote.htm

 

Please post any questions, problems or general feedback regarding the patch in the Code Composer Studio forum.

  • A note on the above patch - 

    A few folks have CCS 4.1 build 2003 installed.   This patch will not apply to build 2003.   (note build 2003 was only available for a short time so this likely doesn't affect you).

    You need to first do a full install of CCS 4.1 build 2006 first.  The latest CCS is available here:

    http://tiexpressdsp.com/index.php/Download_CCS

    A full download of 4.1.1 will be available soon (possibly next week).

  • Hello,
    I did the update and download and installation was ok. But the CCS changed not to 4.0.4.01000 and stayed as 4.0.2.01003 (see screenshot).

    Regards
    Holger

  • Holger,

    The version number displayed in Help -> About will not change after this patch is applied. This is a consequence of the way incremental patches work in Eclipse Update Manager. An incremental patch will appear as a new Eclipse feature with a "+" as you have noticed in the screenshot. Full updates, like what will be release shortly for 4.1.1, will update the version number.

    Andy

  • Team,

    Based on the other posts in this thread I'm confused about whether I need this patch or not. Is this patch required to be installed over CCSv4.1.0.02006? Or am I up to date with regard to this Flash programming problem? I can see the patch in the Eclipse update manager but it does not seem to be intended for v4.1.0.02006 (see screenshot below).

    Ruben

  • Ruben,

    You do not need to apply this patch to 4.1.0.02006.

    You will only see this update in update manager if you select the "search for new features to install" option. You will not see it if you "search for updates for currently installed features". In the former case, update manager will not let you install it it on 4.1.0.2006.

    Andy

  • We are still having trouble programming the Flash on the TMS320F28035 Piccolo device even when using CCSv4.1.0.02006. When we try to program the device we get a very generic error message stating that there is no Flash at the address being programmed (see below).

    As you can see from the error message, we are trying to program a valid flash address range. The other strange thing is that the problem is intermittent and some times we ARE able to program the target. This is pretty consistent across three custom boards we tested, and I have repeated this once on my 'F28035 control card board. On the custom H/W the device programs flawlessly the first time we start CCS, and then never again until we shut down CCS and cycle target power. We have seen the same results (and vague error message) with both the Spectrum Digital XDS510USB and the XDS100v2 emulators. What could be wrong?

    Console output:

    C28xx: Flash Programmer: Error encountered when writing to flash memory

    C28xx: Trouble Writing Memory Block at 0x3e8000 on Page 0 of Length 0x68d

    Cannot write to target

    -Ruben 

  • I have good news on this one! The custom H/W uses an external crystal in this design and the S/W configures the clock control reg to switch to this. Something is going wrong with this code and the part is getting into PLL limp mode. What we found is that once this happens, CCS can't program the device any more and we get the error that I described in the post (very vague). The problem is that once you get the chip in this mode and you have the boot pins set to boot from Flash, you can't seem to recover with CCS. As a workaround, we modified the board to put the part in wait boot mode so that the firmware in Flash wouldn't run and then CCS was able to re-program the Flash.

    -Ruben

    Ruben Perez said:

    We are still having trouble programming the Flash on the TMS320F28035 Piccolo device even when using CCSv4.1.0.02006. When we try to program the device we get a very generic error message stating that there is no Flash at the address being programmed (see below).

    As you can see from the error message, we are trying to program a valid flash address range. The other strange thing is that the problem is intermittent and some times we ARE able to program the target. This is pretty consistent across three custom boards we tested, and I have repeated this once on my 'F28035 control card board. On the custom H/W the device programs flawlessly the first time we start CCS, and then never again until we shut down CCS and cycle target power. We have seen the same results (and vague error message) with both the Spectrum Digital XDS510USB and the XDS100v2 emulators. What could be wrong?

     

    Console output:

     

    C28xx: Flash Programmer: Error encountered when writing to flash memory
    C28xx: Trouble Writing Memory Block at 0x3e8000 on Page 0 of Length 0x68d
    Cannot write to target

    -Ruben 

  • Ruben,

    Thanks for the update.

    In CCSv4.1.1, we have implemented a new fix for Piccolo devices that defaults to the Internal Oscillator 1 when programming Flash memory, so that might provide a fix to the problem you are seeing. The release date of this latest version of CCS should be available soon.

    Regards,

    Ricky