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.

sfh_OMAP-L137.exe Utility for flashing custom board connected to SPI1 Flash

Other Parts Discussed in Thread: OMAP-L137

Hello,

We have made a custom board based on OMAPL137- HT and Flash is connected to SPI1.

Can we use the same utility sfh_OMAP-L137.exe/UartHost.exe which are provided for OMAPL 137 evm.

OR Can we suggest any other way to flash the code to the SPI1 flash.

Thanks And Regards,

Vijay Hiremath

  • Hi Naveen Chandra,

    If it is a Custom board, code modification is required in the SFH ( serial flasher utility ) code. For more information on custom modification and rebuilding the SFH please refer to 

    Serial Boot and Flash Loading Utility for OMAP-L137 - Texas Instruments Wiki

    processors.wiki.ti.com

    Particularly, for SPI related,

    SPI Settings:

    • device_spi.h: Modify the global macros to select the appropriate peripheral and chip select numbers.

    Vijay said:
    OR Can we suggest any other way to flash the code to the SPI1 flash.

    Yes, there is another method called SPI writer in addition to the SFH utility. Using the SPI writer, you can flash the binary into the SPI memory. You can use CCS to load and run the SPI writer project on the target and then flash the binary.

    This SPI writer is part of the package, "OMAP-L137_FlashAndBootUtils_2_40" and after installation you will find it at 
    ~\ti\OMAP-L137_FlashAndBootUtils_2_40\OMAP-L137\CCS\SPIWriter