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.

TMS320F28376S: Example project "Blinky_cpu01" not booting from Flash

Part Number: TMS320F28376S
Other Parts Discussed in Thread: LAUNCHXL-F28379D

Tool/software:

The example project 'Blinky_cpu01" runs from internal RAM and FLASH via Code Composer /JTAG debugger, but does not appear to be booting on its own after having been programmed to FLASH. 

The only change that I made is the GPIO pin selection that the LED is on.

Any suggestions would be much appreciated.

Thanks,

Paul H

  • Hi Paul,

    Can you double check that the boot mode settings of your device are set up for boot to FLASH? What are the states of the boot mode select pins? Are you using a launchpad or control card for this?

    Best Regards,

    Allison

  • Hi Allison,

    My target is the first rev of our own board.  Looking at the LAUNCHXL-F28379D schematic I see that there are pull-ups on GPIO84 and GPIO72. Are these required?  We don't have them on our board.

    Thanks

    Paul

  • Hi Paul,

    In general, we do recommend placing an external pull resistor for boot pins, chip select signals, enable signals, and other signals whose state may matter during power up. There are internal pull ups enabled in software, but this may not be sufficient if operating in a noisy environment. Could be good to sanity check and ensure those boot pins are set to the desired state.

    If you are able to program FLASH in CCS and verify it is running, then you should be able to power on the device without debugger and see the same as long as the device is booting to FLASH properly.

    Also wanted to at least mention you can try emulation boot to FLASH in CCS as well. There is a TRM section on this. 

    Best Regards,

    Allison

  • Programming FLASH and running via CCS does work. Boot from FLASH not working.

    Please point me to the section in the TRM that describes how to try boot from Flash via CCS.

    Thanks,

  • Hi Allison,

    Adding pullups to GPIO 72 and 84 (the bootmode selects) corrected our problem. 

    Note that for the 377, the reference manual SPRS881J, in section 6.3 Pins With Internal Pullup and Pulldown ,says that the GPIO pullups are only enabled by software ("Pullup enable is application-defined").  

    This indicates that they are a must have in order to boot correctly.

    Thanks for your help.

  • Hi Paul,

    Glad to hear this resolved your issue! Thanks for your follow up comment as well. Good to verify the pullup necessity.

    Best Regards,

    Allison