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.

Program boot and application on SPI flash in a custom board

Other Parts Discussed in Thread: OMAP-L138

Hi all,

I've developed a custom board with TMSC6746 DSP. I have an SPI flash on CS0 of SPI1. I use UART0 to communicate between PC and DSP.

I'd like to use sfh_OMAP-L138 utility to flash boot and application on the SPI flash, but it doesn't work.

The utility locks after writing the message "Waiting for SFT on the OMAP-L138..."

Do I need to recompile the utility? On the development board usually the UART2 is used, while I'm using UART0.

My memory is mapped on SPI1 instead of SPI0... can this be a problem?

Any suggestion will be very appreciated.

Regards,

Paolo

  • Hi,

    If it is a custom board, sfh utility needs modification.

    According to your custom board's SPI, DDR and UART changes, do the modifications in the source code of SFH and re-compile it and use it. For more info please visit below.

    Please let us know how it goes. Revert if you stuck inbetween.

    Regards,

    Shankari

  • Hi Shankari,

    thank you for the info.

    Following the guide to rebuild the flashing utility, I see that I have to install the ARM compiler tools.

    Unfortunately Codesourcery G++ Lite is non more available. The link provided

    www.codesourcery.com/.../subscription3057

    is redirected to www.mentor.com/.../overview

    Do you know if there is still a place where I can download the latest free version of G++ Lite?

    Thank you for your support.

    Regards,
    Paolo
  • Hi Paolo,

    Yes, you are right.

    Code sourcery is now mentor graphics now.

    you can download the lite edition from

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    --------------------------------------------------------------------------------------------------------