Page 1 of 1

pic 10f202

Posted: Tue Dec 28, 2010 1:52 pm
by saschech@gmx.de
Hello Team

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

Regards Wolfgang

Re: pic 10f202

Posted: Tue Dec 28, 2010 3:25 pm
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

Re: pic 10f202

Posted: Tue Dec 28, 2010 4:16 pm
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

Re: pic 10f202

Posted: Tue Dec 28, 2010 4:27 pm
by saschech@gmx.de
Hello Jan

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

i hope Steve have a reaction

Regards Wolfgang

Re: pic 10f202

Posted: Tue Dec 28, 2010 5:28 pm
by Jan Lichtenbelt
Dear Wolgang,

Plaese attach the flowcode file.

Kind regards

Jan Lichtenbelt

Re: pic 10f202

Posted: Tue Dec 28, 2010 6:11 pm
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

Re: pic 10f202

Posted: Tue Dec 28, 2010 7:05 pm
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

Re: pic 10f202

Posted: Tue Dec 28, 2010 7:54 pm
by saschech@gmx.de
Hello Jan

Without any kommentar

Regards Wolfgag

Re: pic 10f202

Posted: Tue Dec 28, 2010 9:11 pm
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

Re: pic 10f202

Posted: Thu Dec 30, 2010 12:56 pm
by saschech@gmx.de
Hello Steve

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

Regards Wolfgang

Re: pic 10f202

Posted: Thu Dec 30, 2010 1:22 pm
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.

Re: pic 10f202

Posted: Thu Dec 30, 2010 1:29 pm
by saschech@gmx.de
Hello Steve

Here the file.

Regards Wolfgang

Re: pic 10f202

Posted: Thu Dec 30, 2010 2:11 pm
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.

Re: pic 10f202

Posted: Thu Jan 06, 2011 10:06 am
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.

Re: pic 10f202

Posted: Thu Jan 06, 2011 1:10 pm
by saschech@gmx.de
Hello Benj

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

Regards Wolfgang