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/IWR6843ISK: error #10099-D: program will not fit into available memory.

Part Number: IWR6843ISK
Other Parts Discussed in Thread: IWR6843

Tool/software: Code Composer Studio

Hi,

I just got my hands on IWR6843 with EVM card. I have successfully ran the pre-flashed demo, compiled it from the sources and flashed the card, and also this ran successfully. Now I've been going through the labs in Resource Explorer, and especially the People Counting demo lab0015_pplcount_68xx from mmwave_industrial_toolbox_3_1_1. The quick start binary was flashed to the board, but I had some problems with communication between the GUI and the board, getting three timeouts after each command:

flushCfg
Warning: Unexpected Warning: A timeout occurred before the Terminator was reached.
Warning: Unexpected Warning: A timeout occurred before the Terminator was reached.
Warning: Unsuccessful read: The specified amount of data was not returned within the Timeout period..
dfeDataOutputMode 1

After this, I was interested in rebuilding the binary from the sources to get some insight on this, but end up getting error from PC_dds_68xx

C:/ti/mmwave_sdk_03_00_00_08/packages/ti/platform/xwr68xx/c674x_linker.cmd dss/dss_mmw_linker.cmd -lrts6740_elf.lib -o xwr68xx_mmw_demo_dss.xe674
<Linking>
"dss/dss_mmw_linker.cmd", line 38: error #10099-D: program will not fit into available memory.  run placement with alignment fails for section ".fastCode" size 0x4da0 .  Available memory ranges:
   L1PSRAM      size: 0x4000       unused: 0x4000       max hole: 0x4000

My setup is Windows 10, tried building with Code Composer Studio  Version: 8.3.0.00009 importing from tirex, compiled with TI v7.4.16 and also with downloaded toolbox from command line with makefile (used SDK mmwave_sdk_03_00_00_08 instead of mmwave_sdk_03_00_00_06 in the build env) .

Being still quite unfamiliar with this tool chain and processor architecture, could you please point me on how to proceed? Naturally commenting out enough symbols from linker .fastCode section helps to get the build done, but I wonder if the performance will be any good then?

  • Hello user5894843,

    The timeout warnings from the GUI indicate that the mmWave sensor is not in a good state (i.e. successfully running the software and responding appropriately to the config CLI commands). You may want to try power cycling the board again after it is flashed with the pre-built binary to make sure it is in a good state.

    The TIREX project should compile without error. Can you verify that the c6000_7.4.16 compiler was installed at "c:\ti\c6000_7.4.16"? The c6000_7.4.16 installer may default to a different install path which will put it where CCS does not find it successfully.

    If you still have the compile error after installing the c6000_7.4.16 compiler in c:\ti then please send the full compile console log.

    Regards,
    John
  • Also, please make sure to use the instructions in the Setup Guide in the 68xx - People Counting Demo lab on the TI Resource Explorer for importing and building the project. There is no makefile for that project.  It should be built directly from CCS as described in the Setup Guide.

    Regards,

    John

  • Hi John,

    I now succeeded in building the demo from TIREX, I suppose some environmental variable was still pointing to wrong place. The behavior of the software on the board however is still the same. I managed to build the debug version and it outputs:

    [Cortex_R4_0] **********************************************

    Debug: Launching the Millimeter Wave Demo

    **********************************************

    Debug: MMWDemoMSS Launched the Initialization Task

    Debug: System Heap (TCM): Size: 98304, Used = 4904, Free = 93400 bytes

    [C674X_0] Debug: Logging UART Instance @008157e0 has been opened successfully

    Debug: DSS Mailbox Handle @0080c820

    Debug: MMWDemoDSS create event handle succeeded

    and nothing more. So I suppose this means that the software stops before getting the CLI running and that's why the GUI can't connect. As shown attached, this is the point where the execution freezes.

  • Hi user5894843,

    Thanks for the detailed issue description and stack traces from the processor cores. It may be necessary to follow-up separately to debug further. I will send a separate request.

    Regards,
    John
  • Hi user5894843,

    I sent an update separately. The debug will be continued there.

    Regards,
    John