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 tool

I am trying to flash a custom board with the sfh utility. The sfh utility was haging waiting for the BOOTUBL message. I tried moving from version 03.21.00.04 of the flash utility to version 2.40. I have linker errors that it cannot find libc.a when trying to build ubl and sft. In the makefile there is the option --library=libc.a

Do I need to set up some environment variables? Is there a list of items I need to setup in order to get this to build? My path is pointing to the code sorcery lite bin files and ccsv5 compiler. 

I took a big step backwards moving to the latest version, so any help would be appreciated.

Thanks,

Chris

  • Hi Chris,

    Rebuilding the serial flash and boot utilities has been described on the wiki article provided below:

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

    The wiki provides the environment setup required as well as the the modification required to build the tool for custom boards. Please review the article and let us know if you have any feedback questions.

    I think the libc.a library that is not found in the build is an index library in the TI c6000 compiler .  If you link against it instead of rts<whatever>.lib, the linker will automatically figure out the most appropriate version of the RTS library to use. Ensure the path to C6000 compiler points to the correct path.

    Regards,

    Rahul