Page 1 of 1

Using FC5.2 and melabs U2 pgmr to pgm PIC18F2610 NOT WORKING

Posted: Tue Feb 26, 2013 10:13 am
by mikerho
Hi Everyone,

I'm new here, as if you can't tell!

1) What I'm trying to do:
Program a PIC18F2610 to control a 3-axis CNC. I have a that I have been using to take the .hex code generated by my Flowcode 5.2 program and uploading said code into the target PIC18F2610 chip.
2) What I have since simplified to is a program that will make pin 25 (RB4) high for 2s and low for 2s. This should mean that pin 25 should read 5v for 2s and 0V for 2s over and over. After "programming" the chip, pin 25 output is a steady 0VDC.
3) My question(s):
Is there something wrong with my programming? Is there some c-code I must use to make this specific chip amenable to straightforward programming? Please see the attached flowcode .jpg

Thanks!

Mike

Re: Using FC5.2 and melabs U2 pgmr to pgm PIC18F2610 NOT WOR

Posted: Tue Feb 26, 2013 12:56 pm
by Enamul
Hi
It is something like the attached. But you have to be careful about config setting properly. I have correctly set the config. You can use that.

Re: Using FC5.2 and melabs U2 pgmr to pgm PIC18F2610 NOT WOR

Posted: Tue Feb 26, 2013 2:07 pm
by medelec35
Hi Mike,
Since you’re not using a free version of Flowcode V5, I have moved posts to a more relevant section.
To enable you to post in this V5 section can please follow this link:
http://www.matrixmultimedia.com/mmforum ... =46&t=9958

Thank you

Martin