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.

TMS320F28377S Flash Programming Error "Remain Halted"

Other Parts Discussed in Thread: TMS320F28377S

Hello,

I'm trying to flash a Blink Led Object Code (blinkled.out) on a TMS320F28377S, but the following error came out:

Here are some information that may be helpful to explain the error context:

  • PROGRAM: The only functionality that performs this code is to "blink a specific led".
  • CODE COMPOSER STUDIO: Version 6.1.0.00104
  • EMULATOR: Blackhawk XDS560v2-USB System Trace Emulator
  • EMULATOR CONNECTION PROPERTIES:


There are sometimes that I can flash the program, and there are others that I can not. Could you please tell me why could be this instability? And, Could you help me to solve it?

  • Hi,

    Which board you are using? Please check the state of BOOTMODE PINs (GPIO72/GPIO84). To program a device where flash is erased, these pins should be set to Wait Boot or boot mode other than "Get Mode".

    Regards,
    Vivek Singh
  • Hello Vivek, thanks for your quick response. Related to your questions, here are the answers:

    1. Which board you are using? R = We are using a Custom Board with TMS320 DSPs.
    2. Please check the state of BOOTMODE PINs (GPIO72/GPIO84). R =As we are using a Custom Board, we have changed the DSP boot mode pins thru DCSM. Thus, the GPIOs that we are using and their status are:
      1. For DSP # 1: 
        • BOOTPIN1: GPIO101 has a weak pullup to 3.3V
        • BOOTPIN0: GPIO5 has a weak pullup to 3.3V
      2. For DSP # 2: 
        • BOOTPIN1: GPIO70 has a weak pullup to 3.3V
        • BOOTPIN0: GPIO8 has a weak pullup to 3.3V

       NOTE: JTAG Emulator is connected.

  • Do you have any advice? Should I set up this GPIOs into a "Wait Boot" mode?

    Regards,

  • Yes, I would recommend using wait boot while programming device which has erased flash.

    Regards,
    Vivek Singh