Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 5 out of 5     Rate this Document

The C Command "Interrupt" Does Not Works In My PIC Program

Primary Software: Electronics Workbench>>Multisim
Primary Software Version: 10.0.1
Primary Software Fixed Version: N/A
Secondary Software: Electronics Workbench>>Multisim MCU Module

Problem:

I am using the Multisim MCU Module and I have written my C code for a PIC that uses interrupts as specified by the HI-TECH PIC C User Manual. But my code is not executing as expected. Everything works fine once I stop using the interrupt command.

Why is this happening?



Solution: This issue has been identified in Multisim 10.x, and is a result of an issue with the HI-TECH PIC C Lite Compiler.

The HI-TECH PIC C Lite Compiler is accessed by Multisim behind the scenes in order to compile your microcontroller code. The issue arises because the HI-TECH compiler is not generating the correct startup code for the interrupt command.

We have made HI-TECH aware of the issue and we are working with them towards obtaining a solution.

Unfortunately there is no workaround at this time.



Related Links:

Attachments:





Report Date: 04/10/2008
Last Updated: 04/22/2008
Document ID: 4K9A8O5B

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit