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.

How to flash C2000 F28027 without Launchpad

Other Parts Discussed in Thread: TMS320F28027

I am trying to figure out if I can have manufacturer make a PCB board with a C2000 on it so that after fabrication, I could flash the chip with my program.  I called TI and they said that the norm is to give the manufacturer your program and have them do it, but I haven't even found any manufacturers that do that.  Are there not some wires you can run from the Launchpad to the board to be able to flash it?

The only other lead I have was a link I found buried in some TI documentation that lead me to this: http://www.signum.com/Signum.htm?p=c2000.htm  It requires a price quote and they haven't even responded to me, and it looks expensive.  If anyone out there knows anything about flashing and JTAG please let me know - thanks!

  • Hi Edward,

    You can purchase a XDS100v2 emulator which is very economic. On your board you can bring out the JTAG connections to a connector, something like this:

    Then you can use the XDS100 emulator to program every board.

    Regards,

    Gautam

  • Ah ha, I knew there was a way!  Two questions about that

    1) Could you point me to some documentation that talks about which pins are needed for JTAG and/or let me know which?

    2) Since there is XDS100 on the Launchpad, is there a way to breakout from there into the connector or is it necessary to get the emulator?

    Thanks,

    Edward

  • Edward Lynch said:
    1) Could you point me to some documentation that talks about which pins are needed for JTAG and/or let me know which?

    You can find all the details about XDS100 & Jtag over here: http://processors.wiki.ti.com/index.php/XDS100

    Edward Lynch said:
    2) Since there is XDS100 on the Launchpad, is there a way to breakout from there into the connector or is it necessary to get the emulator?

    Yes, you can trap the JTAG pins from launchpad but is not suggested. This involves in cutting of tracks and removing of on-board components. XDS100 is pretty much economical, you should go for it!

    Regards,

    Gautam

  • Sounds like a good solution.  From C2000 documentation, it looks like it uses a 5 pin connection.  On the link you sent I saw that there are emulators with a lot more pins, but it seems that the 14 pin version is the recommended one and that DigiKey part MHB14K-ND is our connector.  Given all the extra pins, I'm assuming that I can leave those unconnected?  And also that the emulator's connector will physically fit into that Digikey part even though its shrouded?  The orientation I guess is arbitrary, and I can simply flip the emulator's connector upside down if I get it wrong?

  • Edward Lynch said:
    On the link you sent I saw that there are emulators with a lot more pins, but it seems that the 14 pin version is the recommended one and that DigiKey part MHB14K-ND is our connector.  Given all the extra pins, I'm assuming that I can leave those unconnected?  And also that the emulator's connector will physically fit into that Digikey part even though its shrouded?  The orientation I guess is arbitrary, and I can simply flip the emulator's connector upside down if I get it wrong?

    Yes, 14pin is more than sufficient. You can follow launchpad's schematics about tapping the JTAG signals. I usually configure it as:

    Orientation should be according to XDS emulators. If you're bringing in wires from launchpad then that shouldn't be an issue.

    Regards,

    Gautam

  • In flashing this implemented design, I receive the error:

    C28xx: GEL Output: Device Calibration not complete, check if device is unlocked and recalibrate.

    By reading other forum posts, I have learned that new devices have a password of all FFFF.  I have also used the "Test Connection" button and the JTAG IR and DR Integrity tests have passed.  The chip on our board is new - do you think this indicates an issue with the board or is there some step I missed in flashing it?  To flash it I created a new target configuration for TMS320F28027, launched the configuration and performed "connect target" after right clicking the emulator in the debug window.

  • Edward Lynch said:

    In flashing this implemented design, I receive the error:

    C28xx: GEL Output: Device Calibration not complete, check if device is unlocked and recalibrate.

    I hope you're powering up your custom board externally while flashing. If JTAG integrity tests pass... then our eyes should be at board for sure.

    Regards,

    Gautam