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.

TMS320F28379D: FLASH COULD NOT BE PROGRAMMED

Part Number: TMS320F28379D
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software:

Small demo progrom XXX.out can be downloarded into RAM and then be executed from the ram,

but when trying to downlrd a arge YYY.out file, always get "Load filed".

It seems that flash erasing is successful.

The same JTAG operation  was good with another design.

The power supply seems good, we have both 3.3V and 1.2V for the MCU.

 And very very occasionally, the flash operation is good, and then could be executed.

I lost direction, please help to figure out where the problem is.

Best regrads,

HUABIN

NOTE:

Followings are the messages we got, and the images during operations.

-----------------------------------------------------------------------------------------------

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.
C28xx_CPU1: Error during Flash programming (Flash algorithm returned error code). Operation cancelled.
C28xx_CPU1: File Loader: Memory write failed: Unknown error
C28xx_CPU1: GEL: File: C:\ti\controlSUITE\development_kits\TMDSIDDK_v2.0\IDDK_PM_Servo_F2837x_v2_00_00_00\F2837x_FLASH\IDDK_PM_Servo_F2837x-v2.out: Load failed.

  • Hi,

    For the YYY.out file, this is being loaded to Flash correct? What is the size of this file relative to the flash memory present on the device? Can you look at the project's generated map file in CCS to see how much space of Flash it will take up? It should be present in the CPU1_FLASH folder if a Flash Build configuration.

    Thanks and regards,

    Charles

  • Hi, Charles,

    Thanks a lot for your attention.

    The .txt and .map file is my map file in different forms.

    The yyy.out file could be downlorded into our previos board, the new one has some

    modifications which make the design simpler, with the same types of MCUs.

    We got lost either the hardware or software has problem.

    Best regards,

    HUABIN

     IDDK_PM_Servo_F2837x-v2(1).txt

  • Hi,

    To check if the hardware is the problem, can you load another example to the device, say like a LED Blinky with .fill values? What version of CCS are you trying to load the application from? Is this the latest CCS version?

    Thanks,

    Charles