PIC18F25K42

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Kenrix2
Flowcode v5 User
Posts: 211
Joined: Tue Feb 19, 2013 9:51 pm
Has thanked: 72 times
Been thanked: 177 times
Contact:

PIC18F25K42

Postby Kenrix2 » Fri Feb 17, 2017 6:39 am

I just received the new PIC18F25K42 and it would be nice if there was a ".fcdx" for this micro. So many new features on this micro like DMA, buffered SPI, controlled current I/O's plus hardware averaging ADC.
These users thanked the author Kenrix2 for the post:
Benj (Fri Feb 17, 2017 11:00 am)
Rating: 5%
 

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

Re: PIC18F25K42

Postby Benj » Fri Feb 17, 2017 11:01 am

Hello,

The device is not supported by the current PIC compiler in Flowcode v7 but I will see if we can use a later compiler in the next update and get this device supported for you.

Yes this looks possible, unless I find a major issue the next update release will contain XC8 version 1.41 and will have the new K42 devices included.
These users thanked the author Benj for the post:
Kenrix2 (Sat Feb 18, 2017 12:03 am)
Rating: 5%
 

Kenrix2
Flowcode v5 User
Posts: 211
Joined: Tue Feb 19, 2013 9:51 pm
Has thanked: 72 times
Been thanked: 177 times
Contact:

Re: PIC18F25K42

Postby Kenrix2 » Sat Feb 18, 2017 3:27 am

Thanks Benj.
Just a heads up. There is a typo in an ignorable compiler warning text when setting up this micro for midrange compatible interrupts. It warns it will write a reset instruction at low priority interrupt vector 0x8 but, the compiler correctly writes it to 0x18. Interrupts work as expected.
These users thanked the author Kenrix2 for the post:
Benj (Mon Feb 20, 2017 11:37 am)
Rating: 5%