Thanks for the idea. I have it working a littble bit.
With the definition below I succeeded to program the CODE memory of the chip. unfortunately I'm not able to program the Config memory and therefore I cannot program the config word. A simple blinking LED is now working with the default config word. But for my real application I need to change the config word.
I was also wondering if WxPic can 'see' my second config word?
The first word is at 0x8007 and the second word at 0x8008. When I hit the 'Program config word only' button it only tries to program the 0x8007 space. Possibly the definition needs some altering? I hope you can help me with this. I'm getting closer though!
Maybe can be of some help, link to the Memory Programming Specification for 16F19X chips;
http://ww1.microchip.com/downloads/en/DeviceDoc/41360A.pdf[PIC16F1937]
info1= PIC16F1937
info2= PIC16F1937
DeviceName=PIC16F1937
DeviceInfoFileName=PIC16F1937.dev
CodeMemType=1
CodeMemSize=8192
DataEEPROMSize=256
InternalRAMSize=512
AddrConfigMem=0x8000
AddrConfigWord=0x8007
AddrDataMem=0x1E000
AddrOscCalib=0xFFFFFFFF
ConfigMemUsedLocs00_1F=0x07CF
ConfigMemUsedLocs20_3F=0x0000
DeviceIdAddr=0x8006
DeviceIdMask=0x2380
DeviceIdValue=0x2382
CanRead=1
EraseAlgo=16F7x7
CodeProgAlgo=16F7x7
ConfigProgAlgo=16F7x7
DataProgAlgo=16F7x7
VppVddSequence=Vpp_before_Vdd
Ti_Clock_us=10
Ti_Prog_us=1000
Ti_Erase_us=30000
CmdLoadConfig=0x00
CmdLoadProg=0x02
CmdReadProg=0x04
CmdIncrAddr=0x06
CmdBeginProg=0x18
CmdEndProg=0x0A
CmdLoadData=0x03
CmdReadData=0x05
CmdEraseProg=0x09
CmdEraseData=0x0B
CmdEraseChip=-1
CmdBeginProgNoErase=-1