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 CCS Technical Support

Debugging problem

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Jflemire



Joined: 08 Oct 2014
Posts: 3
Location: Canada

View user's profile Send private message AIM Address

Debugging problem
PostPosted: Wed Oct 08, 2014 2:42 pm     Reply with quote

Hi,

I'm using the compiler (latest version in trial mode) to compile an old code. I'm using mplab IDE 8.92 and pickit3. PIC16F672

Here is my problem: I compile the code and at the end, a popup window indicates the following message "Title: MPLAB IDE, text: failed to load." When I try to program the MCU, there is nothing written in it's internal flash.

An hex file is generated. I can compile it by importing it and then program, but I can't debug real time.

And suggestion?

Regards,

JF
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Oct 08, 2014 3:25 pm     Reply with quote

Quote:
I'm using mplab IDE 8.92 and pickit3. PIC16F672

This PIC doesn't exist. Microchip doesn't make it. Check the part
number of your PIC.
Jflemire



Joined: 08 Oct 2014
Posts: 3
Location: Canada

View user's profile Send private message AIM Address

PostPosted: Thu Oct 09, 2014 8:58 am     Reply with quote

Sorry, it's a typo.

PIC18f6722


Last edited by Jflemire on Thu Oct 09, 2014 9:44 am; edited 1 time in total
Ttelmah



Joined: 11 Mar 2010
Posts: 19515

View user's profile Send private message

PostPosted: Thu Oct 09, 2014 9:41 am     Reply with quote

You need to ensue you have the device selected as a debugger, _not_ as a programmer.

Have a look at:
<https://ccsinfo.com/forum/viewtopic.php?t=52737>

and at the 'top ten reasons you can't debug' in the manual.
Jflemire



Joined: 08 Oct 2014
Posts: 3
Location: Canada

View user's profile Send private message AIM Address

PostPosted: Thu Oct 09, 2014 11:27 am     Reply with quote

ok, I reinstalled MPLAB and I don't receive the message failed to load.

Now when I compile, the program memory is still at FFFF but an hex file is generated correctly.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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