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.

66AK2H12: 66AK2H12 boot problem

Part Number: 66AK2H12

Hi

Board: Customized

CCS: 7

OS: win7

I study the boot section of "  " and I have some questions now.

In section "4.6.2.3.2", explained that the user can boot the EVM automatically by "program_evm.js", but the link "Program EVM Guide" doesn't exist!!!

Q1:

How can I use "program_evm.js" for booting automatically? Please guide me.

In section 4.6.3.6.5, there is no use of the memory map file "*.map" that produced related to the "*.out" file.

Q3:

Is it correct that produce the image file without using of map file?

In section 4.6.4.1.2, explained about memory conflict between the app and SBL, and the user can load and debug SBL project step by step.

Q2:

What is SBL memory map? How can I find it? 

Where is SBL project? How can I find it? 

Q4:

What is the name of GEL files for initializing ARM and DSP core?

Best Regards

  • Hi

    Please, answer me.

    Regadrs

  • dariush karami said:

    4.1. TI-RTOS Kernel — Processor SDK RTOS Documentation

    software-dl.ti.com
    Note

     " and I have some questions now.

    In section "4.6.2.3.2", explained that the user can boot the EVM automatically by "program_evm.js", but the link "Program EVM Guide" doesn't exist!!!

    This script was originally created with SDK to let customer restore the EVM to factory or manufacturer settings. The script is provided in the folder processor_sdk_rtos_k2hk_x_xx_xx_xx\bin. Please check and let us know if you don`t find the script in that location.

    dariush karami said:

    Q1:

    How can I use "program_evm.js" for booting automatically? Please guide me.

    In section 4.6.3.6.5, there is no use of the memory map file "*.map" that produced related to the "*.out" file.

    As indicated in previous response the script is designed to restore out of box experience on the EVM and not necessarily for automatic booting RTOS application images. In order to boot application from Flash using SBL, you need to follow the boot documentation provided here:

    software-dl.ti.com/.../index_Foundational_Components.html user="dariush karami"]

    Q3:

    Is it correct that produce the image file without using of map file?

    In section 4.6.4.1.2, explained about memory conflict between the app and SBL, and the user can load and debug SBL project step by step.

    [/quote]

    The map file is a compiler linker generated output that provides a view of where the code and data section and what portion of the memory sections defined have been occupied by the application image. There is no requirement to generate map file for creating a boot image, you only require the executable (.out or .xe66/.xea15

    dariush karami said:

    Q2:

    What is SBL memory map? How can I find it? 

    Where is SBL project? How can I find it? 

    The SBL source and memory map is located in the PDK folder here:

    pdk_k2hk_x_x_x\packages\ti\boot\sbl

    The main function is define in the board/evmK2H folder and the makefile in the build folder has the instructions to build the SBL for the platform.

    The memory map is defined in the linker command file provided here:

    pdk_k2hk_x_x_x\packages\ti\boot\sbl\soc\k2h

    There is no CCS project for SBL and building libraries in PDK as we use makefiles to build and automate our testing. The makefile is an alternative to building CCS Projects so you can read the build options in the makefile or save the command line output to build CCS project if required.

    dariush karami said:

    Q4:

    What is the name of GEL files for initializing ARM and DSP core?

    the GEL file for ARM And DSP are needed only during development environment is used for debugging when the device is not booting from flash. The GEL is part of the default CCS installation and is located here:

    C:\ti\ccs901\ccs\ccs_base\emulation\boards\xtcievmk2x\gel

    The instructions to connect to the cores is provided in the Processor SDK RTOS documentation  here:

    https://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_03_00_106/rtos/index_how_to_guides.html#connect-to-evmk2h-using-ccs

    Hope this helps get you started with your development.

    Regards.

    Rahul

  • Dear Rahul

    I find "program_evm.js" in the "processor_sdk_rtos_k2hk_x_xx_xx_xx\bin" location.

    The link that you send for me doesn't work as below:

    software-dl.ti.com/.../index_Foundational_Components.html user="dariush karami"]

    Please, check the above link;

    Regards

  • Dariush,

    Can you please help us understand what you wish to accomplish with the EVM so we can help accordingly. The Program EVM script as indicated would help you restore the factory setting on the EVM and flash images to boot out of box experience on the EVM. The K2H EVM out of the box support Linux booting so for RTOS this script is not needed. This as I mentioned is a legacy script from MCSDK that has been included in Processor SDK RTOS for reference.

    If you want to boot RTOS application, we recommend that you use flash and boot tools spcified in the Boot/SBL section of the documentation.

    Regards,

    Rahul 

  • Rahul

    Yes, I want to boot the RTOS multicore application.

    Regards