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

CCS not understanding well

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



Joined: 05 Jun 2008
Posts: 18

View user's profile Send private message

CCS not understanding well
PostPosted: Wed Oct 01, 2008 10:17 am     Reply with quote

When I launch a program, CCS say to me "The detected target name:
PIC18F2520 does not match the code's target: PIC18F2523. Do you want
to continue anyway?"
I have put the good include in my program and it's really a PIC18f2523
I use PCWH 4.079.
What is the problem?
Thanks
Ttelmah
Guest







PostPosted: Wed Oct 01, 2008 2:48 pm     Reply with quote

Are you running with the ICD enabled?. If so, it is the target in this that differs. You have the code setup to use the 2523, but the ICD setup to use the 2520.
Other place the processor is set, is under 'options', project options. If you have changed the processor from what was first selected, the setting here can also still hold the old processor, and give this behaviour.

Best Wishes
monkeyman



Joined: 05 Jun 2008
Posts: 18

View user's profile Send private message

PostPosted: Thu Oct 02, 2008 7:31 am     Reply with quote

Quote:
Are you running with the ICD enabled?. If so, it is the target in this that differs. You have the code setup to use the 2523, but the ICD setup to use the 2520.

If you are talking about the program ICD in which you can update it firmware, when I click on ADVANCED it detect a PIC18f2520. It's impossible to assign another PIC: if I chose the good pic and click on assign, when I come back to ADVANCED menu, the 2520 come back.
When I run CCS the ICD program isn't running.
In CCS under 'Options', Project Options it's the good processor.
The problem came when I had to do an update of the ICD firmware(2.26).
The program behaviour seems good but I don't like this kind of message.
Thanks for your help, and to read my poor english.
monkeyman



Joined: 05 Jun 2008
Posts: 18

View user's profile Send private message

PostPosted: Thu Oct 09, 2008 2:07 am     Reply with quote

nobody can help me Confused
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Thu Oct 09, 2008 5:53 am     Reply with quote

Which ICD are you using? One from CCS or the ICD2 from Microchip?

The Device ID for the PIC18F2550 and PIC18F2553 are almost equal, only 1 bit different. See Table 5-2 in http://ww1.microchip.com/downloads/en/DeviceDoc/39622k.pdf
There are two notes on this one different bit and it is very well possible the manufacturer of your ICD (CCS or Microchip) created a bug and you need a firmware update.
Guest








PostPosted: Fri Oct 10, 2008 3:31 am     Reply with quote

i'm using CCS ICD-U40
ckielstra, what you want to say is it's not a serious problem?
thanks for your help
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Fri Oct 10, 2008 5:02 am     Reply with quote

Anonymous wrote:
ckielstra, what you want to say is it's not a serious problem?
I don't know if it is serious. You say 'program behaviour seems good', but just like you I don't like the ICD complaining about the wrong processor.

I don't know what is new in firmware v2.26 but you could try reverting to v2.25.

For sure report the problem to CCS.
monkeyman



Joined: 05 Jun 2008
Posts: 18

View user's profile Send private message

PostPosted: Wed Oct 22, 2008 3:26 am     Reply with quote

CCS support has help me Idea
Quote:
The 4.082 release will have the database fix. If a customer wants to fix it himself use TOOLS > DEVICE EDITOR and change the device ID mask to FFF0 for the 18F2520 part (it was incorrectly set to FFE0).
they say to me this bug not cause program problem. Razz
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