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.

TMS320C6657: How to generate bin file in

Part Number: TMS320C6657


Hi,

I have .out file which is successfully run in the target. now I need bin file.

I already tried put 

"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/armofd" "${CG_TOOL_ROOT}/bin/armhex" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin" 

in Post-build steps, but I can't find bin file in my directory.

Thank you

  • Hi ,

    Warm Greetings. Welcome to E2E forum.

    If you are using the latest "processor SDK 6.3"  - software package, the ".out" can be renamed directly as ".bin". 

    For more details on how to create a bootable image and burn it into the target EVM, permanently, Please follow the steps given in this FAQ.

    Particularly, focus on step 4 in this FAQhttps://e2e.ti.com/support/processors-group/processors/f/processors-forum/1057566/faq-tms320c6657-how-to-flash-the-ibl-intermediate-boot-loader-into-eeprom-and-how-to-flash-the-application-binary-into-nor-how-to-boot-the-ibl-application-binary/3911569#3911569

    -----> Please note, here the ".out" - is renamed as app.bin in step - 5.3

    Step 4 - Flashing app

    1. The sample binary taken for this demonstration is UART_BasicExample_C6657_c66xTestProject.

    2. Located at C:\ti\pdk_c665x_2_0_16\packages\MyExampleProjects\UART_BasicExample_C6657_c66xTestProject

    3. Build and create the app binary using CCS 9.3

    4. App binary, UART_BasicExample_C6657_c66xTestProject.out will be located at  "C:\ti\pdk_c665x_2_0_16\packages\MyExampleProjects\UART_BasicExample_C6657_c66xTestProject\Debug\"

    5. Flashing app binary into NOR-memory using NOR-writer.

    1. Set your EVM to NO BOOT. Power on, launch target configuration in CCS, and connect to Core 0. Be sure the GEL file is used and DDR is initialized.
    2. Copy the UART-app binary you want to flash to "C:\ti\pdk_c665x_2_0_16\packages\ti\boot\writer\nor\evmc6657l\bin" directory.
    3. Rename the binary you copied in the previous step to “app.bin”.
    4. In CCS, select Core 0 and open the Memory Browser
    5. In the Memory Browser window, right click and select “Load Memory”
    6. Load your app.bin to 0x80000000. Do so by selecting app.bin for the file, click Next, and input 0x80000000 for Start Address (Type-size selected should be 32-bit)
    7. Load C:\ti\pdk_c665x_2_0_16\packages\ti\boot\writer\nor\evmc6657l\bin\norwriter_evm6657l.out
    8. Run Core 0. This will program the flash memory.

    If it succeeds, the console will print “NOR programming completed successfully”

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

    If you are using other than the Processor SDK 6.3, Please let us know the name of the software package.

    Regards

    Shankari G

     

  • Thank you for your response Shankari 

    I'm not using SDK 6.3 and I found more console errors 

  • Lee Seung Hun,

    If you are using other than the Processor SDK 6.3, Please let us know the name of the software package.

    1. "Please mention the name of the software package and its version number". Is it Ti - provided ? 

    I am afraid that the information, you provided is not sufficient to help / direct you, to solve the issue.

    Regards

    Shankari G