18F4458 And FlowCode V3

Any general or miscellaneous queries that do not fit into the other forum catagories

Moderators: Benj, Mods

Post Reply
Cris
Posts: 16
Joined: Sun Nov 02, 2008 7:25 pm

18F4458 And FlowCode V3

Post by Cris »

Hi, This is my first post and I have an easy question. Has anyone been able to work the 18F4458 into FlowCode V3? I have this chip and would like to use it in my FlowCode Pro V3. I searched the forum but found nothing on this chip. Also does someone know why FlowCode does not seem to know that my 16F677 has a USART function? when I try to compile a file that uses USART it fails saying the chip does not have a USART function. hope you can help Thanks

Cris :P

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times

Re: 18F4458 And FlowCode V3

Post by Sean »

Hello Cris,

It should be possible to create a .fcd file for the PIC18F4458, probably based on on the .fcd file of an existing, similar device. I will post the file, or conversion information, when I have checked the data sheets.

The PIC16F677 does not have a USART. Some of the larger devices in the family range (16F690 etc.) do include a USART. But the 16F677 only contains an SSP to allow support of the I2C and SPI busses.

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times

Re: 18F4458 And FlowCode V3

Post by Sean »

Unfortunately it would appear that the PIC18F4458 can not be included in the list of supported devices for the current version of Flowcode.
The closest supported device is probably the PIC18F4455.

User avatar
Steve
Matrix Staff
Posts: 3431
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: 18F4458 And FlowCode V3

Post by Steve »

Support for the '4458 will be available in Flowcode V4.

Cris
Posts: 16
Joined: Sun Nov 02, 2008 7:25 pm

Re: 18F4458 And FlowCode V3

Post by Cris »

Yes your right, I should have paid more attention to the pin out on the 16F677 data sheet. I was looking at the USART block diagram, which refers to the pins as TX/CK and RX/DT like my 877A. I think that’s where I went astray, the pin out for the 677 clearly shows only SDI/SDA and SCL/SCK. I will give the 4458 a go using the 4455 .fcd template as a base. Thanks for the quick and accurate reply. Looking forword to FlowCode V4.

Cris :oops:

Cris
Posts: 16
Joined: Sun Nov 02, 2008 7:25 pm

Re: 18F4458 And FlowCode V3

Post by Cris »

Hello all, Well FlowCode 4 is out but I do not see an FCD for the 18F4458 as Steave said and I have been keeping an eye on this post but have not seen any further reply from Sean on an FCD. If any one has one for the 18F4458 I would sure like to see it if posible. Thanks for the help

Cris :P

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: 18F4458 And FlowCode V3

Post by Benj »

Hello

Here is a 18F4458 FCD file for V4 of Flowcode. This should be included in the next release of Flowcode which will be v4.2.
Attachments
18F4458.fcd
(10.85 KiB) Downloaded 362 times

Cris
Posts: 16
Joined: Sun Nov 02, 2008 7:25 pm

Re: 18F4458 And FlowCode V3

Post by Cris »

Ben,

Thanks for the FCD file. I have changed it a little so it seems to work with FlowCode V3 but when I tried to test it the operation fails when trying to compile because PPPv3 does not seem to have the 18F4458 in it’s config data files. I went to the web site but could not locate an update for PPPv3, is one available that has support for the 18F4458 with FlowCode v3? I have attached my changed version of the FCD file for your viewing in case you think the problem is with my changes. Hope you can help, Thanks again

Cris

:roll:
Attachments
18F4458.fcd
My Changed FCD file
(12.73 KiB) Downloaded 320 times

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: 18F4458 And FlowCode V3

Post by Benj »

Hello Cris

There currently is not a version of PPP that will support this device.

However if you look in the main Flowcode help file in the "Compiling flowcharts to devices" section you will find the "Configuring the chip" topic. In here it shows you how to define your own manual configuration settings. To do this you will need to refer to the device datasheet to find the correct configuration values for your setup.

Post Reply