Hello all,
I'm facing programming issue & non-working UART with PIC12F1572 Device.
Issue1:
I'm getting "Failed to program device" error while programming the device using PK3 & the 1 sec Flasher code in the program works perfectly
Issue2:
UART not working
My compiler settings are as follows:
Compiler Options:
----------------------
Compiler Location:
$(appdir)compilers\pic\bin\xc8.exe
Compiler Parameters:
--chip=$(chip) "$(target).c" --MSGDISABLE=359,1273,1388
Linker / Assembler Location:
$(appdir)tools\DoNothing\DoNothing.exe
Linker / Assembler Location:
(blank)
Programmer Location:
C:\Program Files (x86)\Flowcode 7\tools\PICkit3\PK3CMD.exe
Programmer Parameters:
-chip $(chip:u) "$(outdir)$(target).hex"
Any help in resolving these issues will be appreciable.
Regards
Sanjay
PIC12F1572 Issues Programming & UART Issues
Moderator: Benj
-
- Posts: 23
- Joined: Fri Jun 08, 2012 10:54 am
- Location: India
- Has thanked: 10 times
- Been thanked: 3 times
- Contact:
PIC12F1572 Issues Programming & UART Issues
- Attachments
-
- Test 01.fcfx
- (10.14 KiB) Downloaded 266 times
-
- Capture.JPG (48.07 KiB) Viewed 6171 times
- 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: PIC12F1572 Issues Programming & UART Issues
Hello,
The difference between the config values 1A03 and 3A03 is the low voltage programming setting which is being kept on and could explain why the UART isn't working as it consumes an I/O pin.
Anyway I would install the latest MPLABX and then use the IPE software packaged with this to program the device. It will likely have new firmware for the PICkit and hopefully will solve the problem?
Instructions for Flowcode integration here.
https://www.matrixtsl.com/wiki/index.ph ... _.28NEW.29
The difference between the config values 1A03 and 3A03 is the low voltage programming setting which is being kept on and could explain why the UART isn't working as it consumes an I/O pin.
Anyway I would install the latest MPLABX and then use the IPE software packaged with this to program the device. It will likely have new firmware for the PICkit and hopefully will solve the problem?
Instructions for Flowcode integration here.
https://www.matrixtsl.com/wiki/index.ph ... _.28NEW.29
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
-
- Posts: 23
- Joined: Fri Jun 08, 2012 10:54 am
- Location: India
- Has thanked: 10 times
- Been thanked: 3 times
- Contact:
Re: PIC12F1572 Issues Programming & UART Issues
Thanks, Benj, Updated MPLAB X IPE to v5.25 & and the issue got resolved.