CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Target halts prematurely
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Apr 14, 2017 12:04 pm     Reply with quote

What silicon revision is reported by MPLAB when the Pickit 3 connects
to the 16F1783 ?
JerryR



Joined: 07 Feb 2008
Posts: 164

View user's profile Send private message

PostPosted: Fri Apr 14, 2017 12:10 pm     Reply with quote

OK. More news. Code seems to run fine (been here before, however) using a ICD3 debugger. Tested the PICKit3 on another target on another project using a PIC18F87J60 and it works fine. I wonder if there might be an issue with the PICKit3 on the PIC16F1783?

Stay tuned

Thanks!
JerryR



Joined: 07 Feb 2008
Posts: 164

View user's profile Send private message

PostPosted: Fri Apr 14, 2017 12:50 pm     Reply with quote

PICkit 3 detected
Connecting to PICkit 3...
Firmware Suite Version...... 01.28.56
Firmware type......................Enhanced Midrange
PICkit 3 Connected.
Target Detected
Device ID Revision = 00000008

Programming...
Programming/Verify complete


Going to take a late lunch. Thanks for your help. I'll be back tonight.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Apr 14, 2017 4:20 pm     Reply with quote

That's silicon revision B4, which is the latest one. The errata for that
revision doesn't list any CPU bugs. There are some quirks, but you're
not doing any of the things listed in the errata that could cause them.
http://ww1.microchip.com/downloads/en/DeviceDoc/80000541D.pdf

Look at the Pickit 3 settings and make sure you haven't set it a manually
restricted range of PIC addresses. You should select the following
option. It's the default:
Quote:
Allow PICkit 3 to select memories and ranges
JerryR



Joined: 07 Feb 2008
Posts: 164

View user's profile Send private message

PostPosted: Fri Apr 14, 2017 5:29 pm     Reply with quote

Yes, everything is pretty simple. I remember also having strange issues using the PICKit3 with another PIC16F device. I'll keep the group posted.

Thanks again for your help!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group