81F1220

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
barryw
Posts: 13
Joined: Wed Jun 24, 2009 2:05 pm

81F1220

Post by barryw »

Hi,
I have a major problem in that I cannot get a PIC18F1220 to run even a simple program, I have set the osccon to 0x62 which is supposed to select theinternal osc and run at 4mHz, disabled the watchdog and LVP, but can't get any joy. I have tried with 5 chips but get the same non result. Is there another register that needs to be set?
1220 test.fcf
(5.5 KiB) Downloaded 215 times
please can you help thanks

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: 81F1220

Post by Benj »

Hello,

Your Flowcode program and configuration settings all looks fine to me.

Maybe try removing the delays in your program just to double check everything is correct.

What hardware are you using to program the devices? Also how are you running the devices? Do you have a pull up resistor attached to the MCLR pin etc?

Post Reply