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.

Low cost download cable

Other Parts Discussed in Thread: MAX3232, TMS320F2808, CCSTUDIO, TMDSDOCK28335

Hello,I saw the following lost cost download cable from TI

http://focus.ti.com/dsp/docs/thirdparty/catalog/devtoolsproductfolder.tsp?actionPerformed=productFolder&productId=2797#features

Is this cable similar to the microcontroller ISP download cable?

I only need a download cable which can help me to download the program to the dsp, that is enough, emulator is too expensive.

Has anyone got the shematic for such kind of low cost download cable?

Thanks!

email:yingfenglam@126.com

 

  • Hi,

    yes, it's similar and you have the opportunity to debug your app.

    If you only need to program the devices are supported by C2000prog ( http://www.code-skin.com/c2oooProg.html ) you just need a very simple programmer composed by a serial cable and one MAX3232.

    The advantage in this way is that you don't need JTAG connector so you can save space on your PCB, just using a two wires connection with your board. If you have a serial interface (like 3232) on your board, you just need a serial cable.

    Regards,

     

    Raffaele

  • Hello,thanks for your help!

    I am a sutdnet, on my development kit there is already a JTAG connector,but I dont want to buy a JTAG emulator, then how can I download the program into the F2812?

    can I just make a low cost download cable with JTAG interface and download the program into the chip?

    if you know how to do it, please also send me the reference shcematic design, it would be very helpful for me.

    Thanks!

    yingfenglam@126.com

     

  • Hi,

    I think you cannot make it since you should have to develop the driver too..

    You can buy the Olimex cable or you can make your serial programmer, that's very simple and the C2000prog software supports F2812. In my company, I use this and it's not so bad while waiting the budget for an emulator.

     

    Raffa

  • If you have an RS232 port you can use the SDFlash program from Spectrum Digital to flash the DSP.

     

    Read about the SCI A bootmode in the datasheet.

  • Hi, can you tell me how can I get hex file from CCS(I have a project and own board) which can be use in C2000prog to put code in flash via RS232. Can I use SDFlash to do it.

    Thanks,

    Fill

  • SDFlash utility accepts the COFF (.out) file produced by CCS on compiling your project. Please review the SDFlash Programming reference guide from the link below;

    http://emulators.spectrumdigital.com/utilities/sdflash/

    It gives step-by-step instructions to run SDFlash utility.

    Thanks,

    Pradeep Shinde

     

  • Hi Fill,

    you can use hex2000 that is described in the Assembly language tool reference.

    By the way, an example should be    "hex2000  -i  yourprog.out  -romwidth 16"  that returns you   yourprog.i00 that is an hex file.

    You can rename it or leave it unchanged in order to load into C2000prog. Obviously you have to boot your device from serial port...

    Regards,

     

    Raffaele

  • Hi,

    Did anyone have a next problem using C200Prog?

    Pinging target baud locked

    Kernel loading please wait ...

    Target not response

    Regards Fill

     

  • I meet this problem too!  Which GPIO pin should be map to SCI-A when using SCI-A as bootting port? Thanks

  • The 2833x/2823x boot ROM SCI loader accesses SCIRXDA on GPIO28 and SCITXDA on GPIO29.

    Ref: TMS320x2833x, 2823x Boot ROM Reference Guide (SPRU693).

     

    Cheers

    Lori

  • Hi there,

    I use SDFlash utility to program TMS320F2808/2806 via RS232, with mixed results.

    I have a DOCK kit 2808. I loaded program to the DSP (SCI-A port) using SDFlash via RS232; and managed to program the Flash. The RS232 connection to the PC only makes use of Tx, Rx and Gnd lines. This proves that the SDFlash is working fine on my PC.

    I then proceeded to program the DSP on my protoype (the same way), which has an F2806 device. However, SDFlash fail to connect to the device.

    These are the details:

    - SDFlash ver 1.62.03 from Spectrum Digital, with the latest RS232 patch V3.3.

    - F28x Flash API V3.02.

    - Application code (.out file) is generated from CCStudio V3.3.

    - Setting of SDFlash project as per in the reference guide.

    I follow the bootloader mode config as per the reference guide. The pull-up resistors on the pins are 10K. Do I need a pull-down resistor to the 'boot-en' pin as well?

    I reduced the baud rate to as low as 1200kps but still didnt work.  I think i dont need to use other pins of the DB-9 connector, right?

    Please advise, many thanks!!

     

    Best regards,

    King Wai

  • You may also be interested in the recently announced $79 XDS100 emulator. Please check out the posting at http://e2e.ti.com/forums/t/10258.aspx .

  • All,

           Randy has the best solution. Using a JTAG emulator you will be able to set breakpoints in your code, easily download new code, and run in "real time mode" where variables can be watched in real time. The $79 emulator will be much faster than the serial interface and you will find it much more useful.

          On a different note, why are you using the F2812? I would recommend looking at the F28235, as it is also fixed point but has a much better ADC, lower cost, and better performance all around. There is also a low cost development kit for the F28235 based on its floating point cousin the F28335 which includes built in JTAG emulation. the TMDSDOCK28335 is only $89 and comes with emulation on the board. You can use the F28335 as an F28235 by just not using the floating point unit.

    Charlie

  • Hi King Wai -

    Regarding hardware, when we tested SDFlash Serial internally  - we always had a full RS232 transceiver connected between the SCI module and DB-9 connector - this is back in the days using an eZdsp or our internal validation boards. (I can't speak to the DOCK kit).

    You may want to check to make sure that serial communication via your setup works first on your prototype (i.e. in the 280x header files and peripheral examples, run the sci_echoback example with Hyperterminal in Windows). This is an easy check to see that communications works via RS232 to the PC.

    If that works fine, then it's just a matter of checking that you are correctly booting via SCI when your boot pins are setup...  

  • Please,Please update all data 2833z/2823x data sheets that show the boot mode table to reflect the pin connections for SCI-A boot mode.  I have a custom board design that I must now patch because this info is not prominently presented.  This is particularly troubling as you are providing 2 pin sets for SCI-A use, but only using one for boot mode use.  Murphy reigns! I picked the wrong set!!!

    On a side note, I have downloaded the boot rom source code.  Can I alter it to use the other pin set?  How to program it onto the chip without a jtag connection?

     

  • GWass said:
    Please,Please update all data 2833z/2823x data sheets that show the boot mode table to reflect the pin connections for SCI-A boot mode.  I have a custom board design that I must now patch because this info is not prominently presented.  This is particularly troubling as you are providing 2 pin sets for SCI-A use, but only using one for boot mode use.  Murphy reigns! I picked the wrong set!!!

    Oh no :(

    I have taken your feedback and given it to the owner of the data manual.  A note will be put after the boot information regarding which pins are used.  I'm very sorry this has caused you to have to rework the board. 

    Unfortunately I don't see an easy way to get around this if you don't have a way to program something into the device via JTAG or SCI.

    Regards

    -Lori