Other Parts Discussed in Thread: TIDEP-0090, AWR1642, MATHLIB, TIDEP-0092
Hello Ti Radar Team,
I have been trying to run the TIDEP-0090 Tracking algorithm on my AWR1642. I have followed the steps as in the guide coming with package. All the steps worked fine until executing the command mmw_demo 5 10 4 mmw_tm_demo.cfg 1 on the command prompt. The Matlab gui starts and only views the configuration table. The CCS aborts and writes the following message:
*****************
CCS Console
******************
[Cortex_R4_0] Debug: MMWDemoMSS Received CLI sensorStart Event
[C674X_0] Number of ADC samples must be multiple of 16
{module#8}: "dss/dss_main.c", line 1372: error {id:0x10000, args:[0x814054, 0x814054]}
xdc.runtime.Error.raise: terminating execution
*********************************************************
I have linked my ".bat" file below with all the packages versions shown. And the command prompt messages after executing the "gmake all" command. And the CCS7 error and abort message above.
I have noticed one "mistake" that is included in the "mmw_tm_demo.cfg" file that sets the adcbufCfg to "0 1 1 1" , while in the mmwave sdk 1.0.0.5 user guide it say to be set to "0 0 1 1".
Nevertheless, the same error exists for both the adcbufCfg configuration.
I hope that the info provided is enough? So how can i fix it?
I am also wondering if i should configure the dss_linker.cmd file as well?
*******************************************************
FILE NAME: mmwave_sdk_setupenv.bat
********************************************************
set R4F_CODEGEN_INSTALL_PATH=C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS
set MMWAVE_SDK_INSTALL_PATH=C:/ti/mmwave_sdk_01_00_00_05/packages
set BIOS_INSTALL_PATH=c:/ti/bios_6_52_00_12/packages
set XDC_INSTALL_PATH=c:/ti/xdctools_3_50_00_10_core
set PERL_INSTALL_PATH=C:/Strawberry/perl/bin
set C674_CODEGEN_INSTALL_PATH=C:/ti/c6000_7.4.16
set C64Px_DSPLIB_INSTALL_PATH=C:/ti/Trackingdemo/mmwave_demo_dev/lib/dsplib_c64Px_3_4_0_0
set C674x_MATHLIB_INSTALL_PATH=C:/ti/mathlib_c674x_3_1_2_1
set XWR16XX_RADARSS_IMAGE_BIN=C:/ti/mmwave_sdk_01_00_00_05/firmware/radarss/xwr16xx_radarss_rprc.bin
*****************************************
Command Prompt
***************************************
lib -o xwr16xx_mmw_demo_dss.xe674
<Linking>
"dss/dss_mmw_linker.cmd", line 49: warning #10068-D: no matching section
Built the DSS Millimeter Wave Demo [Preparing the BIN Format]
Parsing the input object file, xwr16xx_mmw_demo_dss.xe674.
Appending zeros 8484320
Appending zeros 8502064
Appending zeros 8511640
File conversion complete!
******************************************************************************
Built the DSS Millimeter Wave OUT & BIN Formats
******************************************************************************
C:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\multicore_image_generator\MulticoreImageGen.exe LE 37 0x01000005 iwr16xx_mmw_demo.bin 0x35510000 xwr16xx_mmw_demo_mss.bin 0xb5510000 C:/ti/mmwave_sdk_01_00_00_05/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 xwr16xx_mmw_demo_dss.bin
Number of Input Files 3
Number of zeros 48
Number of zeros 8
Number of zeros 56
call C:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\crc_multicore_image\crc_multicore_image.exe iwr16xx_mmw_demo.bin iwr16xx_mmw_demo.bin.tmp
size of App Image is 508544 bytes
cur_crc_read_addr 128
cur_crc_read_addr 115200
cur_crc_read_addr 251392
Failed to remove CRC temp file
perl C:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\append_bin_crc\gen_bincrc32.pl iwr16xx_mmw_demo.bin
>>>> Binary CRC32 = 2e2675fb <<<<
>>>> Total bytes in binary file 508548 <<<<
******************************************************************************
Built the mmw Demo Flash Binary
******************************************************************************
********************************
CCS7 Console
**********************************
[C674X_0] Debug: Logging UART Instance @00815560 has been opened successfully
Debug: DSS Mailbox Handle @0080f550
Debug: MMWDemoDSS create event handle succeeded
Debug: MMWDemoDSS mmWave Control Initialization succeeded
[Cortex_R4_0] **********************************************
Debug: Launching the Millimeter Wave Demo
**********************************************
Debug: MMWDemoMSS Launched the Initialization Task
Debug: MMWDemoMSS mmWave Control Initialization was successful
Debug: CLI is operational
[C674X_0] Debug: MMWDemoDSS ADCBUF Instance(0) @00815530 has been opened successfully
Debug: MMWDemoDSS Data Path init succeeded
Debug: MMWDemoDSS initTask exit
**********************************
Rabah