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.

Hardware Design options for SPI mode of configuration? C6657

My team and I are currently designing with the C6657 and want to use the SPI bootmode.  We plan on having a FPGA drive the BOOTMODE pins at power on such that the DSP's boot ROM can interface with a SPI flash memory (micron part) to load the software into internal RAM.

My question is, what options do we have for writing our software binary into the SPI flash memory?

I've seen that one option is by using the MCSDK to load in an software application that reads data from the JTAG interface and writes it into SPI flash memory.

Is this true? if so, besides the MCSDK, what programming hardware do I need and is there what JTAG connector is required for the board design?

What other options are there?

Thanks.

Thomas

  • Thomas,

    You can use software like the example SPI FLASH Write program provided as part of the MCSDK.  You can run this under CCS to initialize your boards.  This can be done manually from the GUI or using the DSS scripting system.  Alternately, in production, you can program them with a programmer prior to soldering to the board.  You can also pay your the distributor to program them for the produciton flow.

    All board designs must have a JTAG connector for emulation.  Even if you do not intend to perform any development or testing using emulation, it is vastly useful during early board bring-up and debug.  You might decide not to populate the connector later but do not delete the JTAG connector footprint.

    Since you are driving the BOOTMODE from an FPGA, make sure the logic monitors the RESETSTATz output pin and presents the BOOTMODE whenever RESETSTATz goes low.

    Tom

     

  • Hi Tom,

    If I have two requirements:

    1.) Use CCS to write software application into non-volatile SPI NOR Flash.

    2.) Use XDS200 Emulator to debug software running on C6657.

    To satisfy both of these, can I simply install a TI14 or 60 pin connector on my custom board and wire the JTAG and EMU signals to the C6657 associated pins?  (TMS, TDI, TDO..etc, EMU0, EMU1...etc)?

    Spectrum Digital sells the XDS200 programmer with a CTI20 connector that mates to several types of headers.  (CTI20, TI14, ARM20, ARM10)

    Which connector do I need to mate with the emulator?

    I'm under the assumption that the emulator (XDS200) handles both debugging (via emu pins) and writing the software binary to SPI memory (JTAG pins).  Is this a correct statement?

    Thank you,

    Thomas

  • Thomas,

    We support many different classes of emulators that have different levels of performance and functionality.  Similarly, the different connectors allow for more connections that support more functionality.

    Both of your requirements can be satisfied with basic emulation support.  Basic emulation needs the 5 JTAG signals and the EMU[1:0].  All of the connectors listed support basic JTAG emulation.

    Please see the document SPRU655 and related wiki pages on this topic:

    http://www.ti.com/lit/pdf/SPRU655

    http://processors.wiki.ti.com/index.php/XDS_Target_Connection_Guide

    Tom

     

     

  • If I end up with the XDS560v2 (say from blackhawk) and it uses a MIPI 60-pin connector, is it best to use a mating MIPI 60 pin on my target board?

     

    The reason I ask is because on the development board we purchased, there is a 60 pin TI connector, which I believe would require an adapter if I were to connect the blackhawk MIPI with it.

     

    Also, on the 60 pin connector (MIPI), there are EMU pins that are greater than what I have on the C6657 (for example, there is EMU19...20..etc), how do I connect those pins?  Do I leave them as no-connects on my board?

     

    Thanks again.

  • Thomas,

    If your emulators will all have MIPI-60 connectors, then placing the mating MIPI-60 header on your board is the best choice.  The MIPI-60 supports the latest emulators and functionality.

    You only connect up the EMU pins that are needed.  Higher numbered EMU pins on the MIPI-60 connector can be left as no-connect.

    Tom