Tool/software: Code Composer Studio
Hi Sir,
I am working on code coverage and profiling functionality in CCS. I have used the userguide for support(MSP430 Optimizing C/C++ Compiler v18.1.0.LTS).
In section 3.5.1.4, it mentioned the sample code.
I have changed the MSP430 compiler flag sets accordingly(led_project ->Build_properties -> CCS build -> MSP430 compiler)
-vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv8/ccs_base/msp430/include" --include_path="C:/Users/s/workspace_v8/led_project" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-msp430_18.1.4.LTS/include" --advice:power="all" --advice:hw_config="all" --define=__MSP430FR5969__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --gen_profile_info
When I done the above method, the .pdat file has to be created in the same directory. (as far as, if I am using the Tool instead of command line). But, I couldn't able to find it.
And also, If I use command line for processing the above method, then path inclusion causing error(missing files error). So, If I want to do the same in tool, is the above steps taken are correct?. how could we see this file and which folder.
From userguide point of view, I would like to implement below settings:
Phase 1:
1. Compiler_invoke with --gen_profile_info
2. Generate instrumentation code(.pdat files)
3. Run .pdat file on target with I/ O sets.(Console I/ O)
4. Post process with PDD430 Profile data decoder.
5. consolidate files into .prf file
Phase 2:
1. run the .prf file using --user_profile_info=.prf_file