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.

CCS/IWR6843: I want to build iwr6843 sbl in ccs.

Part Number: IWR6843
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

Dear sir:

Currently using the internal SBL example of "mmwave_sdk_03_03_00_03",
the makefile can be used normally, but I want to build a project to use CCS,
and use xdc110 to debug and modify the function. If there are any problems,
the error message will appear in the established project.
Provide an established good project (.projectspec), thank you.

  • Hi,

    You should be able to load the binary xwr68xx_sbl_mss.xer4f generated by makefile in CCS and debug. 

    Thanks

    Yogesh

  • Dear sir:

    If I create new sbl project in CCS, currently experiencing setup issues as follows:

    (1)The makefile question:
    "Properties->Build->Makefile genreation->Generate Make files automatically"
    Does this option need to be selected?  or use the "C:\ti\mmwave_sdk_03_03_00_03\packages\ti\utils\sbl\makefile"
    (2)Linker command file question:
    "Properties->General->Project->Linker command file"
    setting sbl_linker.cmd or others?

    Thank you!

    G.H lin

  • Hi G.H Lin,

    Before I try and help you with the CCS project, I will like to understand your concerns using gnu makefile from command-line. 

    Since even if you make the SBL compile using CCS project using the makefile from SDK, you will not be able to use other CCS features like changing the compiler options, adding new CFLAGS etc.

    Thanks

    Yogesh 

  • Hi Yogesh :
    I am currently using CCS to build an SBL project, which can be compiled successfully and produce "xwr68xx_sbl_demo.bin". After burning with the uniflash tool, the program cannot enter the main program of SBL to execute without directly executing the main program of Meta Image 4. What needs special attention in the setting of CCS.

    Thanks

    G.H lin

  • Hi G.H lin,

    To verify if you have right setup, could you please tell if you are able to run pre-built binary xwr68xx_sbl.bin.

    Thanks

    Yogesh

  • Hi Yogesh:

    This is my message to implement the compiler:

    rm -f C:/Users/mmWave/workspace_v9/bootloader10/bootloader10.bin
    makefile:194: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f C:/Users/mmWave/workspace_v9/bootloader10/bootloader10.bin, ...) failed.
    make (e=2): The system cannot find the file specified系統找不到指定的檔案。
     
    gmake[1]: [pre-build] Error 2 (ignored)

    My pre-build steps are set as follows:
    rm -f ${PROJECT_ROOT}/${ProjName}.bin
    Operating system uses win10

    Thanks

    G.H lin




  • Hi,

    Sorry, I wanted to know if you are able to run the SBL binary in SDK 3.3:

    C:\ti\mmwave_sdk_03_03_00_03\packages\ti\utils\sbl\xwr68xx_sbl.bin

    The procedure is documented in:

    C:\ti\mmwave_sdk_03_03_00_03\packages\ti\utils\sbl\docs\SBL_design.pdf

    Thanks

    Yogesh