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.

  • Resolved

[FAQ] F05 Flash: Why are some GPIOs pulled low during flash programming of the F2833x/F2823x devices?

Guru 67490 points

Replies: 1

Views: 538

Q: When programming the flash of the TMS320F2833x (or F2823x) devices with Code Composer Studio, some GPIOs are pulled low which leads to the potential for damage with external hardware. Why is this happening and how can it be fixed? 

Lori Heustess
C2000 Software Engineering

  • A:

    The XINTF pins are muxed with the GPIO pins. After reset these pins are configured as GPIO inputs until the application code changes this. Before loading application code to external memory through the XINTF pins, the GPIO configuration must be changed to XINTF functionality. In order to allow loading code directly to the XINTF memory, the XINTF_Enable function was added to the OnPreFileLoaded() GEL function. The device gel file is used by Code Composer Studio to perform specific configurations automatically. This will enable the XINTF pins for you when the OnPreFileLoaded() function is called.

    This presents an issue when programming the flash within CCS. The OnPreFileLoaded() function enables the XINTF functionality which can toggle the state of the GPIO pins. This can cause an issue for external hardware if proper care is not taken.

    A simple fix for this is to open the device gel file, comment out the call to XINTF_Enable in the OnPreFileLoaded() function. This will of course need to be restored when a project is to be loaded directly to the XINTF.

    Lori Heustess
    C2000 Software Engineering

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.