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/AWR1642: Build mmwave sdk for AWR1642 through ccs

Part Number: AWR1642
Other Parts Discussed in Thread: UNIFLASH,

Tool/software: Code Composer Studio

Hi,

I am trying to build mmWave_sdk_02_01_00_04 demo codes from CCS 8, I am getting following error

    SHMEM_ALLOC is set to 0x00000006 

   process_begin: CreateProcess(NULL, /bin/mkdir -p obj_xwr16xx, ...) failed.

    make (e=2): The system cannot find the file specified.

    Can annybody help me with this.

Regards,

Varsha

  • Hi Varsha,
    When you compile/recompile, ccs tries to clean debug /binary files before compiling. If those files are not there then it throws an error as you see here.

    You can ignore this error as it won't hamper your compilation process.


    Regards,
    Jitendra
  • Hi Jitendra, 

    As per your reply this error seem to be ignorant but how to build the project using CCS?

    Queries are:

    1. I have followed the build procedure in mmwave sdk user guide. the .bin files and .xerf are being generated through command line but what if I want to build using CCS as mentioned in the mmw_16xx_user_guide.pdf. the procedure is explained for the lab projects. I want to build the mmw demo present in sdk using CCS

    2.I have already tried running the mmw demo present in mmwave sdk using uniflash & demo visualizer. Now,  I have just added  a printf in the code &  built it again. I am facing issues with CCS debugger. I am connecting the XDS560v2 STM Traveller emulator to AWR1642 with power supply of 5V/2A. SOP in functional mode(only jumper on SOP 0). I want to load the binary files which I have built using commands. Power supply LED glows properly. But,  encountering the following error. 

    IcePick_M_0: Error connecting to the target: (Error -180 @ 0x0) The controller has detected a target power loss. The user must turn-on or connect the power supply for the target. (Emulation package 8.0.27.9) 

    Please help me again !!!

    Regards, 

    Varsha

  • Hi Varsha,

    1. You can find CCS project for mmw demo at TI-Rex 

    2. Are you able to connect to MSS core using debugger (XDS560v2) at the first step (before loading any image over JTAG or with default mmw demo)? Try to load modified application image over JTAG (instead of flash mode), for this you need to flash ccsDebug.bin to device and then load mmw demo image over JTAG (follow sdk user guide).

    Sometimes adding printf function  (or new code) may cause task stack to go out of limit, try to increase task stack size where you are adding new code.

    Regards,

    Jitendra

  • Hi,

    2. I am not able to load any of the file using JTAG. yes, I have loaded the ccsDebug.bin file first onto the device and then trying to load mmw demo image but the problem is the Debugger connectivity. I have created the ccxml file, when I launch it, I encounter the error specified:

    IcePick_M_0: Error connecting to the target: (Error -180 @ 0x0) The controller has detected a target power loss. The user must turn-on or connect the power supply for the target. (Emulation package 8.0.27.9)


    Regards,
    Varsha
  • So looks like the issue is with debugger connection, not with AWR1642 device.

    Make sure that you have generated ccxml file properly with AWR1642 device selected and XDS560 USB driver is enabled on the system. Check for JTAG connection from XDS560 with AWR1643. Power supply should be 5v and >2.5A

    Is this EVM with which you are connecting or custom board? 

    Regards,

    Jitendra

  • Hi , 

    Power supply in my case is 5v and 2A. But there was no issue when I flashed the default bin file and visualized the output using demo visualizer. Is power supply causing issue only when connecting Debugger?

    Clear my silly query. 

    Regards,

    Varsha

  • Hi,

    I have changed the power supply to 5V/3A, but I still face the same issue. Please help me to resolve this.

    Regards,
    Varsha
  • Hi Varsha,
    I'm closing this thread as new thread has been initiated by you for the same topic (specific issue).
    e2e.ti.com/.../2733863

    Regards,
    Jitendra
  • Hi Jitendra,

    Yeah, you can close this thread. I was stuck in the issue and read many of the forum queries, could not get much out of it, therefore raised the query.

    Regards,
    Varsha