Hi Andreas,
Thanks.to Mic
I do not buy the chips but I order free samples at Microchip. You can only do that if you have a business which I do not have so I explained to Microchip thatĀ I need them for our Jallib community to test device files.Ā The number of samples you can order is
limited in quantity and in the time period so I cannot order samples for all new devices at the same time. That is also the reason why your devicefile was not yet in. It was available on GitHub (like other new chips) but it was not yet tested and so not release.
The testing of the device is quite simple. I run the available LED blink sample files to see if they work. It can still be that the device file contains a bug so if you run into one, just report it. I have not encountered real errors over the last years.Ā I
do see that Microchip sometimes fixes incorrect register names when a new version of MPLABX comes out. I always update all new device files as to keep it consistent.
Once a sample works, all related devices for that same family are added to the Jallib release. You can download the bee-package if you want the latest and greatest device files and libraries.
Today I ran into one issue, I ordered a sample of a PIC18F46q71 and it did not work. I was already informed by Rob Hamerling that he encountered the same issue but I had no sample to test it. It seems that the bug is in the MPLABX IPE software of Microchip
since I wanted to program it with the SNAP programmer (the newer chips are not supported by Microchip with the PICkit3 software) but as said it did not work. Luckily I had received the latest version of the PICKit+ software from Evan and that did the job.
If I had not know it up front I would have spent hours to find it out but Rob Hamerling had it already working with his own programmer so the chip and the device file should be OK.
And about the compiler. There are issues reported that I would like to fix but in some cases it is very hard to do since it is not code that I have written. So sometimes I do an attempt and if it is not successful then I stop and try again some other time.
You can find the reported issues on GitHub under Jallib/compiler. Most of the time there is a workaround but it would be better to get the bugs out.
Good luck with your project.
Kind regards,
Rob