Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Logic PD support staff and engineers participate, Logic PD does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Logic PD engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Logic PD product download, please subscribe to the TDG Forum of interest.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03 Dec 2014 01:47 PM by  Adam Ford
Rebuilding custom SFH_OMAP-L138 tools
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Adam Ford



Advanced Member


Posts:754
Advanced Member


--
03 Dec 2014 01:47 PM

    TI Provides instructions to build the TI Flash and Boot utilities: http://processors.wiki.ti.com/index...tom_Boards

     

    The L138 Virtual machine provided by LogicPD has all the necessary tools and libraries installed, but the trick is pointing 'make' to the right tools and libraries.

    Download the source from SourceForge: https://sourceforge.net/projects/dv...138/v2.40/

    tar xvf OMAP-L138_FlashAndBootUtils_2_40.tar.gz

    cd OMAP-L138_FlashAndBootUtils_2_40

    cd OMAP-L138

    make clean

    make DSP_CROSSCOMPILE=/opt/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/ CROSSCOMPILE=/opt/ti/ccsv5/tools/compiler/gcc-arm-none-eabi-4_7-2012q4/bin/arm-none-eabi- DSP_LIB_PATH=/opt/ti/ccsv5/tools/compiler/c6000_7.4.2/lib 

    sfh_OMAP-L138.exe will be located in the GNU directory.

    #Erase the Flash by setting DIP_S7:7 and DIP_S7:8 ON

    mono ./sfh_OMAP-L138.exe -erase -p /dev/ttyUSB0

    # Turn on or press reset on the board to send the BOOTME

    #When complete test the utility with a pre-build recovery file from our download section

    mono ./sfh_OMAP-L138.exe -flash_noubl ~/Downloads/1023340B_AN556_AM1808_OMAP-L138_SOM-M1_SPI_Flash_Recovery/AM1808_OMAP-L138_SOM-M1_SPI_Flash_Recovery_Files/1016592.raw -p /dev/ttyUSB0

    # Turn on or press reset to send the BOOTME

     

    Make sure to CLEAN then rebuild SFH_OMAP_L138.exe if a header file is changed to ensure the change propagates across the entire project.

     

    adam 

     

    Other References:  Using the OMAP-L132/L138 Bootloader  http://www.ti.com/lit/an/sprab41e/sprab41e.pdf

     

     

     

     

     

    You are not authorized to post a reply.