Support for PIC18F55K42

Moderator: Benj

Post Reply
ronaldlijs
Posts: 139
Joined: Tue Jan 05, 2010 10:07 am
Has thanked: 20 times
Been thanked: 25 times
Contact:

Support for PIC18F55K42

Post 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 4358 times
Many thanks in advance!
R

ronaldlijs
Posts: 139
Joined: Tue Jan 05, 2010 10:07 am
Has thanked: 20 times
Been thanked: 25 times
Contact:

Re: Support for PIC18F55K42

Post 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

ronaldlijs
Posts: 139
Joined: Tue Jan 05, 2010 10:07 am
Has thanked: 20 times
Been thanked: 25 times
Contact:

Re: Support for PIC18F55K42

Post 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!

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 18F55K42.fcdx is missing

Post 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.
Martin

ronaldlijs
Posts: 139
Joined: Tue Jan 05, 2010 10:07 am
Has thanked: 20 times
Been thanked: 25 times
Contact:

Re: Support for PIC18F55K42

Post by ronaldlijs »

Thanks Martin for clarifying!

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

Cheers!
R

ronaldlijs
Posts: 139
Joined: Tue Jan 05, 2010 10:07 am
Has thanked: 20 times
Been thanked: 25 times
Contact:

Re: Support for PIC18F55K42

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Support for PIC18F55K42

Post 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.

ronaldlijs
Posts: 139
Joined: Tue Jan 05, 2010 10:07 am
Has thanked: 20 times
Been thanked: 25 times
Contact:

Re: Support for PIC18F55K42

Post 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!!!

Post Reply