... It really looks like the watch window, as a GUI component, is just disallowing writes to these addresses.
I strongly suspect we'd see the same behavior with a physical device and a PICkit or ICD. And I would love to hear confirmation or contradiction of this supposition from anyone?
Are you the only one on the simulator development team that can actually test things?
I can confirm that this fault exists with the In-Circuit-Debug and simulator.
Controller tested: PIC18F45K20 in the DM164130-4 - PICkit 44-Pin Demo Board (PIC18F45K20)
IDE: MPLABX v5.25
CONFIG FOSC = INTIO67,FCMEN = OFF,IESO = OFF
CONFIG PWRT = OFF,BOREN = SBORDIS,BORV = 18
CONFIG WDTEN = OFF,WDTPS = 32768
CONFIG CCP2MX = PORTC,PBADEN = OFF,LPT1OSC = OFF,HFOFST = ON,MCLRE = ON
CONFIG STVREN = ON,LVP = OFF,XINST = OFF
CONFIG CP0 = OFF,CP1 = OFF,CP2 = OFF,CP3 = OFF
CONFIG CPB = OFF,CPD = OFF
CONFIG WRT0 = OFF,WRT1 = OFF,WRT2 = OFF,WRT3 = OFF
CONFIG WRTC = OFF,WRTB = OFF,WRTD = OFF
CONFIG EBTR0 = OFF,EBTR1 = OFF,EBTR2 = OFF,EBTR3 = OFF
CONFIG EBTRB = OFF
; DEFINE GPR REGISTERS - RAM Page 0
reg00 ; OK
reg01 ; OK
reg02 ; OK
reg03 ; OK
reg04 ; OK
reg05 ; OK
reg06 ; OK
reg07 ; OK
reg08 ; OK
reg09 ; OK
reg0A ; cannot change value in Watch Window
reg0B ; same
reg0C ; same
reg0D ; same
reg0E ; same
reg0F ; same
reg10 ; same
reg11 ; same
reg12 ; same
reg13 ; same
reg14 ; same
reg15 ; same
reg16 ; OK
reg17 ; OK
; PROGRAM START
(Yeah, I have to wait like a month to get devices from the sample center just like everyone else.)
You could do what your customers do and buy them from distribution. This usually takes leas than 48 hours in most of the USA.
In the meantime, I would recommend opening a ticket with Microchip to start the process of getting someone on the MPLAB X IDE team looking at this.
Maybe someone else should do this as my past experiences when reporting issues about the simulator have not ended well for me.
post edited by dan1138 - 2019/12/09 21:27:12