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.

CCS/TMS320F28379D: DSP F28377D: programming Flash with Code Composer Studio 6.1.0.00104

Part Number: TMS320F28379D
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

Hi,

at the moment I installed the 6.1.0.00104 version of Code Composer Studio and compiler TI v6.4.3 on my computer. With this version I was able to load my project into the flash memory of the DSP F28377D without problems. Now I need to use the F28379D DSP which should have the same memory map as the F28377D. In this case the code composer bulds, but fails to write the flash memory and gives me the following error:

C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map.
C28xx_CPU1: File Loader: Verification failed: Values at address 0x0000000000082000 do not match Please verify target memory and memory map.
C28xx_CPU1: GEL: File: C:\_Projects\v170\F2837xD_examples_Dual\ipc_gpio_toggle\cpu01\ccs\CPU1_FLASH_DEBUG\ipc_gpio_toggle_cpu01.out: a data verification error occurred, file load failed.

I also tried to compile and run Control Suite ipc_gpio_toogle (v170) example, but the flash upload returns the same error.

  1. How I can solve this issue?
  2. Is a problem of code composer or compiler version?
  3. Can I solve the problem without change the veersion of the compiler and Code Composer Studio?
  4. Does exist any other tool in order to program DSP Flash?

Best Regards,

Nicola

  • Hi Nicola,

    Did you check and install the updates in CCSV6? Make sure to install updates from Debug Server Flash.

    Did the board worked before and starting to show the errors now?

    Please let us know.

    Thanks,
    Katta
  • Hi Katta,

    Trying to update the Debug Server Flash as you have suggested, we have the following errors:

    An error occurred while collecting items to be installed
    session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
    No repository found containing: org.eclipse.update.feature,com.ti.dsflash.win32,6.1.0.1425
    No repository found containing: binary,com.ti.dsflash.win32_root,6.1.0.1425

    Do we have to do something else?

    In any case, I think we have performed a step forward by updating the "TI C2000 Device Support - http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/c2k/p2win32". Now we are able to flash and to debug the application with only these errors generated during flashing phase:

    C28xx_CPU1: Error adding memory map range: invalid page specified
    C28xx_CPU1: Error adding memory map range: invalid page specified
    C28xx_CPU1: GEL Output: 
    Memory Map Initialization Complete
    C28xx_CPU1: If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code.  Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed.
    

    What do errors mean?

    Thank you,

    Nicola

  • Hi Nicola,

    Hope you have set the launchpad switch settings as per your requirement?
    Are you using the default target ccxml and did a test connection with the launchpad?
    Can you attach your memory map file here?

    Thanks,
    Katta
  • Hi Nicola,

    Glad that you are able to flash now.  

    Regarding the error "C28xx_CPU1: Error adding memory map range: invalid page specified":  This is not an error generated from CCS Flash programming tool.  It looks to be from the gel file's memory map section.  I guess you will get this error even if you try to load to RAM with your current setup.  Did you get any error while installing CCS?

    Regarding the Debug Server Flash update issue:  We are able to update the DS Flash package to 6.1.0.1425 on our CCS6.1.0 setup successfully.  Please try reinstalling CCS and see if it helps to update the packages.  Not sure if this exercise is needed since you are already able to Flash.

    Regarding the note "C28xx_CPU1: If erase/program (E/P) operation is being done on one core, ...":  You might have noticed that this is not an error and is just an info displayed as FYI.  

    If possible, please try to move to the latest CCS (v7) so that you can get latest bug fixes etc. for all the packages (TI Device Support, Debug Server Flash and others).

    Thanks and regards,

    Vamsi

  • Nicola,

    You can also try our standalone Flash programming tool - UniFlash (www.ti.com/.../UNIFLASH), if needed.
    This does not provide debug environment.

    Thanks and regards,
    Vamsi