This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to set up a breakpoint for writing data in RAM with experimenter kit?

I  want to set up a hardware breakpoint when RAM data in certain block of memory  gets (over-) written.  I'm running my application off Piccola Experimenter Kit with F28027 controlCARD.  (CCS version: 3.3.81.28; Integrated Development: 5.98.0.393.)  I'm tring to find out when and how data in RAM address f800 ~ f89f gets overwritten. 

Any comment is appreciated.

  • Use the Emualtion Analysis Unit. Setup this unit to watch for data memory write accesses. You specify the address in AU1 and the data pattern in AU2.

    I have attached a laboratory procedure from my classes. This setup will break the code execution, when the defined trigger condition is true. You can also modify this setup to request an interrupt.

    Regards

     

     

     

    Lab9_1.pdf
  • Frank,

     

    Great PDF file.  The instruction was clear and helpful.  One more question, what if I to break for data write access for a block memeory, say from 0x600 to 060ff?  Do I set don't cares for the last 4 bits in AU1 setup -> Bus Data Monotor tab or it can be achieved in another way?

     

    Thanks,

  • Yes, the don't care address bits will give you a watch area. FOr example, if you declare addressbits 0..3 as don't care, you will get a watch area of 16 addresses.

    Regards