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.

TMS320F28027: Launchpad

Part Number: TMS320F28027
Other Parts Discussed in Thread: ENERGIA

Hi Recently i could compile and upload code from Energia IDE to c2000 f28027 board, but when i load a simple code (Blink) to the board when i press Reset Button the blink stops;

i already compiled code with Code Composer to the board and tested it with reset without problems, is there a way to change toolchain or sentings in Energia to upload the code to flash and keep it after reset?

Thanks anyway and

srry for my english but is not my main language

  • Luis,

    I think the example software from Energia is loading to flash already. Make sure that you have the boot mode switches configured correctly.

    energia.nu/.../

    -Tommy
  • Hi thanks for the reply, is the mode that i need to select the switch config to GET MODE (TRST disabled and bot gpios enabled)?
    I mean for a succesfull programming to the board the configuration must be in MODE EMU (TRST Switch Enabled) if so i will check it and i reply for the result as fast as i como to home.

    Thanks tlee
  • Luis,

    The link that I posted has instructions for how to setup the board for Energia flash programming:

    S1: Boot Mode Switches

    The Boot Mode Switches are 3 switches which are used to control the mode of the launchpad. When uploading programs with Energia, the boot mode switches should be in SCI/UART mode ( UP DOWN DOWN).  This allows the launchpad to communicate with the computer serially.

    The table below shows the different boot modes and their configuration.

    1 = switched up      0 = switched down

    S1 GPIO34 GPIO37 TRSTn
    Switch 1 2 3  Function
    Mode EMU x x 1 Emulation Boot
    Mode 0 0 0 0 Parallel I/O
    Mode 1 1 0 0 SCI/UART
    Mode 2 0 1 0 Wait
    Mode 3 1 1 0 GetMode

    -Tommy

  • Yes it works the only thing that was strange is that at first time the board didnt get the configuration, then i changed to Mode 3 get mode and then got working, thanks for the help Tommy