Hello There,
I have to send chirp configs every time I start the GUI, is there any way to save the chirp configs in the sensor at the time of first run?? , so that, there is no need to upload the chirp configs repeatedly.
Thanks
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.
Hello There,
I have to send chirp configs every time I start the GUI, is there any way to save the chirp configs in the sensor at the time of first run?? , so that, there is no need to upload the chirp configs repeatedly.
Thanks
Hello,
Yes there are a few ways to do it. In the OOB_demo in the toolbox, there is one example of hard coding the config file, but this is not as straightforward. The below method is recommended. The below example uses the 3D people counting lab as an example but it is applicable to all demos.
#ifdef USE_HARD_CODED_CONFIG
int32_t hardCodedConfigIndex;
char * hardCodedConfigCommands[] =
{
"sensorStop ",
"flushCfg ",
"dfeDataOutputMode 1 ",
…
…
"!!!END_OF_HARD_CODED_COMMANDS"
};
#endif
#ifdef USE_HARD_CODED_CONFIG
hardCodedConfigIndex = 0;
CLI_write ("Wait some time for system to initialize...\n");
Task_sleep(100);
CLI_write ("Performing hard-coded config\n");
#endif
#ifdef USE_HARD_CODED_CONFIG
/* Run hard-coded commands, one at a time until '!!!END_OF_HARD_CODED_COMMANDS' is reached: */
if (hardCodedConfigCommands[hardCodedConfigIndex][0] != '!')
{
//CLI_write (hardCodedConfigCommands[hardCodedConfigIndex]);
CLI_write ("Command\n");
memcpy((void *)&cmdString[0], (void *)hardCodedConfigCommands[hardCodedConfigIndex],
strlen(hardCodedConfigCommands[hardCodedConfigIndex]));
hardCodedConfigIndex++;
}
/* Accept commands from UART after all hard-coded commands done: */
else
{
/* Read the command message from the UART: */
UART_read (gCLI.cfg.cliUartHandle, &cmdString[0], (sizeof(cmdString) - 1));
}
#else
/* Read the command message from the UART: */
UART_read (gCLI.cfg.cliUartHandle, &cmdString[0], (sizeof(cmdString) - 1));
#endif
Regards,
Jackson
Hello,
I am trying to rebuild the "Long Range People Counting" Lab without using ICBOOST or EVM board, it throws the following error:
Hello,
This seems unrelated to the HCC modifications you may have made. But can you please confirm
1. The project builds on your machine after importing from the toolbox without any modifications.
2. What are the actual changes you made to your project?
Regards,
Jackson
Hello Thomas,
1. yes I was trying to build the project after importing from the toolbox without any modifications.
2. I haven't made any changes to the project.
Hello,
This is a very strange error. Where is your project located and how did you import it into the CCS workspace?
gmake[1]: *** No rule to make target 'C:/ti/ccsv8/eclipse/dss/dss_main.c', needed by 'dss/dss_main.oe674'.
The above path seems to think the DSS folder in inside the CCS folder, not the workspace. This could be normal on the backend, but is not something I ever see in the console. Please make sure your toolbox folder is downloaded inside the C:/ti/ tolder and that you have imported the project using the CCS import GUI.
Regards,
Jackson