IWR6843AOPEVM: CCS v20.2 xdc runtime error

Part Number: IWR6843AOPEVM
Other Parts Discussed in Thread: SYSBIOS, MMWAVEICBOOST, IWR6843AOP

Tool/software:

Hello TI team,
How can i modify these errors.

Cortex_R4_0: {module#43}: line 209: error {id:0x1b0000, args:[0x1f7c8, 0xbc05]}

Cortex_R4_0: xdc.runtime.Error.raise: terminating execution


Regards,
Eric

  • Hello Eric,

    Under what condition are you getting this error? Is it from running a default program with no changes and a configuration with no changes?

    Best Regards,

    Pedrhom

  • Hello Pedrhom,

    I did test just a demo application for IWR6843AOPEVM board, I didn't change any configuration and source code.
    Best Regards,
    Eric

  • Hello,

    What example project is being used here for your 6843AOP? And I am guessing this error you are getting after sending a configuration to the device? Which configuration?

    Best Regards,

    Pedrhom

  • Hello Pedrhom,

    /*mmw.cfg
     *  Copyright 2018 by Texas Instruments Incorporated.
     *
     *  All rights reserved. Property of Texas Instruments Incorporated.
     *  Restricted rights to use, duplicate or disclose this code are
     *  granted through contract.
     *
     */
    environment['xdc.cfg.check.fatal'] = 'false';

    /********************************************************************
     ************************** BIOS Modules ****************************
     ********************************************************************/
    var Memory    = xdc.useModule('xdc.runtime.Memory');
    var BIOS      = xdc.useModule('ti.sysbios.BIOS');
    var HeapMem   = xdc.useModule('ti.sysbios.heaps.HeapMem');
    var HeapBuf   = xdc.useModule('ti.sysbios.heaps.HeapBuf');
    var Task      = xdc.useModule('ti.sysbios.knl.Task');
    var Idle      = xdc.useModule('ti.sysbios.knl.Idle');
    var SEM       = xdc.useModule('ti.sysbios.knl.Semaphore');
    var Event     = xdc.useModule('ti.sysbios.knl.Event');
    var Hwi       = xdc.useModule('ti.sysbios.family.arm.v7r.vim.Hwi');
    var System    = xdc.useModule('xdc.runtime.System');
    var SysStd    = xdc.useModule('xdc.runtime.SysStd');
    var clock     = xdc.useModule('ti.sysbios.knl.Clock');
    var Pmu       = xdc.useModule('ti.sysbios.family.arm.v7a.Pmu');
    var Load      = xdc.useModule('ti.sysbios.utils.Load');

    /* make this if (0) if you don't want any messages on CCS console say because of
       slow printing. They can be viewed in CCS ROV viewer in SysMin module */
    if (1)
        System.SupportProxy = SysStd;
    else
    {
        var SysMin = xdc.useModule('xdc.runtime.SysMin');
        SysMin.bufSize = 4096;
        System.SupportProxy = SysMin;
    }

    /* FIQ Stack Usage: */
    Hwi.fiqStackSize                = 2048;
    Hwi.fiqStackSection            = ".myFiqStack"
    Program.sectMap[".myFiqStack"] = "DATA_RAM";

    /* Default Heap Creation: Local L2 memory */
    var heapMemParams           = new HeapMem.Params();
    heapMemParams.size          = 64*1024;
    heapMemParams.sectionName   = "systemHeap";
    Program.global.heap0        = HeapMem.create(heapMemParams);
    Memory.defaultHeapInstance  = Program.global.heap0;

    /* Enable BIOS Task Scheduler */
    BIOS.taskEnabled    = true;

    /* Reduce the size of BIOS */
    BIOS.swiEnabled        = false; /* We don't use SWIs */
    BIOS.libType           = BIOS.LibType_Custom;
    Program.stack          = 1200; /* for isr context */
    Task.idleTaskStackSize = 800;
    var Text               = xdc.useModule('xdc.runtime.Text');
    Text.isLoaded          = false;

    /* do not call update for load - Application will call it at inter-frame boundary */
    Load.updateInIdle = false;

    /* Install idle function to sleep the R4F (using WFI instruction). Note above
       Load.updateInIdle is false which allows to sleep the R4F in idle.
       Also, no other book-keeping etc functions should be installed in the idle thread */
    Idle.addFunc('&MmwDemo_sleep');

    Program.sectMap[".vecs"]    = "VECTORS";

    /* Make sure libraries are built with 32-bit enum types to be compatible with DSP enum types*/
    BIOS.includeXdcRuntime  = true;
    BIOS.libType            = BIOS.LibType_Custom;
    BIOS.customCCOpts      += " --enum_type=int ";

    /********************************************************************
     * Enabling DebugP Log Support
     ********************************************************************/
    var Log         = xdc.useModule('xdc.runtime.Log');
    var Main        = xdc.useModule('xdc.runtime.Main');
    var Diags       = xdc.useModule('xdc.runtime.Diags');
    var LoggerBuf   = xdc.useModule('xdc.runtime.LoggerBuf');

    /* Configure the Logger Buffer: */
    var loggerBufParams             = new LoggerBuf.Params();
    loggerBufParams.bufType         = LoggerBuf.BufType_CIRCULAR;
    loggerBufParams.exitFlush       = false;
    loggerBufParams.instance.name   = "_logInfo";
    loggerBufParams.numEntries      = 200;

    /* Create the Logger and attach this to the application */
    MyAppLogger                     = LoggerBuf.create(loggerBufParams);
    Main.common$.logger             = MyAppLogger;
    Main.common$.diags_USER1        = Diags.RUNTIME_ON;
    Task.common$.diags_USER1        = Diags.RUNTIME_ON;


    /*mss_mmw_linker.cmd----------------------------------------------------------------------------*/
    /* Linker Settings                                                            */
    --retain="*(.intvecs)"

    /*----------------------------------------------------------------------------*/
    /* Section Configuration                                                      */
    SECTIONS
    {
        systemHeap : {} > DATA_RAM
        .l3ram: {} > L3_RAM
        .DPC_objDetTcmbHeap  : { } > DATA_RAM
    }
    /*----------------------------------------------------------------------------*/




    /*----------------------------------------------------------------------------*/
    /* r4f_linker.cmd                                                                 */
    /*                                                                            */
    /* (c) Texas Instruments 2016, All rights reserved.                           */
    /*                                                                            */

    /* USER CODE BEGIN (0) */
    /* USER CODE END */


    /*----------------------------------------------------------------------------*/
    /* Linker Settings                                                            */
    --retain="*(.intvecs)"

    /*----------------------------------------------------------------------------*/
    /* Memory Map                                                                 */
    #define MMWAVE_L3RAM_SIZE (MMWAVE_L3RAM_NUM_BANK*MMWAVE_SHMEM_BANK_SIZE)
    MEMORY{
    PAGE 0:
        VECTORS  (X)  : origin=0x00000000 length=0x00000100
        PROG_RAM (RX) : origin=0x00000100 length=0x0007FF00+(MMWAVE_SHMEM_TCMA_NUM_BANK*MMWAVE_SHMEM_BANK_SIZE)
        DATA_RAM (RW) : origin=0x08000000 length=0x00030000+(MMWAVE_SHMEM_TCMB_NUM_BANK*MMWAVE_SHMEM_BANK_SIZE)
        L3_RAM (RW)   : origin=0x51000000 length=MMWAVE_L3RAM_SIZE
        HWA_RAM (RW)  : origin=0x52030000 length=0x00010000
        HS_RAM (RW)   : origin=0x52080000 length=0x8000
    PAGE 1:
        L3_RAM (RW)   : origin=0x51000000 length=MMWAVE_L3RAM_SIZE
    }

    /*----------------------------------------------------------------------------*/
    /* Section Configuration                                                      */
    SECTIONS{
        .intvecs : {} > VECTORS
        .text    : {} > PROG_RAM
        .const   : {} > PROG_RAM
        .cinit   : {} > PROG_RAM
        .pinit   : {} > PROG_RAM
        .bss     : {} > DATA_RAM
        .data    : {} > DATA_RAM
        .stack   : {} > DATA_RAM
    }
    /*----------------------------------------------------------------------------*/




    Regards,
    Eric.

  • Hello Eric,

    Are you using the EVM with a MMWAVEICBOOST for debugging purposes? The IWR6843AOPEVM does NOT have a XDS110 debugger built into the EVM. Meaning you can still flash compiled .bin files from a release perspective, but not the individual .out/.xer4f/.xe674 files and thus cannot set breakpoints, explore memory, etc from a debug perspective. If you are using a MMWAVEICBOOST, when do you get this error exactly? Is it during sensor start up I imagine? Is this happening after the sending of a configuration file?

    Best Regards,

    Pedrhom

  • Hello Pedrhom,
    I have mmaveicboost. I did debug by iwr6843aopevm(Deprecated) installed on the mmwaveicboost.
    Regards,
    Eric.

  • Hello Eric,

    Can you take a picture of the physical setup? If I see no issues then its possible the MMWAVEICBOOST is faulty. Please double check the two links below as well

    EVM Switches Modes

    Debugging with CCS 20

    Best Regards,

    Pedrhom

  • Hello Pedrhom,
    I'm using this setting.



    Regards,
    Eric.

  • Hello Pedhrom,

    Is it correct ?
    Do I need to modify which one?

    Regards,

    Eric.

  • Hello Eric,

    The problem is that you are using an obsolete EVM. I am genuinely very curious, how did you acquire a Rev. C 6843AOPEVM? It uses an older silicon revision and the software offerings we have in the toolbox and SDK will not support it. Our current and final revision is Rev G and looks the way seen below

    https://www.ti.com/tool/IWR6843AOPEVM

    You may be able to get a old version of the SDK to work with this EVM. I checked the release notes and the below SDK from six years ago is the last one that works with ES1.0

    https://www.ti.com/tool/download/MMWAVE-SDK/03.02.01.02

    Best Regards,

    Pedrhom 

  • Hello Pedhrom,
    How can I download&install the Industrial Toolbox?
    Regards,
    Eric.

  • Hello Pedrhom,
    I did set to flash mode  and load the binary file from C:\Users\eeric\Downloads\radar_toolbox_3_20_00_04\radar_toolbox_3_20_00_04\source\ti\examples\Out_Of_Box_Demo\prebuilt_binaries

    In this Photo, IWR6843AOP didn't communicate with UI. How can I modify this problem? 


    Which version is correct with this IWR6843AOP (Deprecated)?

    Regards,
    Eric.

  • Hello Eric,

    Can you tell me how you got this EVM? I will restate that this EVM is pretty much ancient. It does not have the RTM'd 6843AOP on it and was an early sample version. The support software for this would have to be found in the Industrial Toolbox link I had in my prior post, this was the package we had before we even had the consolidated Radar Toolbox.

    Best Regards,

    Pedrhom

  • Hello Pedrhom,
    I changed the evolution board to the new version.
    Regards,
    Eric.