The same! Your program and mine are the same except the include file. I think that the problem is on the PICkit maybe the programmer is ignore the NOLVP of CCS and program with the LVP fuse enabled. I am googling to see if there was a problem.
Ttelmah
Joined: 11 Mar 2010 Posts: 19221
Posted: Fri Aug 18, 2017 1:17 am
Try turning off the fast mode.
Fast mode can give problems if the cable is a little borderline on length.
Also try doing a manual erase before starting.
Some of the configuration fuses require a full chip erase to change.
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum