Release Notes for MPLAB® SIM Simulator

MPLAB® IDE v8.33

SIM12 DLL

v2.10

SIM16 DLL

v2.10

SIM17 DLL

v8.62

SIM18 DLL

v3.20

SIM30 DLL

v4.10

SIM32 DLL

v0.0.10.06

June 10, 2009

Table of Contents

1      Device Support

2      Operating System Support

3      Reference Documents

4      What's New in v8.33

5      Repairs and Enhancements Made in v8.33

6      Known Problems

1         Device Support

Click the link below to see device support for the simulator (SIM).

·         Device Support List

2         Operating System Support

This tool has been tested under the following operating systems:

Windows® 2000 SP4, Windows XP SP2, and Windows Vista™ (32-Bit and 64-bit) OSs

NOTE: Windows NT® and Windows 98/ME OSs are NOT supported.

3         Reference Documents

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

4         What's New in v8.33

None.

5         Repairs and Enhancements Made in v8.33

SIM-451

Click on Help button in the Stimulus window does not navigate to Help page

SIM-494

INTCON2 register of 16 bit PPS devices get locked for writing when IOLOCK bit is set

SIM-501

Timer5 interrupt does not branch execution to ISR even if T5IF bit is set for dsPIC33FJ128MC802

SIM-507

The value in Timer 1 is captured even after the CCP module is turned off for PIC18F2420

SIM-542

ADC simulation for Midrange devices broken. Only 8 bit result is loaded on to ADC result register

SIM-547

MOVWI or MOVIW instruction with literal offset does not work when operating on linear RAM space for PIC16F19xx devices

SIM-551

Some bits in PORTA, PORTB, and PORTE are always 0. Even though multiplexed peripherals are disabled for 18F44K20 and 18F45K20.

SIM-558

Unable to simulate capture modes of CCP1 for the device 18F4455

SIM-576

DMA module doesn’t work for many dsPIC33F devices

5.1        Repairs and Enhancements Made in v8.30

SIM-406

ADRES register is not getting updated with ADC conversion result after conversion period is over for PIC16F72X Family devices.

SIM-471

[16F72x] POR or BOR does not clear status bit in PCON register for PIC16F72X devices.

SIM-472

Flash read operation through software does not read flash for PIC16F72X devices.

SIM-487

SFR's such as STATUS, INTCON etc cannot be accessed for r/w when current Bank is between 4 to 31 for PIC16F19xx devices.

SIM-503

Prescaler 1:64 is not implemented for Timer2, Timer4 and Timer6 for PIC16F19xx devices.

SIM-504

Timer4 and Timer6 for PIC16F19xx device does not trigger interrupt in simulator.

6         Known Problems

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).

Debug/Release Build Configuration

Building a project for the simulator under Debug mode will cause unrequired resources to be used. This may cause code without proper paging or banking operations not to function in this mode for 8 bit devices.

Cycle Accuracy Issues on SIM32

At this time the Pic32 simulator has some variations in cycle accuracy when compared to the real silicon. The Pic32 simulator does not simulate things like the cache, pre-fetch buffer, wait states and Bus matrix divisions. The Bus matrix is fixed at 1:1 with the processor clock. This can have an effect of making algorithm timing loops appear to be slower than they are in real silicon. Each instruction is accurate in execution and timing in itself.

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 PORTs are written to followed by an immediate read operation.

28391:

Logic Analyzer is currently only cycle based.

28576

PWM Output override is not implemented for dsPIC33 and dsPIC30F devices in simulator.

28770:

Simulator does not support table writes to the configuration bits; a 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.

SIM-285:

ISR entry latency for Soft trap do not match silicon for 16-bit simulator.

SIM-363:

Request to access the Device ID via table read instruction in the Simulator for 16 bit devices.

SIM-365:

Programming/Erase of flash word option is not simulated for PIC24F devices

SIM-381:

Code Guard feature for Data memory, EEPROM, Program/Erase of Config fuses and flash not supported in this release'

SIM-399:

RE3 bit of PORTE is always set to 1 for PIC18F26K20 & PIC18F46K20 devices.

SIM-404:

Value of the STKPTR wraps around after the Stack Overflow, even when the configuration bit "Stack Overflow Reset" (STVR=OFF) is disabled for PIC18F1220

SIM-423:

Flash and EEPROM write/Erase operation does not work for many options for PIC24FKA devices

SIM-446:

Simulator causes reset or behaves incorrectly if instruction at 4th cycle lag of stack error trap happens to be stack related instruction for 16 bit devices

SIM-447:

Peripheral pin selection for T3CK does not work for dsPIC33FJ32GP204, 33FJ32MC204, 33FJ16GP304, 33FJ16MC304 devices.

SIM-457:

You may see unexpected behavior in the code execution when using stimulus having signals name INT1, INT2, T3CK for some of dsPIC33FJ peripheral pin selectable devices. As a work around, in the stimulus file, use mapped port pin names (Ex: if T2CK mapped to RB8, use RB8) instead of peripheral pin names.

SIM-465:

Animate sometime crashes MPLAB IDE when logic analyzer window is open.

SIM-473:

[16F72X ] Timer gated mode operations such as single pulse, toggle mode are not implemented in simulator for PIC16F72X and 16F19xx devices.

SIM-474:

[16F72x} Timer1 gated mode operation does not work when gate source is other than T1G input for 16F72X and 16F19xx family devices.

SIM-480:

Input Capture2 to 5 does not respond to input and capture never happens for PIC24F PPS devices having Enhanced capture module.

SIM-486:

Stepping over a MACRO causes MPSIM to hang for PIC12F683.

SIM-514:

Special event trigger of ECCP module does not trigger the ADC in the device family 18F14K50

SIM-518:

Load program flash "write latches" operation will also write program flash for PIC16F19xx

SIM-539:

PWM auto shut down feature is not implemented for PIC16F19xx devices

SIM-546:

16F688 EUSART shows incorrect timing for 16-bit asynchronous transmit of 1-byte.

SIM-552:

18F8722 Read modify write instruction MOVF PCL,1 uploads the contents of PCH and PCU with contents of PCLATH and PCLATU.

SIM-553:

Unable to enable INT1 and ADC1 for dsPIC33FJxxxGS Family devices

SIM-556:

USB TRISF bits on the 18F87J50 family should be unimplemented, but can write a '1' to them

SIM-557:

Cannot map T4CK, T5CK pin for dsPIC33FJ64MCX02/X04, dsPIC33FJ128MCX02/X04 - Simulator issues” Crossbar I/O T4CK does not map to any RPx pin" message;

SIM-565:

Alternate Pin function for 12F615 is not implemented.

SIM-572:

Invalid message "Pin(s) (0x4000) on PORTB can not be stimulated due to being controlled by the A/D converter" generated when INT1 is mapped to certain RP (RB) pins

SIM-575:

Unable to Trigger INT1, INT2, INT3, and INT4 interrupts from stimulus for dsPIC33F GS devices (dsPIC33FJ32GSxxx and dsPIC33FJ64GSxxx)

SIM32-67:

Attempt to read from the configuration memory location generates a trap.