Need Help PIC18F4620

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
Albert38
Posts: 23
Joined: Mon Jan 18, 2010 8:40 am
Has thanked: 2 times
Contact:

Need Help PIC18F4620

Post by Albert38 »

I try to get the attached program to work in a PIC18F4620 but unfortantly I can not find the right settings por this pic can anyone help me ?

I have changed
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe
to
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic18.flowcode.exe

All other settings are default.
I think problem is on the Chip/Configure/Expert settings page.

Thanks for any help.
Attachments
pool_controll.fcf
(129.26 KiB) Downloaded 235 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: Need Help PIC18F4620

Post by Benj »

Hello Albert,

To get Flowcode to compile to an 18F device you do not have to change the setting in the compiler options window. This is done automatically for you.

To get the configuration correct I would try the settings as shown here.
PPP_Config.JPG
PPP_Config.JPG (83.46 KiB) Viewed 3038 times
These settings should match most applications with a crystal speed over 4MHz. All other settigs that cannot be seen on the image above are set to disabled.

Albert38
Posts: 23
Joined: Mon Jan 18, 2010 8:40 am
Has thanked: 2 times
Contact:

Re: Need Help PIC18F4620

Post by Albert38 »

I have had to changed Fail-Safe Clock monitor to enabled and Brown Out voltage to 2.7 Now my program starts but is running about 30 times slower as it must run.

Edit
I found the problem. I only need to change 'Brown Out voltage to 2.7' remove jumper J18 J19 from the board and directly connect a xtal to pins 13 and 14 of the PIC18F4620

So this problem I am facing is a hardware failure of the EB-006-00-7 board. It seems that the OSC on the board is not starting properly. For now I can live with connecting a xtal to the pins 13 and 14 of the PIC but hopefully some advice on changing the local OSC on the programmer board will come to solve this problem.
I am using PIC18F4620-I/P manufacturing stamp 09364C9

Albert38
Posts: 23
Joined: Mon Jan 18, 2010 8:40 am
Has thanked: 2 times
Contact:

Re: Need Help PIC18F4620 (SOLVED)

Post by Albert38 »

The problem is solved Jumper J18 J19 had a bad contact I replaced it now all works fine

Post Reply