Release Notes for MPLAB® SIM Simulator
MPLAB® IDE v8.80
DLL and Firmware versions:
Sim12.dll | v2.10.00.00 | |
Sim16.dll | v2.10.01.01 | |
MPSim.dll | v8.62.01.0 | (SIM17) |
Sim18.dll | v3.20.00.00 | |
dsPicSim30.dll | v4.30.00.00 | (SIM30) |
Sim32.dll | v0.00.10.06 |
October 17, 2011
Table of Contents
5 Repairs and Enhancements Made in v8.80
Click the link below to see device support for the simulator (SIM).
This tool has been tested using the following operating systems:
32-Bit: Windows® 2000 SP4, Windows XP SP2, Windows Vista™ and Windows 7 OSs
64-Bit: Windows XP 64, Windows Vista 64 and Windows 7 64 OSs
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
New device support.
Key |
Summary |
Device Affected |
SIM-811 |
Write operation to RAM using RAM pointer fails. It write to first byte correctly and then fail to write |
PIC18 MCUs |
SIM-809 |
3 level do loop nested not supported in simulator |
dsPIC33EPXXXMU806/810/814 |
SIM-808 |
Simulator shows correct results even without setting CORCON<0> (IF bit) during multiplication using Accumulator |
dsPIC33EPXXXMU806/810/814 |
SIM-807 |
The size of the literal value specifying the comparison reference value in the CP and CPB instructions has been increased from 5 bits to 8 bits in dsPIC33E/PIC24E devices but the simulator does not reflect this change. |
dsPIC33EPXXXMU806/810/814 and PIC24EPXXXGU810/814 |
SIM-806 |
The size of the variable (W register) value specifying loop count in DO and REPEAT instructions has been increased from 14 bits to 16 bits in dsPIC33E devices but the simulator does not reflect this change. |
dsPIC33EPXXXMU806/810/814 |
SIM-805 |
Issues with call.l instruction |
dsPIC33EPXXXMU806/810/814 and PIC24EPXXXGU810/814 |
SIM-804 |
movpag Wn, DSRPAG/DSWPAG/TBLPAG not working as expected. Address of wn is written instead of the value in wn |
dsPIC33EPXXXMU806/810/814 and PIC24EPXXXGU810/814 |
SIM-803 |
movpag #128,TBLPAG moves #128 to DSWPAG |
dsPIC33EPXXXMU806/810/814 and PIC24EPXXXGU810/814 |
SIM-802 |
cpbgt, cpblt,cpbne-jumps to next instruction rather than the mentioned location/address |
dsPIC33EPXXXMU806/810/814 and PIC24EPXXXGU810/814 |
SIM-800 |
FSR0 register does not work properly |
PIC16LF1907 |
SIM-794 |
Post-increment and Post-decrement of the Destination register doesn't work correctly with ASR, COM, LSR, NEG, RLC, RLNC, RRC, RRNC, and SL instructions |
dsPIC33F, dsPIC30F, PIC24F, PIC24H devices |
SIM-766 |
Log functions do not return valid results. This worked in 8.53. |
PIC18xxJ devices |
SIM-765 |
Simulator handles ACCESS instructions as if Extended mode is enabled. i.e. it uses the address from FSR2. |
PIC18F97J60 maybe other extended devices |
SIM-779: A literal offset that makes FSR rollover does not function correctly when using MOVSS extended instruction (PIC18F45K22).
SIM32-193: Function call from mips32 to mips16 to mips16 to certain depth would result 'reset' in simulator for PIC32MX devices (PIC32MX).
SIM32-192: Unexpected exception occurs on stepping through a program with a function call-depth of 2 functions when built using -mips16 build option (PIC32MX).
SIM32-191: Unexpected Bus exception occurs on stepping over a function call in MIPS16 mode on simulator (PIC32MX).
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).
Building a project for the simulator under Debug mode will cause non-required resources to be used. This may cause code without proper paging or banking operations not to function in this mode for 8 bit devices.
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.
Although the simulator may show support for PIC32 MCUs with remappable pins, no simulator module for pin remapping exists at this time. Therefore only pins that do not remap and the core would function for these devices.
Key |
Summary |
Device Affected |
SIM-1 |
TABLATL and TABLATH do not get updated in watch window on PIC17C44. |
SIM BASELINE |
SIM-18 |
USB SFRs do not reflect unimplemented bit states Device 16C745/765 |
SIM MIDRANGE |
SIM-90 |
[PIC24FJ]:When SOSC or EC is selected as oscillator source and RC15 is configured for clock output, write to PORTC-RC15 is updating PORTC bit 15 for PIC24FJ devices |
SIM30 |
SIM-97 |
Simulator (and trace) are incorrectly calculating the number of cycles required by a PSV access for dsPIC30F devices |
SIM30 |
SIM-98 |
[PIC24FJ]:Selection of XT/HS/EC as clock source do not prevent using RC15 and RC12 as GPIO's |
PIC24FJXXX devices: Applicable to other 16 bit devices (dsPIC33F/24H) as well |
SIM-188 |
PORTD inputs works as digital when they are turned analog |
PIC18F4480, PIC18F458, PIC18F4580, PIC18F4585, PIC18F4680, PIC18F4682 and PIC18F4685 |
SIM-191 |
Interrupt on change works when the pins are analog. |
PIC12F683 |
SIM-211 |
Write 0XFF to LATG will write PORTG<5:7> bits, which are not expected to be controlled by LATG. |
|
SIM-243 |
Ultra Low Power Wake Up Enable (ULPWUE) is not supported under SIM, but not documented in limitations. |
SIM MIDRANGE |
SIM-372 |
Flash data row erase happens even if the specified row erase sequence IS not followed IN SIMULATOR for 12F519 device |
PIC12F519 |
SIM-388 |
Request to implement IOFS bit of OSCCON register similar to PLL-Lock bit of SIM30 for Midrange and PIC18 devices |
Midrange and Enhanced Device Family |
SIM-404 |
Value of the STKPTR wraps around after the Stack Overflow, even when the configuration bit "Stack Overflow Reset" (STVR=OFF) is disabled. |
PIC18F1220 |
SIM-413 |
TMR3H register doesn't get updated in the watch window even after doing a read on the timer TMR3L register in the code when configured for 8-bit read/write mode. |
PIC18F family |
SIM-414 |
Total ADC conversion period in simulator is 9.5Tad instead of 10Tad for PIC16LF72X devices |
PIC16LF/F72X Family |
SIM-420 |
When using the simulator with PIC16F886, PCLATH does not update correctly |
|
SIM-423 |
Flash and EEPROM write/Erase operation does not work for many options for PIC24FKA devices |
PIC24FXXKA |
SIM-443 |
Flash memory write routines don't actually erase block before writing data in the simulator for devices such as PIC16F883, PIC16F884, 886 etc |
PIC16F88X Family devices, PIC16F874A, PIC16F877A |
SIM-445 |
In the Stimulus window, instead of listing only the Labels used in the program for the PC value, all the SFRs & variables used are also being listed in the pop-down list. |
SIM18 |
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 |
PIC16-Bit Family |
SIM-447 |
Unable to Map Crossbar I/O T3CK to RPx pin for dsPIC33FJ32GP204, dsPIC33FJ32MC204, dsPIC33FJ16GP304, dsPIC33FJ16MC304 devices |
dsPIC33FJ32GP204, dsPIC33FJ32MC204, dsPIC33FJ16GP304, dsPIC33FJ16MC304 |
SIM-448 |
Inconsistent T3CK Mapping Behavior for dsPIC33FJ12GP201 and dsPIC33FJ12MC201 devices |
dsPIC33FJ12GP201, dsPIC33FJ12MC201 |
SIM-449 |
Signals from Logic Analyzer Window disappeared after switching from device to device |
All |
SIM-450 |
Unable to trigger interrupt from Sleep after reset for dsPIC33FJ32GP204, dsPIC33FJ12GP201, dsPIC33FJ16GP304 |
dsPIC33FJ32GP204, dsPIC33FJ12GP201, dsPIC33FJ16GP304 |
SIM-457 |
Unexpected behavior when setting/clearing an unmapped peripheral pin from the stimulus (INT1, INT2, TxCK) for dsPIC33FJ PPS Devices |
dsPIC33FJ Peripheral Devices |
SIM-465 |
Animate crashes MPLAB IDE when logic analyzer window is open |
All |
SIM-466 |
Reset value of STKPTR does not match DOS datasheet for PIC16F19XX devices |
PIC16F19XX |
SIM-469 |
In Simulator, STKPTR wraps upon overflow and underflow for PIC16F19XX device which is not expected as per DOS |
PIC16F19XX |
SIM-473 |
[PIC16F72X ] Timer gated mode operations such as single pulse, toggle mode are not implemented in simulator for PIC16F72X devices |
PIC16F72X devices |
SIM-474 |
[PIC16F72X} Timer1 gated mode operation does not work when gate source is other than T1G input for PIC16F72X family devices |
PIC16F72X |
SIM-476 |
CLONE -ISR entry latency for Soft trap do not match silicon for 16 bit simulator |
16 bit devices |
SIM-477 |
SIM18 does not behave properly when using RD16 bit in T1CON/T3CON registers in Timers 1 and 3 |
PIC18F4450, PIC18F2450, PIC18F family |
SIM-479 |
Bits IDLEN, OSTS, SCS1 & SCS0 are not implemented in .dev file. |
PIC18F85J90 Family |
SIM-480 |
Input Capture2 to 5 does not respond to input and capture never happens for PIC24F PPS devices with Enhanced capture module |
PIC24FJ128GA106-Possibly other PIC24F PPS devices with Enhanced capture |
SIM-484 |
Interrupt occurs due to Interrupt on Change pin even when the port pins are made Analog for PIC16F677 |
PIC16F677 |
SIM-486 |
Stepping over a MACRO causes MPSIM to hang |
PIC12F683 |
SIM-489 |
[PIC16-E] MPLAB Sim reports it as invalid ADC channel when CVref/FVR or Temp band gap is selected as analog input channel for PIC16F193X devices |
PIC16F19XX Family |
SIM-490 |
Timer 0 does not increment when the clock source is T0CKI in PPS devices |
PIC18F46J11, PIC18F46J50 |
SIM-491 |
Improper functioning of Timer1 on 18F46J11 and 18F46J50 PPS devices. |
SIM18 |
SIM-492 |
Improper functioning of Timer3 on PIC18F46J11 and PIC18F46J50 PPS devices. |
PIC18F46J11, PIC18F46J50 |
SIM-495 |
Unable to simulate PWM module on PIC18F46J11 and PIC18F46J50 PPS devices |
PIC18F46J11, PIC18F46J50 |
SIM-496 |
Unable to simulate Comparator module on PIC18F46J11 and PIC18F46J50 PPS devices. |
PIC18F46J11, PIC18F46J50 |
SIM-497 |
[19XX] WDT postscaler above 1:65536 always provide ~2 sec time out period irrespective of postscaler bit settings for PIC16F19XX devices |
PIC16F19XX Family |
SIM-499 |
[19XX] WDT can be enabled by software even though it is disabled in configuration register for PIC16F19XX devices |
PIC16F19CX family devices |
SIM-5 |
Reset value for the PORTB register for 16C774 |
SIM BASELINE |
SIM-500 |
Various options of WDT enable/disable through configuration fuse settings are not implemented in simulator for PIC16F193X devices |
PIC16F193X |
SIM-506 |
WDT prescaler works on OPTION_REG for 19XX devices even though prescaler setting in the OPTION REG is only applicable to Timer0 |
PIC16F19XX |
SIM-509 |
Oscillator control I/O operation on PORTA is incorrect for PIC16F19XX devices |
PIC16F193X |
SIM-510 |
Interrupt On Change do not occur on RB0 to RB3 for PIC16F19XX devices |
PIC16F19XX |
SIM-511 |
IOCBFx bits of IOCBF register does not set when interrupt on change occurs for PIC16F19XX devices |
PIC16F19XX |
SIM-512 |
Edge selection for Interrupt On Change is ignored in simulator for PIC16F19XX devices. |
PIC16F19XX |
SIM-518 |
Load program flash "write latches" operation will also write program flash for PIC16F19XX |
PIC16F19XX |
SIM-519 |
Attempt to read from configuration memory will read from program flash in simulator for PIC16F19XX devices |
PIC16F19XX |
SIM-520 |
First instruction after BSF EECON1,RD is ignored in simulator for PIC16F19XX |
PIC16F19XX |
SIM-521 |
Document that "CAPACITIVE SENSING" module is not simulated under MPLAB SIM |
Documentation |
SIM-533 |
CLONE -[PIC16F19XX} Timer1 gated mode operation does not work when gate source is other than T1G input for PIC16F19XX family devices |
PIC16F19XX |
SIM-534 |
CLONE -[PIC16F19XX ] Timer gated mode operations such as single pulse, toggle mode are not implemented in simulator for PIC16F19XX devices |
PIC16F19XX devices |
SIM-535 |
Clearing TXIF flag at the second cycle of RETFIE instruction will still trigger interrupt again for PIC16F19XX in simulator |
PIC16F19XX-may be other devices too |
SIM-536 |
CCPx module does not work on TMR4 or TMR6 in PWM mode for PIC16F19XX devices |
PIC16F19XX |
SIM-537 |
like PIC18F devices, request to implement dead time for PWM for PIC16F19XX devices |
PIC16F19XX |
SIM-539 |
PWM auto shut down feature is not implemented for PIC16F19XX devices |
PIC16F19XX |
SIM-543 |
ECCP1 pin assignment is incorrect for PIC16F1936 and 1933 devices. As a result, PWM output is not reflected in the PORTB pins |
PIC16F1936 and 1933 |
SIM-545 |
In MPLAB IDE version 8.20 option for sync 4 is missing from asynchronous stimulus page for the PIC24FJ128GB106 device |
PIC24FJ128GB106 |
SIM-546 |
EUSART shows incorrect timing for 16-bit asynchronous transmit of 1-byte. |
PIC16F688 |
SIM-548 |
[SCL file] - With Timer 2 Clock (T2CK) pin remapped to RP8 (i.e. RB8) pin, clock signal is not generated properly when 'T2CK' signal name is used in the SCL file instead of 'RB8' signal name; same issue with T3CK, T4CK & T5CK |
PIC24HJ128GP202; dsPIC33FJ16GS402, PIC24FJ256GA110, PIC24FJ192GA110, PIC24FJ128GA110 |
SIM-554 |
Timer operating in external clock mode misses edge on certain conditions for 16 bit devices |
16 bit device Family |
SIM-556 |
USB TRISF bits on the PIC18F87J50 family should be unimplemented, but can write a '1' to them |
PIC18F87J50 family |
SIM-564 |
GPRs declared using EQU directive and CBLOCK directive are not present in the Register Injection tab |
Documentation |
SIM-566 |
Stimulus incorrectly providing trigger to INT0 pin for PIC24F_PPS devices. This is after code is executed once and reset is performed |
PIC24FJXXGA004/002. |
SIM-571 |
[OC w/ Dedicated Timer] Simulation of PWM mode of the Output Compare module doesn't work for PIC24FJ256GB110 family & PIC24FJ256GA110 family |
PIC24FJ256GB110 family (PIC24FJ256GB110/108/106, PIC24FJ192GB110/108/106, PIC24FJ128GB110/108/106, PIC24FJ64GB110/108/106), and PIC24FJ256GA110 family (PIC24FJ256GA110/108/106, PIC24FJ192GAB110/108/106, PIC24FJ128GA110/108/106) |
SIM-586 |
PORTB-RB0 can be used as digital I/O without setting port as Digital in simulator for PIC24FJXXGA002 , XXGA004 |
PIC24FJXXGA002 , PIC24FXXGA004 |
SIM-587 |
ADC simulation for band gap ref- AN15/VBG is not simulated for PIC24FJXXGA002/004 devices |
PIC24FJXXGA002/004 Possibly other PIC24F devices |
SIM-590 |
OCFLT bit in OCxCON register is read-only, but still can be set to 1 in software |
dsPIC33FJ32GS406, dsPIC33FJ32GS606, dsPIC33FJ32GS608, dsPIC33FJ32GS610, dsPIC33FJ64GS406, dsPIC33FJ64GS606, dsPIC33FJ64GS608, dsPIC33FJ64GS610 |
SIM-596 |
Stimulus Register Trace does not function on Midrange/Baseline devices using HI-TECH compiler. |
10F222... midrange/baseline |
SIM-601 |
Flash Erase/Read/Write is not implemented for PIC18F87K90 device. |
PIC18F87K90 |
SIM-602 |
[High-Speed Analog Comparator] CMPSTAT bit of CMPCONx register not set & CMPx Interrupt not generated when CMPx output is high, though the interrupts are enabled |
dsPIC33FJ32GS606, dsPIC33FJ32GS608, dsPIC33FJ32GS610, dsPIC33FJ64GS606, dsPIC33FJ64GS608, dsPIC33FJ64GS610 |
SIM-611 |
[PIC16F182X] Flash read of configuration space does not return configuration data, instead returns program memory data. |
[PIC16F182X] |
SIM-612 |
[Stimulus-sim database] Unsupported analog channels are added to stimulus files for several dsPIC33FXXXMCXX2 and MCXX4 devices |
dsPIC33FJ128MC202, dsPIC33FJ32MC302, dsPIC33FJ64MC202, dsPIC33FJ64MC204, dsPIC33FJ128MC204, dsPIC33FJ32MC304, dsPIC33FJ64MC802, dsPIC33FJ64MC804, dsPIC33FJ128MC804 |
SIM-613 |
[High Speed Analog Comparator] C1OUT and C2OUT signals/channels must be removed from the Logic Analyzer since they are not physical pins on the 32GSXXX and 64GSXXX devices |
dsPIC33FJ32GS606, dsPIC33FJ32GS608, dsPIC33FJ32GS610, dsPIC33FJ64GS606, dsPIC33FJ64GS608, dsPIC33FJ64GS610 |
SIM-614 |
[High Speed Analog Comparator] Comparator output signals as well as the port pins to which they are remapped are always low in the logic analyzer for 06GS202 and PIC16GS50X |
dsPIC33FJ06GS202, dsPIC33FJ16GS502, dsPIC33FJ16GS504 |
SIM-616 |
[Stimulus] DMA registers injection on "demand" need to be removed for 16 bit devices |
16 bit devices |
SIM-617 |
[stimulus] ADC1BUF1 to ADC1BUFF to be removed from register injection for devices such as dsPIC33FJ16MC304, 32MC204 etc |
dsPIC33FJ16MC304, 32MC204 |
SIM-618 |
[High-Speed Analog Comparator] CMPSTAT bit of CMPCON3 and CMPCON4 registers not set/cleared correctly in accordance with the polarity of the comparator output in dsPIC33FJ16GS502/4 |
dsPIC33FJ16GS502, dsPIC33FJ16GS504 |
SIM-622 |
Toggle on compare match of CCP functions incorrectly when the prescaler of the Timer used is greater than 1:1. |
PIC18F452 |
SIM-623 |
CMP4C and CMP4D signals are absent in the Stimulus Controller for dsPIC33FJ16GS504 |
dsPIC33FJ16GS504 |
SIM-628 |
TMR2 does not increment on Fosc/4 when Prescaler of 1:16 is used on PIC16F690 |
PIC16F690 |
SIM-632 |
Cannot set RB15-RB12 for dsPIC33F32MC302/304, dsPIC33F64MCX02/X04, and dsPIC33F128MCX02/X04 |
dsPIC33F32MC302/304, dsPIC33F64MCX02/X04, and dsPIC33F128MCX02/X04 |
SIM-633 |
DMA transfer from ICxBUF to DMA RAM does not occur when DMA request is ICx itself. If DMA req source is other than ICx, it works |
16 bit devices |
SIM-635 |
Missing CCP1 pin in Logic Analyzer and Stimulus Pin selection. |
PIC16F818, PIC16F87, PIC16F88, PIC16F819, PIC16F887 |
SIM-638 |
When changing devices, need to refresh the stimulus window. If you change to a new device it will still show the pins from the old device. |
All |
SIM-639 |
[12F615] CCP1 pin is missing from Stimulus controller |
12F615, 12HV615 |
SIM-643 |
UART3 and UART4 modules don't function in PIC24FJ256GB110 family and PIC24FJ256GA110 family of devices |
PIC24FJ256GB110 family (PIC24FJ256GB110/108/106, PIC24FJ192GB110/108/106, PIC24FJ128GB110/108/106, PIC24FJ64GB110/108/106), and PIC24FJ256GA110 family (PIC24FJ256GA110/108/106, PIC24FJ192GAB110/108/106, PIC24FJ128GA110/108/106) |
SIM-644 |
ECCP2 is missing from stimulus window Clock Stimulus Pin drop down. |
PIC18F8722 |
SIM-646 |
Triple Comparator in PIC24FJ256GB110 family and PIC24FJ256GA110 family doesn't function as expected |
PIC24FJ256GB110 family (PIC24FJ256GB110/108/106, PIC24FJ192GB110/108/106, PIC24FJ128GB110/108/106, PIC24FJ64GB110/108/106), and PIC24FJ256GA110 family (PIC24FJ256GA110/108/106, PIC24FJ192GAB110/108/106, PIC24FJ128GA110/108/106) |
SIM-650 |
Cannot Map ICx (IC2-IC9) to Peripheral Pin Registers for PIC24FJ256GB110 Family. IC1 can only be mapped to RP0-RP31 |
PIC24FJ256GB110 Family |
SIM-651 |
[PIC16F747]CCP2 interrupt is only triggered when CCP2MUX is set to RC1 and stimulus appears on RC1. When CCP2MUX is set to RB3 and stimulus appears on RB3, nothing happens. |
PIC16F747 |
SIM-653 |
[OC w/ Dedicated Timer] The OCxTMR register never increments in PIC24FJ256GB110, PIC24FJ256GA110, PIC24FJ64GA104 & PIC24FJ64GB004 families |
PIC24FJ256GB110/108/106, PIC24FJ192GB110/108/106, PIC24FJ128GB110/108/106, PIC24FJ64GB110/108/106, PIC24FJ256GA110/108/106, PIC24FJ192GAB110/108/106, PIC24FJ128GA110/108/106, PIC24FJ32GA102/104, PIC24FJ64GA102/104, PIC24FJ64GB004/002, PIC24FJ32GB004/002 |
SIM-654 |
[OC w/ Dedicated Timer] With OCSIDL bit cleared, code execution doesn't branch to OC9 ISR even if OC9IF is set in PIC24FJ256GB110/GA110 family; when OCSIDL bit is set, OC9 ISR is never exited; it works fine for OC1 through OC8 |
PIC24FJ256GB110 family (PIC24FJ256GB110/108/106, PIC24FJ192GB110/108/106, PIC24FJ128GB110/108/106, PIC24FJ64GB110/108/106), and PIC24FJ256GA110 family (PIC24FJ256GA110/108/106, PIC24FJ192GAB110/108/106, PIC24FJ128GA110/108/106) |
SIM-656 |
PIC18F4455 should have ECCP module support, but only CCP is implemented. |
PIC18F4455,PIC18F4610 |
SIM-660 |
Digital IO for PORTs A, B, and C are not consistent with datasheet or hardware debugger. |
PIC18F13K50 |
SIM-661 |
In PIC24FJ64GA104 family (DS39951A) and PIC24FJ64GB004 family (DS39940A), the Output Compare module implementation is not correct - these devices have OC w/ Dedicated Timer, and not the conventional OC |
PIC24FJ32GA102, PIC24FJ32GA104, PIC24FJ64GA102, PIC24FJ64GA104, PIC24FJ64GB004, PIC24FJ64GB002, PIC24FJ32GB004, PIC24FJ32GB002 |
SIM-662 |
[OC w/ Dedicated Timer] Output Compare in Cascade Mode doesn't work in PIC24FJ256GB110 family and PIC24FJ256GA110 family |
PIC24FJ256GB110 family (PIC24FJ256GB110/108/106, PIC24FJ192GB110/108/106, PIC24FJ128GB110/108/106, PIC24FJ64GB110/108/106), and PIC24FJ256GA110 family (PIC24FJ256GA110/108/106, PIC24FJ192GAB110/108/106, PIC24FJ128GA110/108/106) |
SIM-663 |
Resets in SIM (other than Processor Reset) did not reset SR to 0x0000, it remained unchanged |
dsPIC30F, dsPIC33F, PIC24F, PIC24H, etc. (A lot of green lit device) |
SIM-664 |
See warning "CORE-W0001: Illegal opcode or uninitialized WREG has caused a reset" for initialized working registers |
PIC24FJ64GA004 (perhaps other devices too) |
SIM-668 |
[OC w/ Dedicated Timer] In PIC24FJ256GB110/GA110 families, in PWM mode w/ Fault inputs operating in Cycle-by-Cycle mode, OCFLT0 bit of OCxCON1 must get cleared automatically at the end of each PWM Cycle unless the Fault is still active |
PIC24FJ256GB110 family (PIC24FJ256GB110/108/106, PIC24FJ192GB110/108/106, PIC24FJ128GB110/108/106, PIC24FJ64GB110/108/106), and PIC24FJ256GA110 family (PIC24FJ256GA110/108/106, PIC24FJ192GAB110/108/106, PIC24FJ128GA110/108/106) |
SIM-669 |
12F629 has incorrect W/R and POR settings for TRISIO. TRISIO4 and TRISIO5 are always clear and unable to be changed in SIM. Using ICE2K and PCM12XB0 TRISIO 0-5 are able to be changed and default to 1. |
PIC12F629 |
SIM-671 |
[OC w/ Dedicated Timer] Output Compare in PWM mode with Fault control doesn't work correctly in PIC24FJ256GB110/GA110 families |
PIC24FJ256GB110 family (PIC24FJ256GB110/108/106, PIC24FJ192GB110/108/106, PIC24FJ128GB110/108/106, PIC24FJ64GB110/108/106), and PIC24FJ256GA110 family (PIC24FJ256GA110/108/106, PIC24FJ192GAB110/108/106, PIC24FJ128GA110/108/106) |
SIM-672 |
SIM did not trigger CN Interrupts for CN32-CN84 |
PIC24FJ256GA110 Family |
SIM-673 |
OSCCON (IOLOCK) and FOSC (IOL1WAY) bits did not Function as Expected |
PIC24FJ256GA110 Family |
SIM-674 |
RC12 and RC15 should function as port I/O only when Primary Oscillator / EC mode is (POSCMD = 11 or 00) |
PIC24FJ256GA110 Family, PIC24FJ256GB110 Family |
SIM-675 |
Timer 1 gated mode increments when T1G is 1 or 0 even though T1GE bit is set. |
PIC16F785,PIC16HV785 |
SIM-676 |
[PIC24FXXKAXXX] In Output Compare in PWM mode with Fault Protection input, a fault condition does not occur when a logic '0' is detected on the OCFA pin |
PIC24F04KA200, PIC24F04KA201, PIC24F08KA101, PIC24F08KA102, PIC24F16KA101, PIC24F16KA102 |
SIM-677 |
INT0 and RF6/CN72 should be the same pin, but it's not |
SIM30 |
SIM-683 |
[PIC24FXXKAXXX] In Output Compare module, the state of the OC pin when the device wakes from sleep must be same as its state before the device entered sleep mode |
PIC24F04KA200, PIC24F04KA201, PIC24F08KA101, PIC24F08KA102, PIC24F16KA101, PIC24F16KA102 |
SIM-684 |
[PIC24FXXKAXXX] - Comparator module in PIC24F04KAXXX, PIC24F08KAXXX and PIC24F16KAXXX families doesn't function as expected |
PIC24F04KA200, PIC24F04KA201, PIC24F08KA101, PIC24F08KA102, PIC24F16KA101, PIC24F16KA102 |
SIM-685 |
Triple Comparator module in PIC24FJ64GB004 family and PIC24FJ64GA104 family doesn't function as expected |
PIC24FJ32GA102, PIC24FJ32GA104, PIC24FJ64GA102, PIC24FJ64GA104, PIC24FJ64GB004, PIC24FJ64GB002, PIC24FJ32GB004, PIC24FJ32GB002 |
SIM-686 |
SFR TRISB (maybe others?) does not work for Register Trace in stimulus. Message "CORE-W0008: SFR TRISB does not support response file attachment" is shown in output window upon hitting "apply". |
PIC16F767, 24HJ256GP210, PIC18F25K20... probably all |
SIM-690 |
Add RTCC module to list of non supported peripheral modules for PIC24F devices |
Documentation |
SIM-694 |
Unexpected behavior PORTB (RB12 and RB15) for PIC24FJXXGA102 |
PIC24FJXXGA102 |
SIM-699 |
Unable to use TMRx (other than its default - TMR3) for Input Capture with Dedicated Timer for PIC24FJXXGA1 and GB |
PIC24FJ64GB004 and PIC24FJ64GA104 families |
SIM-700 |
In PIC24FJ256DAXXX and PIC24FJ128DAXXX Family of devices the UART3 and UART4 module implementation is missing |
PIC24FJ256DA210, PIC24FJ256DA206, PIC24FJ256DA110, PIC24FJ256DA106, PIC24FJ128DA210, PIC24FJ128DA206, PIC24FJ128DA110, PIC24FJ128DA106 |
SIM-701 |
Incorrect RA6 and RA7 Behavior for CONFIG1 <FOSC> = 0x100 for PIC16F193X Devices |
PIC16F193X |
SIM-702 |
PIC10F2XX has incorrect timing for AD conversion. It takes too long. |
PIC10F220 |
SIM-703 |
PORTA bit 2, 3, and 5 should only be I/O pins for certain conditions for PIC24F04KA201 and PIC24F16KA102 Family |
PIC24F04KA201 and PIC24F16KA102 Family |
SIM-705 |
When Debugger->Settings->UART is enabled, Register Trace does not function for UART Registers such as TXREG. Only one or the other can be used. |
PIC16F914 as an example, probably all. |
SIM-706 |
When using UART Registers (TXREG) in Register Trace, only 7-bits are output into the .txt file. This should be 8-bits. |
PIC16F914 example, affects all |
SIM-707 |
Resetting device while T08BIT is cleared will reset the SFR bit T08BIT to 1, but the functionality will continue as if it was cleared until it has been toggled in code or the project has been rebuilt. |
PIC18F4680 |
SIM-708 |
[PIC18F13K50] Default value of ADCON1 is not correct when Simulator is selected as debugger. |
PIC18F13K50 |
SIM-709 |
PIC16F19XX devices have implemented a four word flash write. The datasheet indicates an eight word flash write. |
PIC16F19XX |
SIM-711 |
APFCON register is ineffective at changing the function of P1A, P1C, and P1D. |
PIC16F18XX |
SIM-712 |
RABIF is set upon stimulus of RB/RA pin regardless of the state of IOCA/B. |
PIC18F13K22 |
SIM-713 |
Unable to read/write to PORTB and incorrect ANSx behavior for PIC24FJ256DA210 and PIC24FJ256GB210 family |
PIC24FJ256DA210 Family and PIC24FJ256GB210 Family |
SIM-716 |
RPINRx/RPORx Should Not Change When OSCCON #IOLOCK is set |
PIC24FJ256DA210 Family |
SIM-717 |
WDT for Cooper devices does not have full implementation of WDTPS. 1:65536 is the last post scalar implemented, anything afterwards is not. |
PIC16F19XX |
SIM-718 |
RC12 and RC15 should function as port I/O only when Primary Oscillator / EC mode is (POSCMD = 11 or 00) for PIC24FJXXXDA Devices |
PIC24FJ256DA, PIC24FJ256GB110 Family |
SIM-723 |
Unexpected ICxF trigger delay for PIC24FJ256DA and PIC24FJ256GB Family Devices |
PIC24FJ256DA210 and PIC24FJ256GB210 Families |
SIM-725 |
RA5 pin cannot be turned to digital mode for PIC18F87K22 device |
PIC18F87K22 |
SIM-726 |
AD1PCFGL and AD1PCFGH SFR are not defined in PIC24FJXXXDAXXX devices. |
PIC24FJ256DA210, PIC24FJ256DA206, PIC24FJ256DA110, PIC24FJ256DA106, PIC24FJ128DA210, PIC24FJ128DA206, PIC24FJ128DA110, PIC24FJ128DA106 |
SIM-729 |
RESET instruction is not recognized by code coverage even when it is executed. PIC18F458 |
PIC18F458 |
SIM-730 |
Timer0 stops working when entered into Idle mode for PIC18[Enhanced] family of devices |
PIC18 [Enhanced] family of devices |
SIM-732 |
If you put SFR RPINR16 = 0x1F then any synchronous stimulus will cause a stimulus error upon hitting "apply" |
PIC18F46J50, 65J50 |
SIM-733 |
Using WUE (Wake-Up Enable) with UART does not wake up if stimulus is applied to RX pin. |
|
SIM-734 |
When TMR1 is ON, and you set TMR1 to 0xFFFF the rollover that happens will not trigger the TMR1IF bit. |
PIC16F630 |
SIM-737 |
[HI-TECH PIC18 Compiler] The Simulator hangs on the delay fn, when trying to step in to the code |
PIC18F2620 |
SIM-738 |
When IOCBN and IOCBP are both clear, a positive or negative edge should not affect the IOC flags. In the simulator IOCIF still gets set. |
PIC16F1827 |
SIM-743 |
[18F14K50] RABIF is never set upon PORTA changing, even though IOCA is set. |
18F14K50 |
SIM-747 |
TMR4 and TMR6 do not operate. TMR2 (same implementation) works fine. |
PIC18F45K22 |
SIM-749 |
Error [The simulator component for device could not be initialized] for 33FJ128MC708A |
|
SIM-750 |
RA3 pin cannot be used as digital input pin in simulator even though MCLR reset is disabled for PIC18F13K22 device |
PIC18F13K22 |
SIM-751 |
Output Compare PWM doesn't let a user to change OC1R value while the PWM is enabled in PIC24FJ64GB004 |
PIC24FJ64GB004 |
SIM-752 |
Positive or Negative edges do not trigger Interrupt on change for PIC12F1822 family devices |
PIC12F1822 Family |
SIM-753 |
ADC of 33F GS devices is implemented like dsPIC30F2020/2023 devices in simulator. But, ADC functionalities are different in these devices. |
dsPIC33F GS family devices |
SIM-756 |
PIC18F87J10 no longer works in DMCI tutorial |
SIM18 |
SIM-757 |
Flash Write does not work for 18LF45J10 in v8.63 or 8.60. It worked in 8.56. |
SIM18 |
SIM-757 |
Flash write does not work for several PIC18FxxJ devices. Worked in v8.56. |
PIC18F25J10, |
SIM-760 |
MPLAB SIM PC wrapping back to 0 with RETFIE instruction at end of memory |
SIM MIDRANGE |
SIM-761 |
T2CKPS = 1x should be prescaler of 16 on 16F887. However, T2CKPS = 11 actually creates a prescaler of 64. |
SIM MIDRANGE |
SIM-762 |
Add CCP1 pin support in stimulus. |
SIM MIDRANGE |
SIM-763 |
TIMER2 does not increment when device is in IDLE mode. It just stops. |
SIM18 |
SIM-764 |
P1BSEL has no affect on the output pin for 12F1822. |
SIM MIDRANGE |
SIM-767 |
[16-bit SIM] Clearing SAB bit of SR register doesn't clear SA and SB bits |
SIM30 |
SIM-768 |
TRISA functioning doesn't match datasheet. |
SIM MIDRANGE |
SIM-768 |
TRISA functioning doesn’t match datasheet. |
PIC12F1822 |
SIM-769 |
Post-increment and Post-decrement of the Destination register doesn't work correctly with INC, INC2, DEC and DEC2 instructions |
SIM30 |
SIM-769 |
Post-increment and Post-decrement of the Destination register doesn’t work correctly in INC, INC2, DEC and DEC2 instructions |
dsPIC33F, dsPIC30F, PIC24F, PIC2224H |
SIM-771 |
Simulator doesn’t perform math correctly. |
PIC18F97J60 |
SIM-774 |
CCP3 is not defined in stimulus for PIC18F45K22 |
PIC18F45K22 |
SIM-775 |
T5CKI is not defined in stimulus for PIC18F45K22 |
PIC18F45K22 |
SIM-776 |
T1G is not defined in stimulus for PIC18F45K22 |
PIC18F45K22 |
SIM-777 |
T1G is missing from stimulus for 18F67K90 |
18F67K90 |
SIM-778 |
RCREG2 is missing from stimulus for 18F67K90 |
18F67K90 |
SIM-780 |
18F45K22 is missing T1G, T5CKI and CCP3 from stimulus. |
18F45K22 |
SIM-781 |
SIM30 for EP devices does not properly simulate mov [wn+wb], xx |
|
SIM-782 |
18F46J11 - ANCON0 and ANCON1 lose affect if ADCON.ADONis set. |
18F46J11 |
SIM-784 |
[16F1824]ECCP2 module missing from stimulus - might not be implemented. |
16F1824 |
SIM-785 |
PORTB can't be controlled on 18F23K22 even after care is taken to disable multiplexed functions. |
18F23K22 |
SIM-786 |
Simulator issue related to PIC24FV32KA302 |
PIC24FV32KA302 |
SIM-787 |
Error in modulo addressing for xdata space |
SIM30 |
SIM-790 |
T2CON and T3CON not written correctly for dsPIC30F6015 |
dsPIC30F6015 |
SIM-791 |
Issue related to C1EVT and C2EVT bits in the CMCON register of dsPIC33FJ128MC804 device |
dsPIC33FJ128MC804 family of devices |
SIM-795 |
EEPROM peripheral is not implemented |
PIC18F25K80 |
SIM-796 |
Not all bits of ADCON0 are controllable as specified in the datasheet. |
18F43K22 |
SIM-797 |
T1G is not present in stimulus for 18F46K22 device. |
18F46K22 |
SIM-798 |
Comparator does not have C12IN0-C12IN4 implemented for 18FX6K22 |
18FXXK22 |
SIM-799 |
CCP module does not have interrupts implemented correctly for 18FxxK22 devices. |
18FXXK22 (18F46K22) |
SIM-801 |
Cannot Map INT1 to Remappable Peripheral Pin 6 (RPI-6) for PIC24FJ64GB004 |
PIC24FJ64GB004 Family of devices |
SIM-810 |
Cycle count changes of instructions in dsPIC33E/PIC24E are not reflected in simulator. |
dsPIC33EPXXXMU806/810/814 and PIC24EPXXXGU810/814 |
SIM-813 |
Timer implementation is incorrect for 18LF45K80. |
18FLF45K80, maybe others in the family. |
Key |
Summary |
Device Affected |
SIM32-190 |
Unexpected exception occurs on executing a program declaring variables using "address" qualifier in mips16 mode on simulator. |
PIC32MX Family |
SIM32-189 |
Exception due to misaligned word access occurs on executing a program with functions defined in RAM using ramfunc attribute on Simulator. |
PIC32MX Family |
SIM32-188 |
C32 Math Function Error in simulator |
PIC32MX Family |
SIM32-187 |
LW instruction does not stall the pipe line even if instruction following LW is the consumer of result of LW for PIC32MX devices |
PIC32MX |
SIM32-182 |
[Stimulus] SPI1 signals and PINs are missing in the stimulus for PIC32MX-100 PIN USB devices |
PIC32MX4XXL Family devices |
SIM32-180 |
PLL Lock bit of OSCCON register is not being set when clock source with PLL is set in config register for PIC32 devices |
PIC32MX Family |
SIM32-170 |
Read Pointer Update Action on input capture buffer does not match FRM for PIC32 devices |
PIC32MX family |
SIM32-165 |
EICSS filed of SRSctl register is not getting updated when interrupt get generated in SIM32 for PIC32 devices |
PIC32MX family |
SIM32-164 |
PIC32: Enhancement request to implement unlock sequence for software reset for PIC32 devices in simulator |
PIC32MX Family |
SIM32-145 |
PIC32: Back to back 16*16 or 32*16 MUL operation cause pipe line stall in simulator PIC32 devices |
PIC32MX Family |
SIM32-127 |
PIC32: Latency for 32*32 MUL operation is 1 instruction cycle less than the expected for PIC32 simulator |
PIC32MX Family |
SIM32-125 |
PIC32: Latency for 16, 24 and 32 bit Divide operation do not match datasheet in simulator for PIC32 devices. There is a minor difference |
PIC32MX family |
SIM32-121 |
Add warnings if ADC reference pin is digital |
Sim32 and DSPIC30/33 Pic24 |
SIM32-112 |
Minimum Tad time warning is incorrect in simulator for PIC32 devices |
PIC32 |
SIM32-111 |
Interrupt entry, exit latency in simulator do not match silicon. Also, number of instruction executed before branching to ISR do not match silicon |
PIC32 |
SIM32-109 |
PIC32MX-Clock stimulus and any scl constructs attempting to compare the PC to either a shared label (function name) or hexadecimal value gives error |
PIC32MX |
SIM32-106 |
External INT3 and INT4 cannot be simulated for 32MX675F256H,32MX775F256H, and 32MX775F512H due to missing identifier in stimulus |
32MX675F256H,32MX775F256H, and 32MX775F512H |
SIM32-105 |
CLRASM bit of ADC control register, has no effect on terminating the auto-sample after first sequence is completed, for PIC32 devices |
PIC32MX |
SIM32-102 |
Can't set the U1PWRC values. |
PIC32mx575f256L |
SIM32-101 |
Read write mask for some of RTC SFR's do not match datasheet for PIC32 devices |
PIC32MX |
SIM32-100 |
PMPTTL bit of PMCON register and MODE8 of PMMODE register are not writable in simulator for PIC32 |
PIC32 |
SIM32-99 |
Software reset operation does not reset the execution to reset vector on certain condition for PIC32 devices. Also, RSWRST is not write protected and unlock sequence is not implemented |
PIC32MX |
SIM32-78 |
PIC32[WDT]: Under Simulator debugger settings , reset on WDT time out and WDT Time out field settings are not saved and reverts back to default for PIC32 devices. |
PIC32MX Family |
SIM32-67 |
PIC32: Sleep/Idle mode: External Interrupt or Peripheral Interrupt is not getting generated when device is in low power mode for PIC32 devices |
PIC32MX Family |
SIM32-62 |
PIC32: OSCCON register fields such as PLLODIV, PBDIV, PLLMULT are not loaded from device config register on reset for PIC32 device |
PIC32MX Family |
SIM32-60 |
PIC32: Analog comparator expects its input pins to be configured as 'Digital' pins to responds to inputs in simulator for PIC32 devices |
PIC32MX Family |
SIM32-58 |
Attempt to read from config memory location causes trap for PIC32 with simulator |
PIC32 |
SIM32-48 |
Few instructions are not implemented in simulator. Enhancement request to implement those for PIC32 devices |
PIC32 |
SIM32-30 |
UART reception do not work in non loopback mode when input text file is provide through UART IO window in Daytona simulator |
PIC32 |
SIM32-6 |
PIC32: MUL, MADD, MULT , MSUB etc gives incorrect result if interrupt occurs at certain stage of pipe line in simulator for PIC32 devices |
PIC32MX Family |
SIM32-3 |
UART1 and UART2 do not generate receive error interrupt (UxEIF)when receiver overrun error has occurred |
PIC32 and possibly PIC24 and 33F devices as well |