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
Using FC5.2 and melabs U2 pgmr to pgm PIC18F2610 NOT WORKING
Moderator: Benj
Using FC5.2 and melabs U2 pgmr to pgm PIC18F2610 NOT WORKING
- Attachments
-
- 28-pin PIC/Flowcode Issue
- PIC18F2610 Simple Program.JPG (33.91 KiB) Viewed 2672 times
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
Re: Using FC5.2 and melabs U2 pgmr to pgm PIC18F2610 NOT WOR
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.
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.
- Attachments
-
- PIC18f2610.fcf
- (5 KiB) Downloaded 229 times
-
medelec35
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Using FC5.2 and melabs U2 pgmr to pgm PIC18F2610 NOT WOR
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
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
Martin