Part Number: TDA4VM
Tool/software:
Hi TI,
We are developing the IPC firmware for the MCU R5F core, using the 09_02_00 release version.
We followed the procedure outlined in this link: https://software-dl.ti.com/codegen/docs/tiarmclang/rel2_1_0_LTS/compiler_manual/code_coverage/source_based_code_coverage.html
We added the coverage flag in the following file location:
Location: ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/build/makerules/rules_ti_cgt_arm.mk
Change: makefile
rules_ti_cgt_arm.mk:51:
CC = $(TOOLCHAIN_PATH_$(CGT_ISA_PATH_PRFX))/bin/tiarmclang -fprofile-instr-generate -fcoverage-mapping
After building with that flag, we noticed an increase in file size, confirming that the flag is working.
The firmware is functioning correctly on the TDA4VM kit, but we are unsure where the code coverage data is stored, as FreeRTOS does not have a filesystem.
Where can we retrieve the code coverage data in the RTOS firmware?