12F683 chip crashes

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
JWalthall
Posts: 20
Joined: Sun Apr 27, 2008 10:18 pm
Been thanked: 1 time
Contact:

12F683 chip crashes

Post by JWalthall »

Hello,

I have a problem when I choose a 12F683 chip my Flowcode crashes. Is this a corrupt fcf file ? If so where can I get a new 12F683 .fcf to replace my corrupt one. also can I just delete and paste the new file in the directory?


Thanks,

J Walthall

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

Re: 12F683 chip crashes

Post by medelec35 »

Here is my 12F683.fcd.
My V3 runs ok with it.
Just overwrite original.
With Vista you may need Admin rights, but not 100% sure, since I have always been admin for my pc’s
Attachments
12F683.fcd
(5.02 KiB) Downloaded 281 times
Martin

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: 12F683 chip crashes

Post by Benj »

Hello

If the chip is crashing then it could be that the chip is becoming lost or the watchdog is enabled.

Most of the 16F pic micro devices have a stack of 8. This means you can have up to 8 macro calls away from your main program. Some of the macro calls can be hidden away in component C code.

You can enable the BoostC software stack to test if it is this causing your problem. Details on this are available in the BoostC manual located inside the Flowcode V3/BoostC folder.

If the watchdog is enabled then you can disable this via the chip configuration window.

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

Re: 12F683 chip crashes

Post by medelec35 »

Ben, I did not think setting watchdog, or stack greater than 8 would cause the actual flowcode program to crash . Agreed those things you mentioned would cause the hardware to malfunction, not the flowcode software. Isn't that the issue i.e
JWalthall wrote: have a problem when I choose a 12F683 chip my Flowcode crashes
or have I miss read?
Martin

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: 12F683 chip crashes

Post by Benj »

Sorry I think I miss read. Ok Your Flowcode should not be crashing watchdog or stack aside.

Are you using V3 or V4 of Flowcode.

Here is the up to date V3 FCD.
Attachments
12F683.fcd
(5.02 KiB) Downloaded 280 times

Post Reply