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.

TMS320C6748: TMS320C6748 boot configuration modes confusion

Part Number: TMS320C6748

I have a DSP board with C6748 on it. The boot configuration pins are all 1s (Boot[7:0] = 11111111) on the board. Two questions:

1) The firmware is stored on a NOR flash which is attached to SPI1 of C6748.
In Appendix A of SPRAAT2F, we have boot mode selection table where we see Boot[7:0] = 00001100 as the SPI1 flsah boot mode.
The DSP loads from NOR flash even though C6748 boot configuration pins Boot[7:0] = 11111111 not 00001100 on our board.
How come this happens.

2) Again on the same board, I can use XDs5120USB Jtag debugger, with boot configuration as Boot[7:0] = 11111111 . Emulation debug boot confiuration mode is given as Boot[7:0]=00011110.
Does boot configuration mode must definitely be equal to Boot[7:0]=00011110 (Emulation Debug) to use the Jtag debugger with the DSP.
It looks like no since I can use Jtag on our board. 

Best regards

Izzet

  • Hello Izzet,

    Are you using the LCDK board? If so, it only supports UART/NAND/MMCSD boot modes as shown here:

    processors.wiki.ti.com/.../C6748_Development_Kit_(LCDK)

    Emulation mode is not supported on the board either, but when in the other modes, as long as you can connect to JTAG you should still have the same debug/development capability with CCS. In other words, emulation mode is not required.
  • Hi

    I am using a custom board. I understand the emulator mode explanation. But, I still do not understand the case given in my first question .

    1) The firmware is stored on a NOR flash which is attached to SPI1 of C6748.
    In Appendix A of SPRAAT2F, we have boot mode selection table where we see Boot[7:0] = 00001100 as the SPI1 flash boot mode.
    The DSP loads from NOR flash even though C6748 boot configuration pins are equal to Boot[7:0] = 11111111 not to 00001100 on
    our board.
    How come this happens?

    If the boot loader does not recognize a valid configuration pin combination, does it scan all possible ports to see if there is a valid
    code .

    Best regards
    Izzet
  • Hello Izzet,

    It should not boot from NOR flash if the boot configuration is not set to NOR flash.

    This could be an issue with your hardware. You can read the boot register to find out more information, or run this debug GEL file which will do it for you.

    This will tell you the current boot mode based on the boot pins latched at reset, along with the following information:

    • ROM ID: Revision number of the boot ROM
    • Silicon revision number
    • Boot Mode: Current boot mode, as selected by the boot pins latched at reset
    • ROM Status Code: Current status of the ROM code
    • Description: Description of any error messages that the ROM may have encountered during boot
    • Program Counter: The current program counter of the connected device (ARM or DSP)
    • Device Information: Generic device information that may be helpful when getting support from TI
    • Clock information: PLLm_SYSCLKn is output
      • Note: If your board uses an input clock other than 24 MHz you need to modify the definition at the start of the gel file accordingly.
    • PSC state information

    Additionally, please review section 4.3 of the C6748 datasheet.

  • Hi 

    I learnt that the settings were fixed on the pcb. So, this is now OK.

    Thanks for your help. 

    Best regards

    Izzet