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.

TMS320F28379D: Program 2 microcontrollers using the same emulator for different functions on the same PCB

Part Number: TMS320F28379D
Other Parts Discussed in Thread: CC1310

Hi there,

I am currently in the process of designing a PCB which has a TMS320F28379D for heavy I/O work and CC1310 for RF communication.

I do this mainly by merging certain parts of both launchpad PCBs that I need for my specific application.

It has become evident to me though, that having two USB emulators for the two microcontrollers will be redundant.

Does anyone know of a possible way to setup their code to travel through one emulator, but go specifically to a desired microcontroller?

Thanks

  • Hi,

    Yes, daisy chaining JTAG connection to TMS320F28379D and CC1310 using one emulator is possible. But you will have to take care of buffering the JTAG signals to take care of trace length impedance/reflections, and make sure they both have same JTAG power and ground. 

    You can connect to two different CPU cores and load the code with one emulator. You will need to add both the cores to the ccxml file using Target configuration.

    Regards,

    Nirav

  • Hi Nirav,

    Thanks so much for this idea. I'll have a look into it but in terms of hardware and code loading steps,here is what I have at the moment:

    I have both Microcontroller's codes open in seperate CCS Workspaces at the same time.
    I probably didn't have to, but I have the target configs in each project directed to each of the boards via their serial numbers.
    When I want to test the codes, I clean, build, debug and run the workspaces.

    How different will this process/ look when using one emulator and one USB connection?

    Also, which emulator would I use? 283's or CC1310's?

    Thanks

  • Hi,

    The process will be the same. Whichever emulator you use has to be supported on both 283 and CC1310.

    Regards,

    Nirav

  • Hi Nirav,

    You've been an absolute legend,

    Now for the last 2 million dollar questions:

    1) Between the CC1310's onboard TM4C1294NCPDTT3R and the TMS320F28379D's onboard FT2232H, which one would be suitable to use to code both CC1310 and TMS320F28379D at the same time?

    2) I currently have 2 x TMS320F28379D boards and 2  x CC1310 boards. How may I wire these boards so that I may simulate the above setup, before going through the process of committing this to custom hardware?

    Many thanks!

  • Hi,

    Here are responses to your questions:

    1. If you daisy chain the emulators, you can only connect 1 target at a time and load the code, you cannot load at the same time.

    2. I am not clear on what you are trying to do, can you send me a block diagram explaining how you wish to connect 2 devices?

    Regards,

    Nirav

  • Heya,

    Thanks for your reply,

    This is what I have at the moment

    After I build my PCB I hope to easily code both micros in one connection to avoid having too many emulators to deal with. It seems a bit redundant to have both, so this is what I envisage:

    My second question asks about how I can breakout these data lines going between emulator and microcontroller, so that I can plug these straight into other micros. I want to do this, so that I may simulate the above unified PCB setup using the hardware I launchpads I have at the moment.

  • Hi,

    This is not daisy chaining, and also I dont think this is possible.

    I am going to copy CCS team if they have any solution.

    Regards,

    Nirav

  • Nirav Ginwala said:
    This is not daisy chaining, and also I dont think this is possible.

    Agreed. Both devices would need to be on the same JTAG scan path to have a single emulator be able to connect to both devices.

    ki

  • Right.

    Has something like this ever been done before?

    Also, when you say JTAG scan path, do you mean that both the devices have to be connected on the same JTAG lines, to communicate with the emulator, in a way similar to SPI?

    THanks guys, really appreciate the help!