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.

CCS/SM320F28335-EP: Connecting trouble for debag

Part Number: SM320F28335-EP
Other Parts Discussed in Thread: TMS320F28335

Tool/software: Code Composer Studio

Hi , I want to know the possible cause for the following circumstance.

I try connecting to F28335 MCU on my custom board for debag.

But, I can not connect with CCS and XDS200.

During connecting to the target devise, CCS outputs error code. The error code is "Error -1015" 

With same CCS setting and XDS200, I can connect to F28335 MCU on TMS320F28335 controlCARD.

Therefore, I compared each JTAG signals, EMU0,EMU1,TMS,TRST,TDO,TDI,TCK during error code appearing.

As a result, TDO was different form case of TMS320F28335 controlCARD.

In case of custom board, default is low, sometime high during connecting sequence.

In case of TMS320F28335 controlCARD, default is high and pulsed for connection during connecting sequence.

The connection is good between XDS200 and the target device.

And, the circuit between JTAG connector and the target device may be good. (EMU0, EMU1 is pulled up with 4.7kohm. And, TRST is pulled down with 2.2kohm.)

Is this trouble cause the TDO signal's abnormal?

  • Hi,

    If you have multiple of your custom boards assembled, are you able to connect to any of these boards?

    TDO is a signal that goes from the MCU to the JTAG.  Because of this, I would verify the health of the C2000 chip.



    If the C2000 is being powered and things are well:

    1. XCLKOUT pin should be toggling. 
    2. XRSn should be high or toggling

    If either of these are not occurring, I would recommend looking at the power supplies of your custom board to see if they are correct & stable.  Another thing to look at is XRSn - to see if it has a pullup and confirming that any supervisor chips are open-collector type.


    Thank you,
    Brett

  • Hi,
    Hopefully my previous response has helped.  Please follow-up if you have further questions.

    Thank you,
    Brett

  • Hi Brett,

    Thank you for your reply and advises.

    I'm sorry for the late reply.

    I checked for your advises.

    The results are the following.

    (1) I have one custom boards assembled only.  So, I can not know that we can connect the target on other . 

    (2) XCLKOUT and XRSn is toggling. XRSn toggling may be watchdog reset.

    (3) Power supply is correct and stable, no voltage drop.

    (4) I changed the supervisor circuit for XRSn to open-collector type circuit. But, the connecting trouble was not dissolved.

    So, in response to the above results, we think that the target on our custom boards is changed to another one.

  • Hi,

    It looks like the device appears that it is alive & powered correctly.  So I would focus on examining the JTAG & the layout/schematics of your custom board.

    This is about the time where I'd recommend seeing if a second board can be assembled and tried out, just so that you can rule out an assembly issue.


    Thank you,
    Brett