I am have a horrible time trying to program a f690. I've been trying to us the pickit3 but I fear that it is not working and I am getting no help for microchip. That said I tried to program a hex file to the device at work on a universal programmer and had what appeared to be no luck. I Have a usb universal programmer on order and hope that I can program strait threw using flowcode. If not how can I make sure that the hex file generated has the proper control words sent to the chip so that the stupid thing works? I am new to this and getting frustrated by this. When I test the code in the panel box it works fine. Please help.
Bill F
HELP- programming pic 16F690
-
- Posts: 26
- Joined: Wed Mar 20, 2013 2:59 pm
- Has thanked: 6 times
- Contact:
-
- Posts: 26
- Joined: Wed Mar 20, 2013 2:59 pm
- Has thanked: 6 times
- Contact:
Re: HELP- programming pic 16F690
OK it notices the pickit3 now but it gives me this error
PICkit 3 Connected.
PK3Err0045:
You must connect to a target device to use PICkit
3. Return code = 2
Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.
FINISHED
PICkit 3 Connected.
PK3Err0045:
You must connect to a target device to use PICkit
3. Return code = 2
Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.
FINISHED
-
- Posts: 26
- Joined: Wed Mar 20, 2013 2:59 pm
- Has thanked: 6 times
- Contact:
Re: HELP- programming pic 16F690
OK , I figured out the last issue, it was me - I was plugged into the wrong plug on the board now I am on the device plug on the board and get this
Connecting...
PICkit 3 detected
Connecting to PICkit 3...
Firmware Suite Version...... 01.28.56
Firmware type......................Midrange
PICkit 3 Connected.
........
Target Detected
Device ID Revision = 00000006
Erasing ...
Erase device complete
Programming Device ...
Programming/Verify complete Return code = 0
FINISHED
Now I have this board under power the whole time and no LED's lighting and if I turn the power off and back on still no LEDs. I am running on the device on Internal RC no clock in the settings with the watchdog timer:ON , power up timer :OFF, Master clear enabled : Internal, Code Protect :OFF , Data EE Read Protect : OFF , Internal External Switch over mode : Enabled , Monitor Clock Fail-safe : Enabled and the Brown Out Detect : BOD Enabled,SBORAN Disablebled and the configure word in HEX
Connecting...
PICkit 3 detected
Connecting to PICkit 3...
Firmware Suite Version...... 01.28.56
Firmware type......................Midrange
PICkit 3 Connected.
........
Target Detected
Device ID Revision = 00000006
Erasing ...
Erase device complete
Programming Device ...
Programming/Verify complete Return code = 0
FINISHED
Now I have this board under power the whole time and no LED's lighting and if I turn the power off and back on still no LEDs. I am running on the device on Internal RC no clock in the settings with the watchdog timer:ON , power up timer :OFF, Master clear enabled : Internal, Code Protect :OFF , Data EE Read Protect : OFF , Internal External Switch over mode : Enabled , Monitor Clock Fail-safe : Enabled and the Brown Out Detect : BOD Enabled,SBORAN Disablebled and the configure word in HEX
-
- Posts: 26
- Joined: Wed Mar 20, 2013 2:59 pm
- Has thanked: 6 times
- Contact:
Re: HELP- programming pic 16F690
LOL, OK you gave me enough info and time to play and the end result is my LEDs are now FLASHING!!!!!
Turns out I need to Autoclear the watchdog timer and BAM it worked. THANK YOU for poking me in the right direction.
Now I can move on with my lessons and learn Flowcode and then design my circuit for the greenhouse PH/EC controllers.
THANK YOU SO MUCH !!!! Can you tell my 2 weeks of frustration just washed away? Have a great day!
Bill F.
PS Now I am dangerous
Turns out I need to Autoclear the watchdog timer and BAM it worked. THANK YOU for poking me in the right direction.
Now I can move on with my lessons and learn Flowcode and then design my circuit for the greenhouse PH/EC controllers.
THANK YOU SO MUCH !!!! Can you tell my 2 weeks of frustration just washed away? Have a great day!
Bill F.
PS Now I am dangerous
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: HELP- programming pic 16F690
Hi Bill,
Welcome to Flowcode and the forums
it's great that you have got your LED's to flash after being pointed in the right direction.
Bet that feels really good.
Well done.
Martin
Welcome to Flowcode and the forums
it's great that you have got your LED's to flash after being pointed in the right direction.
Bet that feels really good.
Well done.
Martin
Martin