Using 18F4685

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times

Using 18F4685

Post by MJU »

I bought two 18F4685 and plugged them into my two Multiprogrammerboards.

I started to make flows in Flowcode 4.3.7.63, but when I click "chip" "configure" the chip isn't in the list of available chips.
When I click autodetect it warns me that the chip isn't in the list.
I need to use expert configuration.

The problem is that I never used this. I thought that Flowcode would use every chip that was on it's list when you start a new project.
Can someone help me get started to use the 18F4685 with the standard Xtal on the programmer board? (19.6608mhz?)

It seems that the chip isn't erased when programmed, and the timing is whole wrong.
I started with an LCD on port A, it doesn't work.
The led's on port D that should blink for a second, burn almost 10 seconds...

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

Re: Using 18F4685

Post by medelec35 »

Always use Expert config. screen. the name is misleading. I aways use that one, and I am no expert. Otherwise chip selection is very limited. Sounds like you have not set your target osc to correct speed.
see here: http://www.matrixmultimedia.com/mmforum ... =26&t=6936

Also if you don't mind posting your file we can check your settings for you.
Martin

MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times

Re: Using 18F4685

Post by MJU »

Dear Medelec:

Here is the file the file
I hope you can find anything in it....

The problem is that the PIC can't be erased at this moment

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

Re: Using 18F4685

Post by medelec35 »

MJU wrote:I thought that Flowcode would use every chip that was on it's list when you start a new project.
I believe only the basic chips i.e all those that do not need any settings altered for then to work the way you want them to will be on the list. The chips that must have settings changed, i.e the more advanced ones, will not be on that list.
Had a look at you file. You will need to disable low voltage programming. Then see how you get on. Can't see any other reason for you software to run slow.
Unfortunately I have not got any experience with these chips, so won't be able to help much. Sorry.
Martin

MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times

Re: Using 18F4685

Post by MJU »

Anyone else ideas?

Post Reply