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.

Running ISO card with HVKit - and optimizing our hardware for compatibility with HVkit.

Other Parts Discussed in Thread: MOTORWARE

I refer to Fig 4 on Page 12 of the qsg_hw_hvmtr_r1p1.pdf included in Motorware 1_01_00_09 and I quote:

"Due to a contention problem with the UART connection on the board, the UART-to-Serial adapter on “–ISO” controlCARDs MUST ALWAYS be disconnected."

What does this mean and is it still true? It seems to imply that we cannot use the isolated interface on the control card with the HVkit - but other documents say we cam and should. Indeed I am doing so with the "yellow" hv board.

The same document also states on page 13:

"If you run a project from the MCU Flash you will need to remove this jumper to sever the JTAG connection and boot to flash properly"

What does this mean for our own hardware designs? If we want our own hardware to run with minimal modification from the HVkit sample code - which emulator interfaces should we support - and how do we support both running from ram and flash? I think Chris recommended using an isolated JTAG emulator from TI - and leaving isolation off our own hardware. Can you point me to an example or a specification for the JTAG header we need to implement in our own hardware that will  plug directly to your isolated emulator?

My intention is to develop and test our software (as far as possible) using the HV kit prior to finalizing our hardware. Is this a realistic approach? Can CCS readily switch between the USB interface on the iso control card -and a jtag header via a JTAG isolated emulator? Can this configuration support both ram and flash operation and booting?

Thanks.

Richard.



  • Hi Richard,

    I've asked our C2000 Motor Control guys to take a look at this question as they developed this kit and the control cards.

  • Richard,

    The contention issue:

    When using TMDSCNCD28069MISO

    - Use the USB-JTAG connection on the controlCARD, and disable the M3 macro with the jumper

    - IF you need to use the USB-UART connection through the FTDI chip you MUST use the USB/FTDI that is on the HVMTR EVM and NOT the controlCARD.

     

    If I were you I would put a JTAG header on your hardware similar to J2 of the HVKIT. And then use an external ISOLATED emulator (you can purchase from the eStore or a distributor), something like XDS100v2, XDS200, or XDS510 based.

    Yes, your approach is valid for testing, but you will want to scale your own hardware to the ideal settings possible, meaning choosing the best resolution for your voltage and current signals vs. what is on the HVKIT.

    Yes, CCS connects to any emulator based on the target configuration file (emulator + MCU version), very simple to go from the controlCARD to an external emulator with a different MCU.  Yes, RAM and Flash both.  You will need to make sure that your HW designs supports the capability to pull the appropriate GPIO to their boot mode if you want to be able to boot to RAM or Flash.

     

  • Thanks Chris...

    This is pretty confusing as we come up to speed... so please bare with me if you can...

    So if i understand correctly - the contention issue only applies to the serial interface - and not the jtag over USB interface. As far as I can see this wont affect me. I don't intend to use a serial interface for anything. I will however need to implement a CAN interface. I plan to follow the CAN interface on the HVkit.

    If I understand correctly - you suggest using the 14 pin JTAG header as implemented on the HVkit - but connecting directly to the MCU pins. I checked the TI XDS100v2, XDS200 emulators in the eStore - and they didn't explicitly mention isolation. I checked the XDS100V2 schematic - and that didn't appear to be isolated. Am I correct to infer that the standard XDS100V2 emulator is NOT isolated? Where can I get an ISOLATED XDS100V2 from? Can you give me a part number?"

    Last point on Boot Config.

    It looks like I need to use resistive pull down on /TRST, and resistive pullups on GPIO37/TDO and GPIO34 to select boot from flash when the emulator is not connected. Does that sound about right? Are there any other boot mode considerations I need to consider?

    Thanks Chris. I appreciate the help in getting up to speed on piccolo...



  • Richard,

    The HVKit should have been built with a jumper to turn off the serial connection to the DIMM interface.  It was not, so you can't use the serial connection on the ISO versions of the controlCARDs.

    I assume you are building your own board with a Piccolo device soldered down, and the CAN and JTAG brought out to standard headers so this won't effect you.

    Correct, standard emulators are not isolated. I haven't personally used this one yet, but I believe this is the lowest cost isolated emulator and should work well.  Spectrum has very good products.

    http://www.spectrumdigital.com/product_info.php?products_id=262&osCsid=da6077255fbb2356d1f1c7643caa286f

    I've also seen someone take an ISO controlCARD and just wire the hot side JTAG signals out...low cost isolation for the cheap skate tinkerer :)

    I believe you have it correct. I would follow the boot configuration on the switches for the controlCARD that matches the Piccolo device you are using. One thing I would do though is make "no jumper" boot to flash. This way when you are developing you can use a jumper, but don't need the jumper on your final product.

  • Thanks Chris. That all sounds good. Just two points of clarification:

    1) What is the serial interface used for or intended for? Do any of the TI tools use it - or is it purely available for customer applications?

    2) That isolated emulator looks reasonable - but I need at least two. For a pure TI solution - can I use the TI TMDSADP1414-ISO in combination with TMDSEMU100V2U-14T

    The description of the TMDSADP1414ISO only mentions the XDS510 and XDS560 but there is no obvious reason why it should work with the XDS100v2 is there? Can you confirm it will also work with XDS100 emulators? Does the TI isolator provide a reasonable isolation voltage?

    Richard.



  • 1. Our original GUI tools only used serial, now the GUI Composer tools only use JTAG.  Also, a UART connection is the most common / basic connnection to send data to an embedded controller.

    2. The adapter you link isn't "pure TI", it is from Blackhawk. But yes, it absolutely would work with any of the 14-pin header based emulators.