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.

TPS65835 cannot be re-program.

Other Parts Discussed in Thread: MSP430G2553, TPS65835

We use the IAR system and chose the MSP430G2553 seclection. When Program the TPS65835 the first time, it is OK and works normally. But when re-program, it is failed.

After analyzing, we found that PIN27(VLDO) will drop to 0V, so this chip cannot be re-program. 

Remove the battery, and add a 3V power to VLDO, it can be re-program. But we cannot simulate on line.

So how to resolve this problem?

  • It looks like your applicaiton code changes some power-on defaults to a state where VLDO is disabled and the itnernal MSP shuts itself off from power supply, so it cannot react to programming requests anymore.

    henry-liu said:
    So how to resolve this problem?

    I'd say: fix your firmware so it won't disable the power supply of the MSP, or add a "don't power-off" switch or so to an I/O port so you can put the MSP into 'programming mode' after a reset, so the programmer has a chance to attach and start the update before the MSP will shut itself off.
    Or add a sufficient delay after power-up before going to sleep, again to give the programming tool enough time.

  • Henry,

    We will look into your issue in the lab and give a followup with some guidance. I think your issue is more related to the power functions of the TPS65835 and not related to the MSP430. You can force the LDO to 3.0V externally only when programming if you need to, this should keep the LDO on and supplying the MSP430 VCC. Do you have IAR setup to provide the target voltage when programming? Are you using the TI EVM board?

    We have support files for TPS65835 that can be added to CCS 4.x with CCS 5 support in the works so you will be able to select 'TPS65835' in the tool and the proper support files are used when programming.

    Because of the nature of the device, we didn't have plans for official TPS65835 IAR support but if this is something that is a must have for you I can look into again and get back to you. The preferred option is to use CCS (Code Composer, the 16kb free version will work fine with this device) and the TPS65835 programming environment support files that can be provided to you over e-mail.

    Regards,

    Christopher Johnson

    TI, PMU Systems Engineering

  • Hi Henry,

    Can you update us if you were able to figure out what caused this issue for you? You can use VIN to power the device to force everything to stay powered on as well while developing your MSP430 code.

    Regards, Chris

  • Hi! Christopher,

    "We have support files for TPS65835 that can be added to CCS 4.x with CCS 5 support in the works so you will be able to select 'TPS65835' in the tool and the proper support files are used when programming."

    where can i download above your supported files for TPS65835 ?

    I bought the TPS65835-EVM board but i can't do anything except confirmation G2553 function. could you send me the default code which is fused on selling ?

    Regards,

    KW

  • Hi KW,

    With the move to CCS 5.x, the structure of files and what I needed to provide to the customer has changed. I need to finalize the support package for CCS 5.x and it will be provided to you when available. What version of CCS are you using?

    CCS 5.x adds support for a new CDC driver for the JTAG programmer (FET430UIF); see this. It is recommended that you upgrade to the latest version and use the support files once they are provided.

    I have attached some files / code examples you can add to a project to get started with developing with the TPS65835. Unzip the file and add these to your project. It has some basic functions built in to demo the operation and explanation of how to toggle features of the TPS65835.

    Regards,

    Christopher Johnson

    TI, PMU Systems Engineering

    4061.Archive.zip

**Attention** This is a public forum