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.

TMS320F28069M: Problem with connecting the emulator to the custom board

Part Number: TMS320F28069M
Other Parts Discussed in Thread: TMS320F28069

Hi,

We have designed a custom board based on TMS320F28069M MCU but we can't connect the emulator to program the board via JTAG. We have followed the design suggested by the datasheet as below:

But when we use UniFlash or CCS, we get this error:

We're using an external power supply to power up the board while the emulator is powered through the USB cable connected to the host machine. So I guess the problem is we don't have the common ground between the board and the emulator so the emulator doesn't see the ground on the TDIS pin so it assumes the target is not connected. Is my assumption correct? and if so, do you have any suggestion? 

Thanks,

  • Hi Kash,

    It is not clear what your hardware looks like between the emulator and your C2000 chip.

    Are you using an external emulator?  Or have you designed an on-board emulator onto your custom board?
    What emulator/debug probe are you using?
    Are you utilizing galvanic isolation in the JTAG path?


    Thank you,
    Brett

  • Brett,

    I don't have any external hardware between the TMS320F28069 and the 14 pins JTAG header.

    We're using an external XDS100V2:

    We're not using any sot of isolation between the emulator and the MCU.

  • Hi Kash,

    I have not seen this particular emulator before - however I can assume it has the same hardware as the open-source xds100v2 design TI released.

    If you have a kit that allows the usage of an external emulator, it might be good to see if you can get this emulator to work with it. That would allow you to make sure that your computer & the emulator are able to work together.

    If you've implemented JTAG as in the datasheet, I don't suspect you'll have any issues.  The emulator and board should be at the same ground voltage potential because there is a ground pin on the JTAG connector.

    Have you checked the voltage rails of the C2000 chip to make sure it's being powered correctly?  What does XRSn look like?


    Thank you,
    Brett

  • Hi Brett,

    Yes, this is not the typical emulator we have here in the U.S. but I guess it has the same hardware similar to the TI open-source XDS100V2 hardware. I can ask them to open it up and verify it.

    I have asked them to verify the voltage on MCU voltage rail to make sure it's being powered while the emulator is connected. will update you later.

    For the reset pin, here is what we have in F28069 datasheet:

    and here is what we made:

  • Just for your update, the problem was the emulator. It seems not to be working fine and we returned it. I used the USB-to-JTAG on-board emulator on my LaunchPad to program the MCU on my custom board.
    Thanks for your help,