Hi there,
When programming in assembler code in PE set to PIC16F88, the __config directive doesn't seem to accept any configuration value, including the defaults and including b'1111111111111111'. I have made a custom p16f88.inc file as correctly as I could, and I re-checked the config section and it is correct with the datasheet.
It always reports "Error[126] : Argument out of range (not a valid config register address)" on the __config line.
The config works ok with a PIC12F683 and other assembler programs.
My workaround is to have no __config directive in the assembler program, compile it to HEX without programming it onto the PIC, then I set the configuration settings manually in the PIC programmer which I then program the PIC with. I have no other errors or problems and my last PIC16F88 assembler program (basically testing bitbang serial output) works as intended.
When programming in assembler code in PE set to PIC16F88, the __config directive doesn't seem to accept any configuration value, including the defaults and including b'1111111111111111'. I have made a custom p16f88.inc file as correctly as I could, and I re-checked the config section and it is correct with the datasheet.
It always reports "Error[126] : Argument out of range (not a valid config register address)" on the __config line.
The config works ok with a PIC12F683 and other assembler programs.
My workaround is to have no __config directive in the assembler program, compile it to HEX without programming it onto the PIC, then I set the configuration settings manually in the PIC programmer which I then program the PIC with. I have no other errors or problems and my last PIC16F88 assembler program (basically testing bitbang serial output) works as intended.