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.

TMDSRM48HDK SPI Bootloader Question...

Other Parts Discussed in Thread: TMDSRM48HDK

I am using a TMDSRM48HDK.  I am experimenting to see how I could implement a bootloader wit the dev kit as a proof of concept for our end design.  I found the following Wiki information:

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

This led me to the following document (and a few others):

http://www.ti.com/lit/an/spna196/spna196.pdf#page=2&zoom=auto,-100,433


For the record I haven't taken the sample code and attempted to run it yet...  I had a few questions first.

  • From the Dev Kit Users Guide I can't tell what SPI port the SD Card is on.  I see the sample bootloader code uses port 2.  Is the SD Card on port 2?

  • Looking through the pdf, sample code, and wiki page, I see that the SPI port is set into slave mode.  I have limited experience with ARM processors.  Does setting this port into slave mode, allow the processor to read from the SD card, or whatever device is on port 2?
  • Assuming that being a slave to the SD Card allows for reading, how does the code know what/where to read from the SD Card?  Does the hex/out/bin file just need to be present on the card?

  • Is the process to bootload off of a USB drive similar, except via USB?

Thank you!

  • Terry,


    On the HDK board, the SD Card slot is using SPI2. The following signal are used:

    SPI2SOMI(0),
    SPI2SIMO(0),
    SPI2CLK,
    SPI2nCS0 (as SD Select)
    SPI2nENA (as Card Detect)


    On the device, SPI2 is configured as Master to access the SD Card.

    I'm not aware of a USB version of the bootloader.