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.

Building a GPH file to load to SPI NOR (66AK2E05)

Other Parts Discussed in Thread: 66AK2E05

I would like to convert a .out file to the GPH format that can be loaded into SPI NOR flash connected to a 66AK2E05. I have found documentation that specifies the following procedure...

1) armhex to convert .out to ASCII hex file

2) B2css to convert ASCII hex file to .dat format

3) cssAddGphdr to add the 8 byte header to the .dat file

4) cssAddGptlr to add the footer to the .dat file

I plan then to load the .dat file into memory using CCS and write it to SPI NOR using a test program. I cannot however find the B2ccs, ccsAddGphdr, and ccsAddGptlr utilities in the mcsdk. My two questions are...

1) Is the procedure above correct to convert a .out file to a .dat with a GPH?

2) Where can I find the indicated utilities?

  • Hi Nuri,
    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com).

    We will get back to you on this post shortly. Thank you for your patience.
  • Hi Nuri,
    Would you please post the link or attach the document you used for converting the a.out to gph?
    What is the version of MCSDK you use?

    Able to find the B2ccs at the path : " ..\ti\mcsdk_2_01_02_05\tools\boot_loader\ibl\src\util\btoccs"
    We would like to understand what the a.out contains?  
    I hope it is not the U-boot. Because, if it is U-Boot, you can build the binary directly as given below.
    make <soc>_evm_config 
    >make u-boot-spi.gph
    Regards,
    Shankari
    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------
  • Hello Shankari,

    I was reviewing slide 35 of the presentation at the following link...

    http://keystone-workshop.googlecode.com/svn/trunk/slides/KeyStone%20Bootloader.pptx

    I am using version 3_01_01_04 of the MCSDK that I downloaded from the 66AK2E05 website but don't see any "boot_loader" directory under tools. 

    The .out file I'm trying to load to flash was generated by CCS under Windows. It is a simple application that I would like to install in flash to be executed at startup. I can currently load the application to internal SRAM using CCS and it executes fine.

  • Hi Nuri,

    Thanks for giving the MCSDK version details. I will check it and get back.

    By the way, able to find the "armhex" tool at CCS installed directory."..\ti\ccsv5\tools\compiler\arm_5.1.1\bin"

     

    Regards,

    Shankari

  • Hi Nuri,

    yes, not able to find the tools like B2css, ccsAddGphdr, ccsAddGptlr and Catccs in the MCSDK version you have mentioned.

    I will check with the internal team and get back.

    Thanks for your patience.

     

    Regards,

    Shankari

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

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

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

     

  • Hello Shankari,

    Have you had success in locating the tools to build the boot files?

    Thank you

  • Hi Nuri,

    I filed an Incident report to about the missing tools in the package.
    I have already brought this issue to an expert in TI.

    I am waiting for him to directly attach the tools in this thread.

    Thanks for your patience,
    Shankari
  • Hi Nuri,

    Please find the attached boot utility tools.

    Boot_utilities.zip

    These executables were created for Windows environment. If you would like to use it in Linux, please use the cross over tool like "Wine" to run it on Linux machines.

    Regards,

    Shankari

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

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