Code coverage tools?

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Apart from the IAR C-SPY tool, I can find nothing that gives code coverage figures. Is anyone aware of any means of extracting code coverage values from the ICE50? I need to get the figures from an emulator interacting with target hardware, rather than from a simulator.

Regards,

Colin

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

WinAVR comes with gcov. I haven't used this in particular, but some
time back I used an analogous tool on a PPC. We just let the counters
collect as we ran our test suite, then dumped the raw tables (we used a
serial port, but I assume you could do something similar with the ICE50)
into the equivalent of a .da file, then ran the analysis program on
the host.

It's not exactly turnkey, but we managed to automate most of the
process.