Page 1 of 1

Support for PIC18F55K42

Posted: Tue Apr 06, 2021 10:59 pm
by ronaldlijs
Hi there,

Would it be possible to get support for PIC18F55K42?

Flowcode already supports PIC16F45K42, which is exactly the same chip family, only with fewer pins.

The ones in green are already supported by Flowcode, we just need support for the one in yellow...
PIC18F_Support.jpg
PIC18F_Support.jpg (36.72 KiB) Viewed 4563 times
Many thanks in advance!
R

Re: Support for PIC18F55K42

Posted: Wed Apr 07, 2021 7:41 am
by ronaldlijs
Hi guys,

Strangely enogh, there are 2 files: pic18f55k42.h and pic18f55k42.inc under

C:\Program Files (x86)\Flowcode\Compilers\pic\include

and 18f55k42.cfgdata under

C:\Program Files (x86)\Flowcode\Compilers\pic\dat\cfgdata

So I don't get why this MCU is not showing on the list :-(

I see what's happeninig... the 18F55K42.fcdx file is missing from

C:\Program Files (x86)\Flowcode v8\DefaultData\FlowcodeV8\FCD\PIC

How can I get this file generated?

Thanks for your help!
R

Re: Support for PIC18F55K42

Posted: Wed Apr 07, 2021 7:49 am
by ronaldlijs
Hi guys,

Can you remove this post as it's not in the right place. Iwill create one entry under Bug Reports.

Cheers!

Re: 18F55K42.fcdx is missing

Posted: Wed Apr 07, 2021 9:39 am
by medelec35
Hi R,
Here are all the Flowcode V8 supported devices.
The files you see
ronaldlijs wrote:
Wed Apr 07, 2021 7:52 am
Strangely enogh

18f55k42.cfgdata
18f55k42.cfgmap
18f55k42.cgen.inc
18f55k42_g.lkr
p18f55k42.h
pic18f55k42.h
pic18f55k42.inc

are all present
Those files are from the microchip compiler.
Flowcode does not support all the chips that are manufactured and are contained within compilers.
ronaldlijs wrote:
Wed Apr 07, 2021 7:49 am
Hi guys,

Can you remove this post as it's not in the right place. Iwill create one entry under Bug Reports.

Cheers!
This is the correct place as 18F55K42 is not on the supported list, so it's not a bug.

Re: Support for PIC18F55K42

Posted: Wed Apr 07, 2021 11:16 am
by ronaldlijs
Thanks Martin for clarifying!

Ok in that case it would be great to get support for PIC18F55K42.

Cheers!
R

Re: Support for PIC18F55K42

Posted: Tue Apr 13, 2021 9:29 pm
by ronaldlijs
Hi guys,

Is it difficult to get support for this chip, i.e. to generate a custom file to support this chip or is it too complicated to get it right?

Wouldn't I be able to do this myself and use as a base the file for PIC18F45K42 and modify it to get support for PIC18F55K42? The main difference between them is the number I/O pins... Or would this file not work at all with Flowcode?

Cheers!
R

Re: Support for PIC18F55K42

Posted: Wed Apr 14, 2021 9:43 am
by Benj
Hello,

Yes if you copied one of the existing K42 FCDX files and changed the pins and other sections to match the device then that should work. I'm a bit wary of adding more K42 device support at the moment as I know there are problems with these devices which we are slowly wading through.

Re: Support for PIC18F55K42

Posted: Wed Apr 14, 2021 6:53 pm
by ronaldlijs
Hi Ben,

Many thanks for the insight... All right I understand completely then!

If I was made aware of this, I wouldn't have chosen this MCU, not a problem for me, I wanted a 5V powerful MCU with high I/O count at a low cost 55K42 came on top. And it's very flexible with the PPS options tbh. But understood, these are chips added way later and carry some issues with FC.

No problem, we'll choose a diff MCU, most likely 3.3V instead and will fall back to dsPIC33, they are great great devices, there is so much more choice as well :-)

Cheers as always!!!