Release Notes for MPLAB® SIM Simulator
MPLAB® IDE v8.00
|
SIM12 DLL |
v1.60 |
|
SIM16 DLL |
v1.60 |
|
SIM17 DLL |
v8.62 |
|
SIM18 DLL |
v2.60 |
|
SIM30 DLL |
v3.60 |
|
SIM32 DLL |
v00.00.00.45 |
October 4, 2007
Table of Contents
2 Operating
System Support List
5 Simulator
Operation and Displays (Except PIC17 Devices)
|
dsPIC30F1010 |
dsPIC30F3013 |
dsPIC30F5015 |
|
dsPIC30F2010 |
dsPIC30F3013e |
dsPIC30F5015e |
|
dsPIC30F2011 |
dsPIC30F3014 |
dsPIC30F5016 |
|
dsPIC30F2011e |
dsPIC30F3014e |
dsPIC30F6010 |
|
dsPIC30F2012 |
dsPIC30F4011 |
dsPIC30F6010A |
|
dsPIC30F2012e |
dsPIC30F4011e |
dsPIC30F6011 |
|
dsPIC30F2020 |
dsPIC30F4012 |
dsPIC30F6011A |
|
dsPIC30F2023 |
dsPIC30F4012e |
dsPIC30F6012 |
|
dsPIC30F3010 |
dsPIC30F4013 |
dsPIC30F6012A |
|
dsPIC30F3010e |
dsPIC30F4013e |
dsPIC30F6013 |
|
dsPIC30F3011 |
dsPIC30F5011 |
dsPIC30F6013A |
|
dsPIC30F3011e |
dsPIC30F5011e |
dsPIC30F6014 |
|
dsPIC30F3012 |
dsPIC30F5013 |
dsPIC30F6014A |
|
dsPIC30F3012e |
dsPIC30F5013e |
dsPIC30F6015 |
|
|
|
|
|
dsPIC33FJ128GP206 |
dsPIC33FJ128MC708 |
dsPIC33FJ64GP310 |
|
dsPIC33FJ128GP306 |
dsPIC33FJ128MC710 |
dsPIC33FJ64GP706 |
|
dsPIC33FJ128GP310 |
dsPIC33FJ256GP506 |
dsPIC33FJ64GP708 |
|
dsPIC33FJ128GP706 |
dsPIC33FJ256GP510 |
dsPIC33FJ64GP710 |
|
dsPIC33FJ128GP708 |
dsPIC33FJ256GP710 |
dsPIC33FJ64MC506 |
|
dsPIC33FJ128GP710 |
dsPIC33FJ256MC510 |
dsPIC33FJ64MC508 |
|
dsPIC33FJ128MC506 |
dsPIC33FJ256MC710 |
dsPIC33FJ64MC510 |
|
dsPIC33FJ128MC510 |
dsPIC33FJ64GP206 |
dsPIC33FJ64MC706 |
|
dsPIC33FJ128MC706 |
dsPIC33FJ64GP306 |
dsPIC33FJ64MC710 |
|
|
|
|
|
PIC10F200 |
PIC10F204 |
PIC10F220 |
|
PIC10F202 |
PIC10F206 |
PIC10F222 |
|
|
|
|
|
PIC12C508 |
PIC12CR509A |
PIC12F683 |
|
PIC12C508A |
PIC12F508 |
PIC12HV609 |
|
PIC12C509 |
PIC12F509 |
PIC12HV615 |
|
PIC12C509A |
PIC12F510 |
rfPIC12C509AF |
|
PIC12C671 |
PIC12F519 |
rfPIC12C509AG |
|
PIC12C672 |
PIC12F609 |
rfPIC12F675F |
|
PIC12CE518 |
PIC12F615 |
rfPIC12F675H |
|
PIC12CE519 |
PIC12F629 |
rfPIC12F675K |
|
PIC12CE673 |
PIC12F635 |
|
|
PIC12CE674 |
PIC12F675 |
|
|
|
|
|
|
PIC16C432 |
PIC16C765 |
PIC16F685 |
|
PIC16C433 |
PIC16C77 |
PIC16F687 |
|
PIC16C505 |
PIC16C770 |
PIC16F688 |
|
PIC16C54 |
PIC16C771 |
PIC16F689 |
|
PIC16C54C |
PIC16C773 |
PIC16F690 |
|
PIC16C55 |
PIC16C774 |
PIC16F716 |
|
PIC16C554 |
PIC16C781 |
PIC16F72 |
|
PIC16C557 |
PIC16C782 |
PIC16F73 |
|
PIC16C558 |
PIC16C923 |
PIC16F737 |
|
PIC16C55A |
PIC16C924 |
PIC16F74 |
|
PIC16C56 |
PIC16C925 |
PIC16F747 |
|
PIC16C56A |
PIC16C926 |
PIC16F76 |
|
PIC16C57 |
PIC16CE623 |
PIC16F767 |
|
PIC16C57C |
PIC16CE624 |
PIC16F77 |
|
PIC16C58A |
PIC16CE625 |
PIC16F777 |
|
PIC16C58B |
PIC16CR54 |
PIC16F785 |
|
PIC16C620 |
PIC16CR54A |
PIC16F818 |
|
PIC16C620A |
PIC16CR54C |
PIC16F819 |
|
PIC16C621 |
PIC16CR56A |
PIC16F83 |
|
PIC16C621A |
PIC16CR57C |
PIC16F84 |
|
PIC16C622 |
PIC16CR58B |
PIC16F84A |
|
PIC16C622A |
PIC16CR62 |
PIC16F87 |
|
PIC16C62A |
PIC16CR620A |
PIC16F870 |
|
PIC16C62B |
PIC16CR63 |
PIC16F871 |
|
PIC16C63 |
PIC16CR64 |
PIC16F872 |
|
PIC16C63A |
PIC16CR65 |
PIC16F873 |
|
PIC16C642 |
PIC16CR72 |
PIC16F873A |
|
PIC16C64A |
PIC16CR83 |
PIC16F874 |
|
PIC16C65A |
PIC16CR84 |
PIC16F874A |
|
PIC16C65B |
PIC16F505 |
PIC16F876 |
|
PIC16C66 |
PIC16F506 |
PIC16F876A |
|
PIC16C662 |
PIC16F54 |
PIC16F877 |
|
PIC16C67 |
PIC16F57 |
PIC16F877A |
|
PIC16C71 |
PIC16F59 |
PIC16F88 |
|
PIC16C710 |
PIC16F610 |
PIC16F882 |
|
PIC16C711 |
PIC16F616 |
PIC16F883 |
|
PIC16C712 |
PIC16F627 |
PIC16F884 |
|
PIC16C715 |
PIC16F627A |
PIC16F886 |
|
PIC16C716 |
PIC16F628 |
PIC16F887 |
|
PIC16C717 |
PIC16F628A |
PIC16F913 |
|
PIC16C72 |
PIC16F630 |
PIC16F914 |
|
PIC16C72A |
PIC16F631 |
PIC16F916 |
|
PIC16C73A |
PIC16F636 |
PIC16F917 |
|
PIC16C73B |
PIC16F639 |
PIC16F946 |
|
PIC16C745 |
PIC16F648A |
PIC16HV540 |
|
PIC16C74A |
PIC16F676 |
PIC16HV610 |
|
PIC16C74B |
PIC16F677 |
PIC16HV616 |
|
PIC16C76 |
PIC16F684 |
PIC16HV785 |
|
|
|
|
|
PIC17C42 |
PIC17C752 |
PIC17C766 |
|
PIC17C42A |
PIC17C756 |
PIC17CR42 |
|
PIC17C43 |
PIC17C756A |
PIC17CR43 |
|
PIC17C44 |
PIC17C762 |
|
|
|
|
|
|
PIC18C242 |
PIC18F4420 |
PIC18F66J50 |
|
PIC18C252 |
PIC18F4423 |
PIC18F66J55 |
|
PIC18C442 |
PIC18F4431 |
PIC18F66J60 |
|
PIC18C452 |
PIC18F4450 |
PIC18F66J65 |
|
PIC18C601 |
PIC18F4455 |
PIC18F6720 |
|
PIC18C658 |
PIC18F4458 |
PIC18F6722 |
|
PIC18C801 |
PIC18F448 |
PIC18F67J10 |
|
PIC18C858 |
PIC18F4480 |
PIC18F67J11 |
|
PIC18F1220 |
PIC18F44J10 |
PIC18F67J50 |
|
PIC18F1230 |
PIC18F4510 |
PIC18F67J60 |
|
PIC18F1320 |
PIC18F4515 |
PIC18F8310 |
|
PIC18F1330 |
PIC18F452 |
PIC18F8390 |
|
PIC18F2220 |
PIC18F4520 |
PIC18F83J11 |
|
PIC18F2221 |
PIC18F4523 |
PIC18F83J90 |
|
PIC18F2320 |
PIC18F4525 |
PIC18F8410 |
|
PIC18F2321 |
PIC18F4550 |
PIC18F8490 |
|
PIC18F2331 |
PIC18F4553 |
PIC18F84J11 |
|
PIC18F2410 |
PIC18F458 |
PIC18F84J90 |
|
PIC18F242 |
PIC18F4580 |
PIC18F8520 |
|
PIC18F2420 |
PIC18F4585 |
PIC18F8525 |
|
PIC18F2423 |
PIC18F45J10 |
PIC18F8527 |
|
PIC18F2431 |
PIC18F4610 |
PIC18F8585 |
|
PIC18F2450 |
PIC18F4620 |
PIC18F85J10 |
|
PIC18F2455 |
PIC18F4680 |
PIC18F85J11 |
|
PIC18F2458 |
PIC18F4682 |
PIC18F85J15 |
|
PIC18F248 |
PIC18F4685 |
PIC18F85J50 |
|
PIC18F2480 |
PIC18F6310 |
PIC18F85J90 |
|
PIC18F24J10 |
PIC18F6390 |
PIC18F8620 |
|
PIC18F2510 |
PIC18F63J11 |
PIC18F8621 |
|
PIC18F2515 |
PIC18F63J90 |
PIC18F8622 |
|
PIC18F252 |
PIC18F6410 |
PIC18F8627 |
|
PIC18F2520 |
PIC18F6490 |
PIC18F8680 |
|
PIC18F2523 |
PIC18F64J11 |
PIC18F86J10 |
|
PIC18F2525 |
PIC18F64J90 |
PIC18F86J11 |
|
PIC18F2550 |
PIC18F6520 |
PIC18F86J15 |
|
PIC18F2553 |
PIC18F6525 |
PIC18F86J16 |
|
PIC18F258 |
PIC18F6527 |
PIC18F86J50 |
|
PIC18F2580 |
PIC18F6585 |
PIC18F86J55 |
|
PIC18F2585 |
PIC18F65J10 |
PIC18F86J60 |
|
PIC18F25J10 |
PIC18F65J11 |
PIC18F86J65 |
|
PIC18F2610 |
PIC18F65J15 |
PIC18F8720 |
|
PIC18F2620 |
PIC18F65J50 |
PIC18F8722 |
|
PIC18F2680 |
PIC18F65J90 |
PIC18F87J10 |
|
PIC18F2682 |
PIC18F6620 |
PIC18F87J11 |
|
PIC18F2685 |
PIC18F6621 |
PIC18F87J60 |
|
PIC18F4220 |
PIC18F6622 |
PIC18F96J60 |
|
PIC18F4221 |
PIC18F6627 |
PIC18F96J65 |
|
PIC18F4320 |
PIC18F6680 |
PIC18F97J60 |
|
PIC18F4321 |
PIC18F66J10 |
PIC18LF24J10 |
|
PIC18F4331 |
PIC18F66J11 |
PIC18LF25J10 |
|
PIC18F4410 |
PIC18F66J15 |
PIC18LF44J10 |
|
PIC18F442 |
PIC18F66J16 |
PIC18LF45J10 |
|
|
|
|
|
PIC24FJ128GA006 |
PIC24FJ64GA006 |
PIC24FJ96GA006 |
|
PIC24FJ128GA008 |
PIC24FJ64GA008 |
PIC24FJ96GA008 |
|
PIC24FJ128GA010 |
PIC24FJ64GA010 |
PIC24FJ96GA010 |
|
|
|
|
|
PIC24HJ128GP206 |
PIC24HJ128GP510 |
PIC24HJ64GP210 |
|
PIC24HJ128GP210 |
PIC24HJ256GP206 |
PIC24HJ64GP506 |
|
PIC24HJ128GP306 |
PIC24HJ256GP210 |
PIC24HJ64GP510 |
|
PIC24HJ128GP310 |
PIC24HJ256GP610 |
|
|
PIC24HJ128GP506 |
PIC24HJ64GP206 |
|
|
dsPIC30F2010e |
|
|
|
|
|
|
|
dsPIC33FJ128GP202 |
dsPIC33FJ12MC201 |
dsPIC33FJ32MC302 |
|
dsPIC33FJ128GP204 |
dsPIC33FJ12MC202 |
dsPIC33FJ32MC304 |
|
dsPIC33FJ128GP802 |
dsPIC33FJ16GP304 |
dsPIC33FJ64GP202 |
|
dsPIC33FJ128GP804 |
dsPIC33FJ16MC304 |
dsPIC33FJ64GP204 |
|
dsPIC33FJ128MC202 |
dsPIC33FJ32GP202 |
dsPIC33FJ64GP802 |
|
dsPIC33FJ128MC204 |
dsPIC33FJ32GP204 |
dsPIC33FJ64GP804 |
|
dsPIC33FJ128MC802 |
dsPIC33FJ32GP302 |
dsPIC33FJ64MC202 |
|
dsPIC33FJ128MC804 |
dsPIC33FJ32GP304 |
dsPIC33FJ64MC204 |
|
dsPIC33FJ12GP201 |
dsPIC33FJ32MC202 |
dsPIC33FJ64MC802 |
|
dsPIC33FJ12GP202 |
dsPIC33FJ32MC204 |
dsPIC33FJ64MC804 |
|
|
|
|
|
PIC16F526 |
PIC16F723 |
PIC16F726 |
|
PIC16F722 |
PIC16F724 |
PIC16F727 |
|
|
|
|
|
PIC18F13K50 |
PIC18F46K20 |
PIC18F8313 |
|
PIC18F14K50 |
PIC18F6313 |
PIC18F8393 |
|
PIC18F24K20 |
PIC18F6393 |
PIC18F8413 |
|
PIC18F25K20 |
PIC18F6413 |
PIC18F8493 |
|
PIC18F26K20 |
PIC18F6493 |
PIC18F8628 |
|
PIC18F44K20 |
PIC18F6628 |
PIC18F8723 |
|
PIC18F45K20 |
PIC18F6723 |
PIC18F87J50 |
|
|
|
|
|
PIC24FJ128GA106 |
PIC24FJ192GB106 |
PIC24FJ48GA002 |
|
PIC24FJ128GA108 |
PIC24FJ192GB108 |
PIC24FJ48GA004 |
|
PIC24FJ128GA110 |
PIC24FJ192GB110 |
PIC24FJ64GA002 |
|
PIC24FJ128GB106 |
PIC24FJ256GA106 |
PIC24FJ64GA004 |
|
PIC24FJ128GB108 |
PIC24FJ256GA108 |
PIC24FJ64GA106 |
|
PIC24FJ128GB110 |
PIC24FJ256GA110 |
PIC24FJ64GA108 |
|
PIC24FJ16GA002 |
PIC24FJ256GB106 |
PIC24FJ64GA110 |
|
PIC24FJ16GA004 |
PIC24FJ256GB108 |
PIC24FJ64GB106 |
|
PIC24FJ192GA106 |
PIC24FJ256GB110 |
PIC24FJ64GB108 |
|
PIC24FJ192GA108 |
PIC24FJ32GA002 |
PIC24FJ64GB110 |
|
PIC24FJ192GA110 |
PIC24FJ32GA004 |
|
|
|
|
|
|
PIC24HJ128GP202 |
PIC24HJ12GP202 |
PIC24HJ32GP304 |
|
PIC24HJ128GP204 |
PIC24HJ16GP304 |
PIC24HJ64GP202 |
|
PIC24HJ128GP502 |
PIC24HJ32GP202 |
PIC24HJ64GP204 |
|
PIC24HJ128GP504 |
PIC24HJ32GP204 |
PIC24HJ64GP502 |
|
PIC24HJ12GP201 |
PIC24HJ32GP302 |
PIC24HJ64GP504 |
|
|
|
|
|
PIC32MX300F032H |
PIC32MX320F128L |
PIC32MX360F512L |
|
PIC32MX320F064H |
PIC32MX340F256H |
|
|
PIC32MX320F128H |
PIC32MX360F256L |
|
This tool has been tested under the following operating systems:
Windows® 2000 SP4, Windows XP SP2, and
Windows Vista™ (32-Bit)*
* Only initial
testing has been performed on 32-bit
NOTE: Windows NT® and Windows 98/ME OSs are NOT supported.
The following documents may be found on our website or MPLAB IDE CD-ROM:
· MPLAB IDE User's Guide (DS51519)
· MPLAB IDE Quick Start Guide (DS51281)
· MPLAB IDE Quick Chart (DS51410)
On-line help (Help>Topics) is also available for this tool:
· Debuggers>MPLAB SIM - hlpMPLABSIM.chm
· Bug fixes.
· Added simulation support for Microchip 32 bit MCU’s.
Stimulus Control Language (SCL) is used for controlling the synchronous stimulation of the application under test. An SCL Generator component (dialog) is provided for automatically generating SCL stimulus programs, which can then be attached to the simulation session. A separate Stimulus Control component (dialog) also supports generation of asynchronous stimulus, which may be used independently of, or in conjunction with, the synchronous stimulus.
The Oscillator setting can be changed to allow accurate timing of instructions through the Stopwatch display.
The MIPS rating of the last executed code segment (not stepped code)can be displayed in the output window. This is the execution speed of the simulator, not of the target, which would execute at speeds using a specific oscillator. This will be different depending on the system on which you are running MPLAB IDE.
When trace is enabled, there may be a reduction of speed with the simulator performance. If trace is disabled, there is no speed issue.
There is now printf() support in output window (for MPLAB C18 and MPLAB C30 compilers.) C Library File IO support is added using a check box in the UART1 IO tab of the Settings dialog. This uses file names placed in the text fields on UART1, taking priority over any Stimulus or Response files attached to UART1.
The simulator for the 16-bit families (SIM30) does not support any features related to Code Guard or secure segment programming.
The simulator has no separate hardware stack. The stack is mapped into the 16-bit data memory space and can be viewed by setting a watch or opening the file register window at the appropriate location.
NOTE: MPLAB IDE now has a software (call) stack window.
The File Register Window has additional features for supporting dsPIC devices. The File Register Window has an additional "X/Y Memory" tab that allows the inspection/modification of this memory space. X and Y memory space is differentiated in the display, and the basic operation is similar to the File Register Window.
The Program Memory Window has two additional tabs: "PSV" and "Mixed." When PSV memory is enabled on the device, the PSV window will show 16-bit data and labels at the addresses mapped. The Mixed display shows memory in both 24-bit and 16-bit, and will tag data with labels and will disassemble instructions. This memory can be viewed as both program memory and PSV data memory in the case where code and data share this area.
The memory in
PIC32MX is implemented as one unified memory (from the MPLAB IDE main menu,
select View>Memory). There
is not a separate window to show RAM memory .The unified memory window displays
RAM memory, Program memory and Boot Flash. This supports breakpoints, stepping,
trace and other execution features associated with program memory, boot flash
and RAM memory. You can navigate to different memory regions using the Go To
option (select Edit>Go To).
Tabs at the bottom of the display, as used on current displays, let you switch
views between Machine code and Symbolic code.
There are two other
types of memory window for display. They are CPU Registers and SFR/Peripherals.
Select View>CPU Registers
to display all CPU Registers. Select View>SFR/Peripherals
to display registers associated with different peripherals.
The simulator has no separate hardware stack. The stack is
mapped into the 32-bit data memory space and can be viewed by setting a watch
or opening the file register window at the appropriate location.
General limitations applicable to simulator support for other PIC/DSC MCU’s are also applicable to PIC32MX devices
Peripheral simulation
support for PIC32MX:
The following PIC32MX peripheral modules are simulated:
· UART
The following modules/features not simulated:
· Direct Memory Access Controller(DMAC)
· Power saving (Sleep and Idle) modes.
· Serial I/O ( I2C and SPI). As a result, the SSPSTAT register has been made readable and writable.
· Enhanced Parallel Master Port (EPMP).
· Real Time Clock and Calendar
· Comparator voltage reference
· Oscillator I/O control
· Watch Dog Timer(WDT)
· Flash Programming
· Pre-fetch CACHE
· PLL multiplier and divider
· Bus Matrix Configuration
Oscillator switching is not supported by the simulator.
Separate Peripheral Bus clock is not implemented. PB clock is the same as the CPU clock.
The Complex Breakpoint feature is not implemented.
The behavior of the stepping operation may not be different when Instruction or Cycle is selected under simulator settings.
The following is a list of known problems. For information on common problems, error messages and limitations, please see Troubleshooting in the online help file for MPLAB SIM (hlpMPLABSIM.chm).
System Service Requests (SSRs):
|
26235: |
PIC17C44: TABLATL and TABLATH do not get updated in the Watch window. |
|
26495: |
Trace window Reset Time Stamp does not reset the timestamp for Simulators. Time stamp currently same as simulator time. Use Reset command from menu. |
|
27065: |
Software clock switching is not simulated. |
|
27447: |
COSC <2> and NOSC<2> bits of OSCCON register may not correctly reflect the current oscillator selection. |
|
27634: |
PIC18F devices: DAW instruction does not work as expected when DC and C are set. |
|
27707: |
Simulator (and trace) are incorrectly calculating the number of cycles required by a PSV access for dsPIC30F devices. |
|
28363: |
For PIC24F and possibly some PIC18F devices, simulator does not implement the RC coupling delay experienced on real silicon when I/O PORT's are written to followed by an immediate read operation. |
|
28391: |
Logic Analyzer is currently only cycle based. |
|
28401: |
Logic Analyzer help indicates that trigger value
can be entered in the text box, but this has not been implemented yet. |
|
28576 |
PWM Ouput override is not implemented for dsPIC33
and dsPIC30F devices in simulator. |
|
28770: |
Simulator does not support table writes to config bits limitation needs to be added for PIC18 devices. |
|
29088: |
Interrupt on the falling edge does
not occur on PIC16C781/2. |
|
29518: |
Flash configuration word write using table write
operation is not implemented for PIC24F devices. |
|
MPLAB-428: |
Step-Out" is grayed out when MPLAB SIM is
selected as debug tool for all 16 bit devices. |
|
MPLAB-661: |
[Call
Stack] Simulator can hang when stepping through MPLAB C30 optimized code with
the Call Stack window open. |
|
SIM-123: |
Access of reserved memory space and device ID
using table read instruction is not implemented in simulator for 16 bit
devices. |
|
SIM-256: |
Alternate buffer fill ADC operation may not be
accurate in simulator for PIC24H and dsPIC33F devices. |
|
SIM-292: |
Simulator doesn't follow the sequence breakpoints
when one of the breakpoints is in loop. |
|
SIM32-3: |
UART1 and UART2 do not generate receive error interrupt (UxEIF) when receiver overrun error has occurred |
|
SIM32-8: |
Modifying debug window during stepping may cause in accuracy in timing |
|
SIM32-30: |
EHB, JALR.HB, JR.HB, SYNC, RDHWR, SYSCALL, SDBBP and WRPGPR are not implemented in simulator EHB |
|
SIM32-31: |
16 bit mode Instructions SEB, SEH, ZEB and ZEH are not implemented in simulator |
|
SIM32-45 |
Flash Control Event Interrupt may not work correctly in simulator |
|
SIM32-48: |
Interrupt latency may be off by 1-2 cycles in simulator |
|
SIM32-67: |
Attempt to read from config memory location generates trap |
|
SIM32-93 |
Divide operation on variables of type long long may give incorrect result |