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: Can't flash the program to Microcontroller

Part Number: TMS320F28379D
Other Parts Discussed in Thread: UNIFLASH

I have problem load program into Microcontroller. The device I am using are TMS320F28379D, and the JTAG I am using are XDS110 USB Debug probe.

When I am trying to load the program using CCS or Uniflash, I keep getting error message like this:

[ERROR] C28xx_CPU1: Trouble Reading Register PC: (Error -1156 @ 0x0) Device may be operating in low-power mode. Do you want to bring it out of this mode? Choose 'Yes' to force the device to wake up and retry the operation. Choose 'No' to retry the operation without waking the device. (Emulation package 9.11.0.00128)

It will do nothing wether I select Yes or no to wake up the device.

 

Do you know why and how can I solve the issue?

  • Hi Hainan,

    1) If not to flash, are you able to load to RAM fine?

    2) Is this the only error that you received?  Or something else as well along with it?

    3) How are the boot mode pins configured?  - boot to flash?  If yes, try configuring them for serial boot or wait boot.

    4) Did you program DCSM passwords?  If yes, did you try unlocking before loading the code?

    5) Were you able to load code successfully to this device previously? 

    Thanks and regards,
    Vamsi

  • The problem is related to flash only. Not RAM

    I have configure boot to flash. But the boot has no issue. For the board I can flash, there is no problem boot.

    I find a interesting issue. I have another Microcontroller using 3.3V supply along with the TI microcontroller(TMS320F28379D). The 3.3V supply come from a 1A voltage regulator, with 22uF caps. If I remove the other microcontroller, I can flash the TI MC most of the time. I think this might be power related when there is flash operation, the TI MC will require a lot of power and then sag the 3.3V bus. Thus cause it goes into a low power mode.

    Will that be possible?

    Hainan

  • Hi Hainan,

    Datasheet shows the operational currents.   Supply should be able to meet that specification.  

    I will loop in corresponding team to help you further.  

    Note: The error that you copied is not related to flash programming.

    Thanks and regards,
    Vamsi

  • Hainan,

             I presume you have no issues connecting to this device via CCS and that you only have a problem programming the Flash. The observation you make regarding the other MCU suggests that sag in the voltage line (brownout) is the likely cause for the issue you are seeing. Can you please measure the ripple on VDDIO while you are programming the Flash? You could even trigger your scope for a specific ripple value. It is important to always stay within the datasheet guideline for supply voltages. 

    Per the datasheet, 600mA is the MAX current drawn by the device for a typical application scenario. Many board designers aim for at least a 20 to 30% margin over and above this. So, you need to budget for at least 800 mA for 28379D. I don’t know the details of the other MCU (and other components on your board fed by 3.3v). If it is OK with you, please share your schematics with me privately. I will send you a friendship request.

  • Hainan,

           I don't know what package you are using, but assuming it is sufrace-mount, is it possible to solder another 22 uF cap (or even a 47 uF cap) above the existing cap (in a "double-decker" arrangement)?

  • Hainan,

        I have sent you a friendship request. Please accept it and share the schematics of your power-stage with me privately.

  • Yes, I think the problem is I only have 3.3V (1A) regulator assigned to TI DSP and another Microcontroller. I didn't expect 800mA for TI DSP. I already ordered bigger voltage regulator and capacitors and see if the problem goes away. Will keep you posted.

    Thanks

  • Hainan,

             I have sent you a private message. I will close this post for now. If you have updates to share, you can post it on the same thread.