PDA

View Full Version : Unsupported new PIC 16F18015 - how to add?



wjsmarine
- 10th May 2023, 04:12
Hi All,

I have some sample 16F18015 chips with same dip8 footprint as 12F1840 I use a lot of, however the new one has larger program space and some nice features.

It currently is not supported and I've run out of room on the 1840 despite my best efforts of minimizing routines and saving bytes where possible - but there are limits...
How difficult is it to make the necessary support files or am I locked into waiting for an update one of these years?

If it isn't difficult it paves the way to add other chips as well and for the future when no updates are forthcoming. Any help appreciated.

Kind regards,
Bill

Ioannis
- 10th May 2023, 07:55
I think it is way more complicated than just a library with the registers.

It has to do with the compiler itself.

I'd love to see if this is possible, though my hopes are really low.

Ioannis

tumbleweed
- 10th May 2023, 11:24
The 16F18015 isn't supported by the MPASM assembler, so the chances of getting it to work are pretty much 0.

Microchip have dropped support for MPASM and have switched to a different assembler (PIC-AS) for the new parts.
Unfortunately, the two are not compatible.