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.

Piccolo Programming

Other Parts Discussed in Thread: TMS320F28027, MAX3238

I have two queries - 

1. What are the programming options for Piccolo controllers? The only option I found was the Spectrum Digital programmers. Are there any other options? 

 

2. My customer has made the JTAG configuration to program the Piccolo F28027 device. This JTAG requires a EEPROM. My Customer is using the MProg and D2XX drivers to program the EEPROM. But when the hardware is connected to the PC, it gives error msg that the "USB device not recognised ".

Please tell us the solution to write the EEPROM so that we can use the complete JTAG with our target system

Thanks

Suman G. 

  • See http://www.tiexpressdsp.com/index.php/Xds100 on how to program the eeprom. You need the right vid/pid.

  • Hi...

    Steve thanks for the reply. 

    If you go thorugh the link, you will see that it also mentions that the EEPROM can be programmed by the MPRog utility. That I have already mentioned in my earlier post. 

    My problem is when the hardware is connected to the PC its not detected at the USB - "USB device not detected" --- thats the messsage. 

    Thanks

    Suman G. 

  • Hi Suman,

             I think the best approach for your customer is to use the XDS100 design that the C2000 team is using on our EVM designs. This is a known good design. Please visit www.ti.com/c2000tools and download the "Baseline Software" for any of the USB Experimenter's Kits (the F28027 or F28035 Piccolo ones will work just fine). This will install and directory called F28xx_sysHW on your C drive. In this directory you will find the schematics and gerber files for the USB docking station which has an onboard USB XDS100 JTAG emulator. You can find instructions for programming it here http://community.ti.com/forums/t/6237.aspx

    You can also find a list of C2000 USB JTAG emulators at www.ti.com/c2000tools as well as links for ordering them. I recommend the Blackhawk USB2000 programmer. I can easily be purchased directly through TI using the part number TMDSEMU2000U.

    Hopefully this will help.

    Charlie

  • Hi Charlie, 

    Franlkly, I am very confused. 

    My basic requirement is that I should be able to Program and Debug the Piccolo board that's made by my customer containing the TMS320F28027 device. 

    Point to be mentioned here is that my customer is using the eval version of CCS available with the Piccolo EVM.

    I have checked a few options as mentioned below - 

    1. XDS510LC JTAG Emulator.

    Problem with this tool is that it mentiones that it doesnot work with the Kit versions of CCS. This is a problem and thus probably this will not work for my customer. Link for the same is - (http://www.spectrumdigital.com/product_info.php?cPath=30&products_id=202). 

    Please confirm if this will work with the version of CCS (Version - 3.3.81.28) that comes with the Piccolo ControlStick that is available with my customer. 

    If this works, then this will be the most effective solution. 

    Is there programming button on the CCS to program the controller from CCS using this Tool? 

    2. TMS320-JTAG-USB XDS100 made by Olimex (http://www.olimex.com/dev/tms320-jtag-usb.html) and marketed by Logsun Systems. 

    How to use this I am not at all sure? 

    I am not quite sure whether this will work or not? 

    But this seems to be the most cost effective solution. 

    Can this be used to program the Piccolo directly from CCS? 

    Does this work with the Kit version of CCS? 

    3. C2000Prog Serial Flash Programmer for the TI C2000 family (http://codeskin.com/c2oooProg.html). 

    I assume that a serial tranciever is needed to use this tool. Please confirm. 

    Making the serial tranciever is slightly tricky here becuase the Piccolo device works at 3.3 Volts and the serial port works at 5V. So I assume a normal RS232 device will not work here. 

    I came across the Ez-dsp28335 kit manual. Page # 50 of that manual gives the schematic of the RS232 port using the MAX3238 device. If we implement the same schematic in our design will we be able to program the Piccolo using this scheme? 

    Can I use the C2000Prog serial flash Programmer with this scheme? 

    What are the steps to use the C2000Prog Serial Flash Programmer to program the Piccolo device? 

     

    A detailed reply will definitely help as I am very confused as to how to Emulate and Program the Piccolo. We are all new to Piccolo, so your detailed help will be of great help. 

     

    Thanks

    Suman G. 

  • Suman,

             I apologize for the confusion. Now that understand what your trying to do I think I can be more helpful. You just need a tool to program and debug Piccolo, correct? Is there a JTAG header on the board you are trying to debug? It sounds like the board you're attemting to connect to has already been built, so if there isn't a JTAG header on it then we'll have to take a different approach.

    Assuming there is a JTAG header on the board all you need is a JTAG emulator.

    There are several classes of JTAG emulators for Piccolo, the two main ones are XDS100 and XDS510. The XDS100 is an open source JTAG emulator that is very easy to design onto a board. The XDS510 is a closed source JTAG emulator class that is closed source hardware and software design. The XDS510 is faster than the XDS100, however for small code sizes the difference is negligable

    Of the emulators you listed, the Spectrum Digital emulator is an XDS510 class emulator. I do not know why it wouldn't work with the 32KB limited version included with the Piccolo controlSTICK. The Olimex emulator is an XDS100 class emulator that will work with the Piccolo controLSTICK right out of the box. In fact, the emulation on the controlSTICK is XDS100 class emulation.

    I would recommend the Olimex emulator. If you find it to be too slow, I would recommend that you purchase the Blackhawk C2000 Emulator, as I know it does work with the included CCS. It is available directly from TI at www.ti.com/c2000tools under the part number TMDSEMU2000U.

    Hopefully, this answers your question.

    On a side note, when you next design a Piccolo board I would recommend designing the XDS100 emulator right onto the board. The hardware design for doing this can be copied from the Piccolo Experimenter's Kit. These hardware files can be downloaded for free at www.ti.com/c2000tools.

    Let me know if this clears things up.

    Charlie

  • Hi Charlie, 

    Thanks for the support. 

    The JTAG Header is not built into the board. Maybe on revision, it will be done but as of now it is not there. 

    So serial programming and emulation becomes very important. 

    As for Point #1, you mean to say that the XDS510LC works with virtually all versions of CCS(including Kit versions and Eval Versions)? Because the Spectrum Digital site clearly says that it doesnot. 

    Also please advice on Point # 3. I think thats the best approach for a serial port programming. Please advice on this point. 

     

    Also I have another query regarding CCS project development with Piccolo...

     

    1. Can you send a step by step .ppt to create a errorless new project. Even a small project like toggling a LED will also do. We tried using the help tutorials and the codes from website but we keep facing some or the other problem. 

    2. The default file created after compilation is a .out file. I need to create a .hex file. How do I do that? 

     

    Thanks

     

    Suman G.