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/AWR1642BOOST: SBL project compilation problem

Part Number: AWR1642BOOST

Tool/software: Code Composer Studio

I tried to compile SBL project, using files in \ti\mmwave_sdk_03_00_00_08\packages\ti\utils\ SBL , and overwrite other existing projects, and they have the following error message:

Description    Resource Path Location Type

#10008-D cannot find file "main.oer4f"    sbl_linker.cmd      /slb_mss1.0   line 30   C/C++ Problem

#10010 null: errors encountered during linking; "slb_mss1.0.xer4f" not built       slb_mss1.0                 C/C++ Problem

gmake: *** [all] Error 2 slb_mss1.0                 C/C++ Problem

gmake[1]: *** [main-build] Error 2     slb_mss1.0                 C/C++ Problem

gmake[2]: *** [slb_mss1.0.xer4f] Error 1     slb_mss1.0                 C/C++ Problem

My sbl_linker.cmd file is show as below:

--retain="*(.intvecs)"

 

/* Section Configuration                                                      */

SECTIONS

{

    tcmalibs: > PROG_RAM ALIGN(8)

    {

        main.oer4f

        -l boot.aer4ft(.text)

    }

    systemHeap : {}  > DATA_RAM

    _appVecs    : > VECTORS LOAD_START(_appVecs)

}

And when I commend the 'main.oer4f' in sbl_linker.cmd , the project will compile successfully.

But when I load '*.xer4f' in the 'XDC110 USB Debug Probe_0/Cortex_R4_0' in '1642.ccxml' of debug mode,it is running and can not debug or stop in the breakpoint.

How counld I solve this problem ?

Thank you

  • Hi,
    Did you try default SBL application provided in the SDK with makefile?
    Could you provide more info if you have created a new project or modified SBL?


    Regards,
    Jitendra
  • Thank you for reply.
    The attachment is the SBL project i am trying to compile.
    The default SBL application provided in the SDK with makefile work well , and I could complie it by 'gmake' command.
    But I try to modified SBL to make it work in CANFD interface, so I build a Code Composer studio project.
  • Hi,I have upload the project file, do you have any ideal or question about it.

  • As you haven't set default object format in your CCS project so it will be .obj
    You need to change main object file in the sbl_linker.cmd:

    tcmalibs: > PROG_RAM ALIGN(8)
    {
    main.obj
    -l boot.aer4ft(.text)
    }

    Regards,
    Jitendra
  • Thank you for reply, the project could build already,
    But i still have the problem that when I load '*.xer4f' in the 'XDC110 USB Debug Probe_0/Cortex_R4_0' in '1642.ccxml' of debug mode,it is running and can not debug or stop in the breakpoint.
    For example, i want to step into or step out the code.

  • Are you trying to debug SBL or any other application? As in SBL it has only MSS core based application which we have tested to debug.
    In SDK application/test are built with optimization with '-o3' so you may not able to match source code exactly with the breakpoints you put from CCS.
    In your case, I would suggest to put breakpoint in dissambly window of CCS mapped to approximate to the source code line.


    Regards,
    Jitendra