This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to implement the "code coverage" function of keil in AGDI driver or in hardware

I want to design a emulator and implement the "code coverage" function in the emulator,what should I do? I guess I should do sth. in AGDI driver or in emulator hardware.Am I right?Who can tell me the right way?

Parents
  • I had read it before a few days,but I found that the implementing of "Code Coverage" was uncompleted in the application note.It only mention "supp.hCover", but the "supp.hCover=1" can only enable the "Code Coverage" button of toolbar in keil.After I had ran code and then stopped running in keil,I could not see any "green flags" on the left vertical bar of the code area,these green flags can indicate all instructions that have been executed,but they didn't appear.If I pressed the "code coverage" button in my testing about "supp.hCover",Keil would show me a dialog,but the dialog could tell me nothing.

    So I think the implementing of "Code Coverage" was uncompleted in the application note,maybe I need a detailed spec of AGDI.

Reply
  • I had read it before a few days,but I found that the implementing of "Code Coverage" was uncompleted in the application note.It only mention "supp.hCover", but the "supp.hCover=1" can only enable the "Code Coverage" button of toolbar in keil.After I had ran code and then stopped running in keil,I could not see any "green flags" on the left vertical bar of the code area,these green flags can indicate all instructions that have been executed,but they didn't appear.If I pressed the "code coverage" button in my testing about "supp.hCover",Keil would show me a dialog,but the dialog could tell me nothing.

    So I think the implementing of "Code Coverage" was uncompleted in the application note,maybe I need a detailed spec of AGDI.

Children