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.
Tool/software: Code Composer Studio
My team designed a new antenna board with new IC CP2105. That IC has maximum baud rate is 921600 bps. So I have to modify the IWR6843 device code (original is from mmWave toolbox: 68xx_3D_people_counting). But I don't know how to make a new bin file and flash it into the device.
I tried to import my modified device code into CCS and it failed as below
Please tell me all steps to solve it, have image instruction is better. Thanks.
Hector Ta said:So I have to modify the IWR6843 device code (original is from mmWave toolbox: 68xx_3D_people_counting).
The best way to do this is to make a copy of the example project you are starting from and then modify the code in the copied project to suit your application. If you do this the project should already be in a format suitable to be imported into CCS.
For some background information, the example projects in Industrial Toolbox are created using projectspecs. If you navigate to the \labs\people_counting\68xx_3D_people_counting\src directory inside the industrial toolbox, you will be able to view the projectspecs file. It is this file that provides CCS the information it requires about the project, so you would require to have these files in your project as well. More information on Projectspecs is in this page.
Hector Ta said:But I don't know how to make a new bin file and flash it into the device.
Regarding the bin file, the example projects generate the bin file during post-build step. You can view it from the Project Properties as shown below.
Thanks AartiG,
Do you mean after building project, bin file will be in the path mentioned in post-build steps? I tried to build project but it showed 2 errors in main_mss.c program (error #143: expression must have pointer-to-object type) as below:
Is this the reason why I can't generate bin file?
I don't think line 1792 and 1794 are wrong. Since in line 1793, 1795 also have outTrackerProc
I tried to modify outTrackerProc.numTargets[outTrackerProc.currentTargetDesc] to &(outTrackerProc.numTargets + outTrackerProc.currentTargetDesc). But it didn't work either.
Please tell me how to solve this issue.
Hector Ta said:Do you mean after building project, bin file will be in the path mentioned in post-build steps?
Yes, if those post-build steps are in place, it should generate the .bin file.
Hector Ta said:Is this the reason why I can't generate bin file?
Yes if there are errors in the main build, then it will not even get to the post-build steps.
The compiler errors shown here are C coding errors that are not specific to our tools. Without looking at the entire code, it is hard for us to provide specific guidance, but there should be several references and tips on the web to troubleshoot this type of error. Hopefully that will help point you in the right direction.