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.

C2000 Piccolo Launchpad SCI programming

Other Parts Discussed in Thread: TMS320F28027

Hello,

I'm able to debug and program to flash using the jtag interface in the C2000 Piccolo launchpad. Now I need to program an external mcu (a TMS320F28027, same part number as the one included in the dev-board) through the SCI-A interface, wich is accessible from the board pinout.

1. Is it possible to program an external mcu this way? (I understand that every new part comes with a built-in bootloader, and don't need to be pre-programmed)

2. Can it be donde using CCS or it requires a different IDE?

2. Besides toogling the switches (gpio34, 37 and trst) to select the "SCI boot" option, are there any others things to configure at the IDE (eg. programming options, linker files)?

Thanks in advance!

Martín

  • Hi Martin,

    user3552321 said:
    1. Is it possible to program an external mcu this way? (I understand that every new part comes with a built-in bootloader, and don't need to be pre-programmed)

    Flash Programming Solutions.pdf

    user3552321 said:
    2. Can it be donde using CCS or it requires a different IDE?

    You can use C2PROG for SCI programming

    user3552321 said:
    2. Besides toogling the switches (gpio34, 37 and trst) to select the "SCI boot" option, are there any others things to configure at the IDE (eg. programming options, linker files)?

    Boot pins configuration are very much necessary.

    Regards,

    Gautam

  • Hi, Gautam. Thanks! You reply was very useful, I undestrand the boot process much better now. 

    Now I'm able to program the mcu included in the launchpad through the SCI. However I can't flash en external microcontroller yet.

    That thing that I fail to understand is that, in order to load correctly to flash in the launchpad I have to press the reset button after powering the board up, o else it gets stuck loading the data in ram (the aurobaud locking is succesfull, tough). Does this have anything to do with some configuration register reseting wrongly?

    With the external mcu (connected exaclty the same way as the one in the launchpad) I can't even get the autobaud  to lock right.

    Does the bootloader always use the internal clock? Do I have to pre-program some register to get the bootloader working right?

    Thanks again,

    Martín

  • Hi Martin,

    user3552321 said:
    Does the bootloader always use the internal clock? Do I have to pre-program some register to get the bootloader working right?

    You can refer this link:

    Regards,

    Gautam

  • Hi. I finally found a solution.

    When programming an external mcu I was disconnecting the power jumper (+3,3V) at the launchpad, so that the communication didn't mixed between the 2 mcu's. The problem was that it also disabled the isolation IC's.

    The solution was turning off the SCI switch and making 2 wire connections to "extract" the SCI signals (Tx & Rx)  from the FTDI chip. Now I power the hole board (and let the mcu in the launchpad to whatever it does) while programming in another board.

    Thanks for your help!

    Martín

  • Excellent Martin!

    Goodluck & Regards,
    Gautam