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.

C6748 Secure DSP I2C0 configuration requirement

Other Parts Discussed in Thread: OMAP-L138

Hi,

Is there any configuration required for Secure DSP when I2C0 is used in our secondary bootloader?

The code is tested with non-secure DSP and working fine. But it does not boot up with the secure DSP. I am wondering if something can be done for I2C0 interface?

Thanks,

-Hailin

  • Hi Hailin,

    Is that first time are you working with TI secure C6748 processor ?

    Are you able to run any program on secure C6748 ?
    Secure C6748 processor has some different procedure to load and flash the program into it.
    JTAG un-lock and binding etc.,
  • No. This is not the first time. I am able to load and flash the code. One code has the I2C0 interface. It is working on the non-secure part but not the secure one.

  • Okay, if it is not a first time for secure processor, then have you booted any sample test code on secure processor any time ?
    If it is a secure processor, we have to do binding process after flashing the code for secure boot.
    Have you done that ?

    The secure processor wont boot directly if you simply flashed like non-secure processor.
    Please refer to the following TI wiki.

    http://processors.wiki.ti.com/index.php/Basic_Secure_Boot_for_OMAP-L138_C6748
  • Binding is done. In the INI file, I have the pinmux for I2C0 added. What else should be done to enable the I2C0 interface? We are using the SPI as the booting interface. When I read through the document, because both SPI and I2C can be used as booting interface, is there any potential conflict when both SPI and I2C are enabled?

    Thanks,
    -Hailin
  • Hi Hailin,

    No, it wont conflict with I2C0 unless you didn't use SPI1_CS[6] and SPI1_CS[7] because these 2 pins are muxed with I2C0 pins (SCL&SDA)

    If you are trying to boot from I2C0, then have you enabled IOPU for I2C0 in INI file like below?

    [IOPUCONFIG]
    IOPUSELECT = 0x000100FF
    MPPAVALUE = 0xFFFFFFFF

    Could you attach the INI file here.
    If you think , its not open to all then, you could mail to me (x0213399@ti.com)

    Thank you.