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.

CCS/TMS320F2812: How do I get SW simulator to induce interrupts from timer

Part Number: TMS320F2812


Tool/software: Code Composer Studio

I have TMS320F2812 code from another project written by another engineering group that had real hardware.  I'm analyzing code and have loaded the core simulator.   I was able to trace through code and run etc  cleanly, it was quite obvious that a lot of background routine wasn't running.  The code uses PIE T2PINT (INT3)  to invoke interrupt service routine   at 1,000Hz. The code has all the stuff to configure and a separate boot loader code. Not sure how to load both boot loader object and main app then execute code starting from the boot loader? Not sure if that's just part of my problem but looking at the code, it appears that the main app has nearly same routine that configures the hardware I'm using.  Do I need to load a device(s) simulator as well or is my issue just part of the limitation of the simulator?   

  • Are you using CCS? Are you able to inspect the registers and confirm that the bits required to enable the interrupt are all set? Can you see the interrupt flags being set?

    I'm working on contacting an expert on using a simulator to answer your specific questions. Someone should get back to you soon.

    Whitney
  • Paul,

    I suspect you are using CCS v3.3 as F2812 simulator support was removed in later versions of CCS. Is that so?
    That version of CCS is very old and no longer supported. Even so, I don't believe the simulator had support for simulating interrupts.

    Your best bet would be to obtain a development kit for F2812 to run code directly on hardware, and at the same time update to a newer version of CCS.