DEBUG config option missing

12 views
Skip to first unread message

Mike

unread,
Feb 26, 2026, 2:31:26 PM (22 hours ago) Feb 26
to jallib
I was revisiting an old project for the 16F1825 and found that it won't compile with the latest jallib due to the DEBUG config option missing from the device file.  It is bit 12 of Config Word 2.  Whatever older version of jallib I was using had the definition, but at some point it seems to have been removed.  I checked the device file for the 12F1840 and it also is missing the DEBUG option.  Maybe they're all missing?

Regards,
Mike

Rob CJ

unread,
1:49 AM (11 hours ago) 1:49 AM
to jallib
Hi Mike,

Which JAL version was that? I went back to version 1.1.0 but could not find DEBUG in the device file of that PIC.

I did a quick check of the MPLABX XML file and 'DEBUG' is mentioned and I also see it in the Python Script that generates the device files so it is strange that it is not in.

I need to look at it in more detail.

Kind regards,

Rob


Van: 'Mike' via jallib <jal...@googlegroups.com>
Verzonden: donderdag 26 februari 2026 20:31
Aan: jallib <jal...@googlegroups.com>
Onderwerp: [jallib] DEBUG config option missing
 
I was revisiting an old project for the 16F1825 and found that it won't compile with the latest jallib due to the DEBUG config option missing from the device file.  It is bit 12 of Config Word 2.  Whatever older version of jallib I was using had the definition, but at some point it seems to have been removed.  I checked the device file for the 12F1840 and it also is missing the DEBUG option.  Maybe they're all missing?

Regards,
Mike

--
You received this message because you are subscribed to the Google Groups "jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jallib+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jallib/57847b7c-4568-49dc-b014-cacce57c42fan%40googlegroups.com.

Rob CJ

unread,
1:50 AM (11 hours ago) 1:50 AM
to jallib
Hi Matt,

In addition. I saw that there is also a new version of MPLABX so I need to generate new device files anyway.

Kind regards,

Rob


Van: jal...@googlegroups.com <jal...@googlegroups.com> namens Rob CJ <rob...@hotmail.com>
Verzonden: vrijdag 27 februari 2026 07:49
Aan: jallib <jal...@googlegroups.com>
Onderwerp: Re: [jallib] DEBUG config option missing
 

Pinhead

unread,
9:33 AM (3 hours ago) 9:33 AM
to jal...@googlegroups.com

Hi Rob,


Maybe (once it's done) a good time to release jallib 2.1 .....


Kr,


David


Le 27-02-26 à 07:50, Rob CJ a écrit :

Mike

unread,
9:48 AM (3 hours ago) 9:48 AM
to jallib
Hi Rob,

No doubt this is related to Microchip going from MPLAB to MPLABX.  Attached is the old JAL device file.

Regards,
Mike
16f1825.jal

Rob CJ

unread,
11:20 AM (2 hours ago) 11:20 AM
to jallib
Hi Mike,

I had a look at the Python script and saw that there was a check if a field had the option 'ishidden' which was the case for DEBUG for the 16F1825 and so it was left out (do not know why, it was done before my JAL time I think) but the value of this option was not checked and it had the value 'false' so it should not be hidden in the device file.

I changed the script to include hidden options with the value 'false' but then almost all samples did not compile anymore.

Reason was the the values used for DEBUG are ENABLED and DISABLED but in the XML file of the PICs the values ON and OFF are used so all device files now got this value and then the samples did no longer compile. I do not know where values the ENABLED and DISABLED where generated in the script so I made a fix in the script to be backward compatible so ON is replaced by ENABLED and OFF by DISABLED.

I will do some more tests before adding the new device files to GitHub.

Attached the newly generated device file. Let me know if it still works for you.

Thanks.

Kind regards,

Rob






Van: 'Mike' via jallib <jal...@googlegroups.com>
Verzonden: vrijdag 27 februari 2026 15:48
Aan: jallib <jal...@googlegroups.com>
Onderwerp: Re: [jallib] DEBUG config option missing
 
16f1825.jal
Reply all
Reply to author
Forward
0 new messages