PPSTool 0.0.6.3 has issues with the 18FxxQ40/Q41 family.
- it allows assigning RA3 as a PPS output, but it's an input-only pin (RA3/MCLR)
- it's missing output pin assignments for CLC1-CLC4
These stem from error/omissions in the mcc xml file content
PS - where's the source code for this version?
Last edit: Jerry Messina 2022-08-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are you sure this is MMC XML version issue? As the Microchip StandAlone MMC works as expected.
So, I am not sure that is this not an application issue as the previous version of PPSTool handled CLC correctly, and, a major change was to try and sort pin assignments.
Re the Source. We are mid way through the changes. Adding features and fixing issues still. I wanted to get this version out with the releases. We will post to GitHub when stable.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Examination of the source XML files included with PPSTool clearly shows the omission of PPS output pin assignments for CLC1-4. Affects 18F16FQ40 and 18F16Q41
These XML files have been bad since at least Ver 1.81.0 and most likely from their inception
@Jerry
This is a Microchip issue. Evan and Pete are working on this. If you need to actually use the CLC1-4 modules on these chips, you will need to set the PPS outputs up manually until XML is phased out and things move to JSON files instead of XML files ( As I understand it) . Hopefully Microchip has been less sloppy and has gotten the JSON files right.
I do think that that updated PPSTool filters out the non-existent pins, but not the listing of the input only RA3 as a PPS output. I have not looked, but I imagine that this may be common to some other chips as well.
William
Last edit: William Roth 2022-08-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Attached are updated ( by me) XML files for 18F16Q40/41. Work ok here.
These are NOT intended to be anything more than a temporary solution since they will get overwritten during any update of GCB@syn or GCStudio that includes the XML description files for PPStool.
PPSTool 0.0.6.3 has issues with the 18FxxQ40/Q41 family.
- it allows assigning RA3 as a PPS output, but it's an input-only pin (RA3/MCLR)
- it's missing output pin assignments for CLC1-CLC4
These stem from error/omissions in the mcc xml file content
PS - where's the source code for this version?
Last edit: Jerry Messina 2022-08-25
Thanks
Are you sure this is MMC XML version issue? As the Microchip StandAlone MMC works as expected.
So, I am not sure that is this not an application issue as the previous version of PPSTool handled CLC correctly, and, a major change was to try and sort pin assignments.
Re the Source. We are mid way through the changes. Adding features and fixing issues still. I wanted to get this version out with the releases. We will post to GitHub when stable.
Examination of the source XML files included with PPSTool clearly shows the omission of PPS output pin assignments for CLC1-4. Affects 18F16FQ40 and 18F16Q41
Files from From MCC Ver 1.81.8
pic18f16q40_description.xml - - - Lines 3127 - 3131
pic18f16q41_description.xml - - - Lines 3140 - 3144
These XML files have been bad since at least Ver 1.81.0 and most likely from their inception
@Jerry
This is a Microchip issue. Evan and Pete are working on this. If you need to actually use the CLC1-4 modules on these chips, you will need to set the PPS outputs up manually until XML is phased out and things move to JSON files instead of XML files ( As I understand it) . Hopefully Microchip has been less sloppy and has gotten the JSON files right.
I do think that that updated PPSTool filters out the non-existent pins, but not the listing of the input only RA3 as a PPS output. I have not looked, but I imagine that this may be common to some other chips as well.
William
Last edit: William Roth 2022-08-26
Good insights, thank you.
I discussed with Peten yesterday. Pete has come across this before and he thinks it is resolveable.
Meanwhile, I have opened a ticket with Microchip.
Hopefully, with Pete and/or Microchip this is resolvable.
Evan
Attached are updated ( by me) XML files for 18F16Q40/41. Work ok here.
These are NOT intended to be anything more than a temporary solution since they will get overwritten during any update of GCB@syn or GCStudio that includes the XML description files for PPStool.
William
Last edit: William Roth 2022-08-26
Thanks for the suggestions. I've had it working for a while... just thought I'd point it out.
Changes again???
Does anything these people do remain stable?
and, we have the JSON files on our road map. There are three families of chips not supported at the moment... so, use the datasheet. lol