pic 10f202
Moderator: Benj
-
saschech@gmx.de
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
pic 10f202
Hello Team
I want start a extremely simple example with a 10f202 .
No success,ihave the error (show)
Regards Wolfgang
I want start a extremely simple example with a 10f202 .
No success,ihave the error (show)
Regards Wolfgang
- Attachments
-
- correct code.gif (6.99 KiB) Viewed 8198 times
-
- pic10f202.gif
- (68.43 KiB) Downloaded 1390 times
- 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
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
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 (69.59 KiB) Viewed 8189 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
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
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
Hello Jan
The mistake is inside my!!!! flocode version...
i hope Steve have a reaction
Regards Wolfgang
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.
- 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:
-
saschech@gmx.de
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
Re: pic 10f202
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
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
- 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
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
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
Hello Jan
Without any kommentar
Regards Wolfgag
Without any kommentar
Regards Wolfgag
- Attachments
-
- sysdat.gif
- (61.21 KiB) Downloaded 1357 times
- 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
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
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
- Steve
- Matrix Staff
- Posts: 3434
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: pic 10f202
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.
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
Hello Steve
Here the file.
Regards Wolfgang
Here the file.
Regards Wolfgang
- Attachments
-
- test.c
- (1.57 KiB) Downloaded 229 times
- Steve
- Matrix Staff
- Posts: 3434
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: pic 10f202
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.
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.
- 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
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.
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
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
-
saschech@gmx.de
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
Re: pic 10f202
Hello Benj
Ok compiling in flowcode and mplab-ide work : build ok
Thank`s
Regards Wolfgang
Ok compiling in flowcode and mplab-ide work : build ok
Thank`s
Regards Wolfgang