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.

TMS320F2812: SCI Boot Mode and USB adapter

Expert 1010 points
Part Number: TMS320F2812
Other Parts Discussed in Thread: UNIFLASH, C2000WARE

Hi, we are using a custom board with a TMS320F2812 chip. The firmware flashed is working for years without any problem and the flashing procedure in production is the same for years and working well.

We are using SDFlash utility 1.63.00. It is an old tool but it is working well with Null Modem Cable connected between SCI pins and a PC.

The issue is that we want to upgrade a firmware on the field with laptops. Since serial connector are really rare on laptop nowadays, we want to use a USB to serial adapter.

I tried with 1.63.00 SDFlash but it is not working with USB to serial adapter although with Null Modem cable only it is working as explained before.

I tried C2Prog from Codeskin, looked at uniflash without success.

I downloaded C2000Ware and it seems that it is the tool that should be used.

If yes, what is the easiest way to perform the same as SDFlash but with USB adapter?

If not, what can be used and how?

People performing the update are not SW engineers and it needs to be user friendly as it was with SDFlash utility.

  • Hi, we are using a custom board with a www.ti.com/.../TMS320F2812 chip.

    Does your board have a JTAG connector?

    We are using SDFlash utility 1.63.00. It is an old tool but it is working well with Null Modem Cable connected between SCI pins and a PC.

    So your PC has a RS-232 port? I presume your board has a RS232 transceiver as well.

    The issue is that we want to upgrade a firmware on the field with laptops. Since serial connector are really rare on laptop nowadays, we want to use a USB to serial adapter.

    Assuming your board has a JTAG connector, one option would be to use Uniflash with XDS100 debug probe.

    I tried C2Prog from Codeskin, looked at www.ti.com/.../UNIFLASH without success.

    Can you elaborate? Exactly what didn’t work? What port did C2Prog use on the PC?

    I downloaded www.ti.com/.../C2000WARE and it seems that it is the tool that should be used.

    No, there is no support for F2812 in C2000ware. You will be directed to https://www.ti.com/tool/SPRC191

  • I would like to bring your attention to the below in https://www.codeskin.com/c2prog-faq

     

     

  • Hareesh Janakiraman said:

    Does your board have a JTAG connector?

    So your PC has a RS-232 port? I presume your board has a RS232 transceiver as well.

    Assuming your board has a JTAG connector, one option would be to use Uniflash with XDS100 debug probe.

    Yes the board has a JTAG connector and also a RS232 transceiver. RS232 port is only on limited laptop on our development department.

    This solution is working internally with SDFlash. The issue is that we have people around the world that need to install it and these people have little to knowledge about flashing tools and their laptops have no serial link and we cannot deliver XDS100 debug probe for each of them. Also our service engineers do not have laptops with serial link.

    Hareesh Janakiraman said:
    Can you elaborate? Exactly what didn’t work? What port did C2Prog use on the PC?

    By C2Prog, bootloading is OK but connection failed afterwards. But I think I found at least one problem. Our board has a 37.5Mhz frequency and should use 38400 bauds. Since C2Prog does not have these settings it makes everything complicated.

  • OK, looks like JTAG option is ruled out and serial port is the only option. You may want to reach out to Codeskin and explore if they would customize the serial loader for your clock frequency.

  • Thanks Hareesh,

    I tried yesterday something that I thought I already tried. Since SDFlash only looks at COM until COM4 and my USB adapter was recognized on COM8 on the laptop, I forced COM4 for USB adapter and tried again to flash.

    This time it worked. Thanks for your help.