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? please can you help thanks
81F1220
Moderator: Benj
- 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
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?
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?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel