View previous topic :: View next topic |
Author |
Message |
monkeyman
Joined: 05 Jun 2008 Posts: 18
|
CCS not understanding well |
Posted: Wed Oct 01, 2008 10:17 am |
|
|
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
|
|
Posted: Wed Oct 01, 2008 2:48 pm |
|
|
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
|
|
Posted: Thu Oct 02, 2008 7:31 am |
|
|
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
|
|
Posted: Thu Oct 09, 2008 2:07 am |
|
|
nobody can help me |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Thu Oct 09, 2008 5:53 am |
|
|
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
|
|
Posted: Fri Oct 10, 2008 3:31 am |
|
|
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
|
|
Posted: Fri Oct 10, 2008 5:02 am |
|
|
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
|
|
Posted: Wed Oct 22, 2008 3:26 am |
|
|
CCS support has help me
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. |
|
|
|