pic 10f202

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
saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times

pic 10f202

Post by saschech@gmx.de »

Hello Team

I want start a extremely simple example with a 10f202 .
No success,ihave the error (show)

Regards Wolfgang
Attachments
correct code.gif
correct code.gif (6.99 KiB) Viewed 8200 times
pic10f202.gif
(68.43 KiB) Downloaded 1390 times

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: pic 10f202

Post by Jan Lichtenbelt »

Dear Wolgang,

I have two remarks:
1) Perhaps better is to use a while statement instead of connection points, see picture.
2) Is there an output device? I tried the program with a LED connected to port A2 and it works fine

Look luck

Jan Lichtenbelt
Attachments
test.fcf
(4.5 KiB) Downloaded 284 times
1.jpg
1.jpg (69.59 KiB) Viewed 8191 times

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times

Re: pic 10f202

Post by saschech@gmx.de »

Hello Jan
With out 0x01 > pa ,in sumulation the led dos not flash.......0x04 is flashing......
but the same error

if i work without out-macro no error > compiler = ok...........

regards wolfgang
Attachments
with input ok.gif
(56.47 KiB) Downloaded 1377 times
pic10f202.gif
(58.15 KiB) Downloaded 1377 times

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times

Re: pic 10f202

Post by saschech@gmx.de »

Hello Jan

The mistake is inside my!!!! flocode version...

i hope Steve have a reaction

Regards Wolfgang
Last edited by saschech@gmx.de on Tue Dec 28, 2010 6:19 pm, edited 1 time in total.

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: pic 10f202

Post by Jan Lichtenbelt »

Dear Wolgang,

Plaese attach the flowcode file.

Kind regards

Jan Lichtenbelt

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times

Re: pic 10f202

Post by saschech@gmx.de »

Hello Jan

I have do these,with the v4.3.7.63 it work ok ; the open-time for a short code also ok.
But for big code these version is not ok.

Regards Wolfgang

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: pic 10f202

Post by Jan Lichtenbelt »

Dear Wolfgang,

The paralell communication shows to me that you probably have to less memory in your computer, which can declare the long program loading time.

Kind regards

Jan Lichtenbelt

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times

Re: pic 10f202

Post by saschech@gmx.de »

Hello Jan

Without any kommentar

Regards Wolfgag
Attachments
sysdat.gif
(61.21 KiB) Downloaded 1357 times

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: pic 10f202

Post by Jan Lichtenbelt »

Dear Wolfgang,

1. SLow loading large Flowcode:
This was my last idee to help you. There seems enough memory. I do not know why the flowcode program loading takes minutes instead of seconds. Hopefully someone else can help you.

2. Pic 10f202 failure
I realise we deviate from the original problem. I tested it more in detail, but I also got an error during translation from C to asm. Here also I hope someone else can help you.


Good luck

Jan

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times

Re: pic 10f202

Post by saschech@gmx.de »

Hello Steve

Do you have a idea for solve the compiler-error?

Regards Wolfgang

User avatar
Steve
Matrix Staff
Posts: 3434
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: pic 10f202

Post by Steve »

Hi Wolfgang,

Unfortunately, I am not set up to test with the HITECH toolchain, so I can't replicate your problem.

Please post the C code file that is generated and I will see what problems exist with it.

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times

Re: pic 10f202

Post by saschech@gmx.de »

Hello Steve

Here the file.

Regards Wolfgang
Attachments
test.c
(1.57 KiB) Downloaded 229 times

User avatar
Steve
Matrix Staff
Posts: 3434
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: pic 10f202

Post by Steve »

Thanks, Wolfgang.

I've had a look, but I don't know what the problem is. I am unfamiliar with these chips and with the HITECH compiler, so you will have to wait until Ben is here - hopefully he can solve this problem.

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: pic 10f202

Post by Benj »

Hello Wolfgang,

This is a bit odd. I know the code in the FCDs was working correctly as I have used 10F devices quite a bit. I do seem to be having the same problem as you when I tried. Hmmm.

I have updated the FCD files and they seem to be behaiving better now. Let me know how you get on.
Attachments
10F_FCDs.zip
(6.98 KiB) Downloaded 238 times

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times

Re: pic 10f202

Post by saschech@gmx.de »

Hello Benj

Ok compiling in flowcode and mplab-ide work : build ok
Thank`s

Regards Wolfgang

Post Reply