Hello,
we are using ARM core cortex-M0 in our chipset and we would like to enhance our FW code quality by having a view on the code coverage of our test suite.
What are the available tools, hw / SW? what could be the advantage to adopt a M0+ core instead of M0?
Is there also some solution available on HW simulation environment?
Thanks
Hi Alexis,
Assume you captured the PC value in a file during Verilog simulation, is that correct?
If you are using DS-5 (or Keil MDK), you can generate a disassembled listing using
fromelf -c -d -e -s my_test.elf > my_test.lst
Being a geek, I would create a simple Perl script that go through each line of code, extract the PC value and see if it is covered in the text file containing PC values.
regards,
Joseph
I am usualy using LCOV for the codecoverage analysis. Do you know if there is a smart way to convert data in the right format?
Regards,
Alexis
Sorry, I don't know if there is any tool that can do that.
joseph