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.

TMS320F28076: FLASH PROGRAMMING problem TMS320F28076 CCSV9.3 and CCSV10.2 and UNIFLASH

Part Number: TMS320F28076
Other Parts Discussed in Thread: UNIFLASH
Dear support,
First of all: A hardware test version is equipped (TMS320F28076 with everything necessary).
The CCS has accepted my 2807x_eigener_lnk.cmd.
With the XDS100V3 I was able to load, start and debug the program with the CCSV9.3 and 10.2 in the RAM
and it runs correctly (2807x_eigener_lnk.cmd == content of 2807x_Generic_RAM_lnk.cmd)
Then I exchanged the content of 2807x_eigener_lnk.cmd for 2807x_Generic_FLASH_lnk.cmd and tried to load the program into the FLASH.
Now I get the following error message:

C28xx_CPU1: GEL Output: Memory Map Initialization Complete C28xx_CPU1: Flash Programmer: The calculated system clocks (190.00) is not within the valid range for this device [0.00,120.00]. C28xx_CPU1: File Loader: Memory write failed: Unknown error C28xx_CPU1: GEL: File: D: \ CCSV9.3 \ CODE_28076 \ FRD_TEST_IOs \ CPU1_FLASH \ FRD_TEST_IOs.out: Load failed.


I get this error message from the CCSV9.3, CCSV10.2 and the UNIFLASH.
First question: Where are the system clocks set to 190.00?
Second question: Where and how do I have to set the system clock so that the error is corrected?
Third question: How and where does the CCS recognize that the FLASH_PROGAMM has to be called or that data are only to be transported to RAM.
With kind regards
Friedrich
  • Friedrich,

    Thank you for contacting us on this.

    1. When creating the target configuration CCXML file, hope you selected the correct device in the drop down menu.  Could you confirm this?  

    2. Since the max operating frequency of F2807x is 120MHz,  please try below PLL settings in the CCS flash plugin GUI (CCS debug view -> Tools -> On-chip flash GUI).

    Try below PLL settings in Plugin GUI:
    SPLLIMULT : 24
    SPLLFMULT: 0
    SYSDIVSEL : 1 [/2]

    3. Gel file (associated with the CCXML file) defines the flash memory.  During a program load, if CCS/Uniflash notice that the image is mapped to this flash range, then flash loader is automatically invoked.


    Thanks and regards,
    Vamsi

  • Hello Vamsi,
    Thanks for the fast answer.
    Your proposed solution may not work,
    because I can only get to "Tool" when JTAG has made contact with the 28076,
    but that does not work because the error message comes first
    So I can _not_ change the value to 24,
    in RAM mode yes, but the value is then obviously not saved.
    I've been working in vain to get this going for a week and
    have now found the error.
    It is obviously in the CCS, which does not know the 28076, or the 28076 is not implemented or not implemented correctly.
    If I specify the 28075 as DSP, a warning appears, but I can load the prog into the FLASH as well as into the RAM.
    I would be happy if the error in the CCS is corrected promptly
    and I would get a message about the repair of the CCS.
    With best regards
    Friedrich
  • Friedrich,

    Thank you for the update.

    I will file a ticket and check whether F28076 device is added or not to the CCS support.  If it is not added, I will make sure it gets fixed in the next version.

    For your current issue:  You can select F28075 for flash programming - there is no any difference between F28076 and F28075 in terms of flash programming.  Same algorithms are used for these two devices.  You can ignore the warning and proceed to program the flash.

    In RAM mode, if you are able to access the tool, you can change the setting as I mentioned and then click on the "Remember my Settings" button available at the bottom of the On-chip flash plugin GUI.

    Please let me know if you need further help.

    Thanks and regards,
    Vamsi

  • Vamsi,

    >In RAM mode, if you are able to access the tool, you can change the setting as I mentioned and then click on >the "Remember my Settings" button available at the bottom of the On-chip flash plugin GUI.

    Now it's working.

    I haven't tried whether it still works when the CCS is restarted.

    I still have two questions;

    1. In which CCS will the 28076 be implemented? V9.3 and 10.2 or only in 9.3 or only in 10.2?

    2. Can you give me a message if the 28076 and in which CCS it is implemented?

    With best regards

    Friedrich

  • Friedrich,

    Thank you for the update.

    Glad it is working after using the "Remember my settings" button.  It should work even with CCS restart.

    Regarding your questions:

    1. Once I check with the tools team, if it is not already supported, we will add the support to 10.x and not to 9.x.  Do you need the support for 9.x for any reason?  If yes, please let me know and I will check whether it is possible or not.

    2. I will check and let you know on this by March 16th.  For now, please continue to use the working setup that you have now.  

    Thank you for your patience.

    Best regards,

    Vamsi

  • Friedrich,

    F28076 PLL settings will be fixed in CCS11.0 (June/July 2021 timeframe).

    Please note: I will be out of office up to March 16th.  

    Thanks and regards,

    Vamsi