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 <[email protected]>
Verzonden: vrijdag 27 februari 2026 15:48
Aan: jallib <[email protected]>
Onderwerp: Re: [jallib] DEBUG config option missing

Hi Rob,

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

Regards,
Mike


On Friday, February 27, 2026 at 1:49:18 AM UTC-5 Rob CJ wrote:
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 <[email protected]>
Verzonden: donderdag 26 februari 2026 20:31
Aan: jallib <[email protected]>
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/jallib/57847b7c-4568-49dc-b014-cacce57c42fan%40googlegroups.com<https://groups.google.com/d/msgid/jallib/57847b7c-4568-49dc-b014-cacce57c42fan%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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 
[email protected]<mailto:[email protected]>.
To view this discussion visit 
https://groups.google.com/d/msgid/jallib/2c131935-448e-412d-8d00-6fa357346f0an%40googlegroups.com<https://groups.google.com/d/msgid/jallib/2c131935-448e-412d-8d00-6fa357346f0an%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/jallib/AM0PR02MB40528B5D865A05D958BE0D1EE673A%40AM0PR02MB4052.eurprd02.prod.outlook.com.

Attachment: 16f1825.jal
Description: 16f1825.jal

Reply via email to