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

20MHz ICD-S
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
Shep
Guest







Re: 20MHz ICD-S
PostPosted: Tue May 06, 2003 3:04 pm     Reply with quote

Nuts, well, at least i don't have to keep taking the chip out and putting it in my programmer anymore =/

:=I don't think you can. The ICD-S is unique to CCS and works with their PCW debugger.
:=
:=:=Err, how do you get it to work in MPLAB so i can debug?
:=:=
:=:=I've got the ICD to program the target using CCS's little proggy, but not debug.
:=:=
:=:=:=:=Haven't been keeping up with the times these days...
:=:=:=:=
:=:=:=:=If I did this does it mean I can use my ICD1 to program 18F parts?
:=:=:=:=
:=:=:=:=Do i also need MPLAB 6?
:=:=:=:=
:=:=:=Yes it does 18F parts and several times faster than ICD2.
:=:=:=No you don't need MPLAB6
:=:=:=I think we all knew it was technically possible that 18F parts could be programmed via the ICD1. Perhaps Microchip took a Marketing decision to promote ICD2 but since ICD2 added no real additional value above USB and hockey puck styling they decided to trash the ICD1 saying it could not support the 18F just to give the ICD2 a market boost.
___________________________
This message was ported from CCS's old forum
Original Post ID: 14218
timt
Guest







Re: 20MHz ICD-S
PostPosted: Wed May 28, 2003 10:49 am     Reply with quote

I was wondering if anyone has found any resolution with this
problem whenever performing a reset with the ICD. I have the
identical problem using both a CCS ICD-S20 and a CCS ICD-U.
So those are both fast ICD's and my target processor speed is
4MHz. Did anyone manage to communicate this to CCS? Since
these are CCS ICD's it cannot be related to the firmware
upgrade procedure.

As matter of fact, this is currently happening with a subset
of my production image that I am building to develop/test new
functions. My larger production image does not seem to have
the problem (wierd?). Both sets of source have the same
#fuses, #device, etc.


:=Yes, did all of that and it works fine except when using the PCW Debugger.
:=
:=I can download code, set breakpoints, step, etc. but when I click to reset the target I get an error box saying to check the target oscillator and MCLR. With everything the same but a 3.68MHz ICD-S it all works as advertised. In previosu versions of the debugger and ICDS-20 firmware the error box would come up for all functions including when the debugger was re-attaching to the target after loading code. It is getting better but still doesn't work fully at 20MHz.
:=
:=:=<font face="Courier New" size=-1>I have the ICD1 (16F876 )also and I swapped out the crystal to 20 mhz.
:=:=It worked just fine for me and is several times faster than the ICD2 from microchip.
:=:=
:=:=You may already know this
:=:=
:=:=The upgrade of the ICD1 is a two step process (CCS bootloader and CCS firmware).
:=:=The boootloader is specific to the xtal frequency either 3.68 or 20 mhz.
:=:=
:=:=First you need to get a CCS 20 MHZ bootloader into the ICD1.( It relaces the 876 3.68 bootloader from Microchip)
:=:=The 20 mhz bootloader only needs to be installed once however the firmware is upgraded based on CCS releases.
:=:=I used picstart imported the bootloader hex file and flashed it into the 16F876.
:=:=Next using PCW and ICDS I upgraded the firmware. With the CCS 20 bootloader in flash the ICD1 ( now an ICD20S ) will accept future ICDS firmware downloads at 115kbs </font>
___________________________
This message was ported from CCS's old forum
Original Post ID: 144514816
ajt



Joined: 07 Sep 2003
Posts: 110

View user's profile Send private message

Re: 20MHz ICD-S
PostPosted: Wed May 28, 2003 6:12 pm     Reply with quote

I hate it when this happens but the problem went away in my case but I have no clue why. I have been running perfectly with the 20 MHz ICD-S and have not seen the problem. I am running 3.158 and the associated ICDS hex files.

It does seem to be code dependent but I haven't gone back to investigate that as the last time I tried it with some code I previosly had problems with it was working fine. Must be magic.

I can't imagine how this can affect it but one thing that is different is that I had originally flashed the ICD-S code using MPLAB and it did not have the CCS bootloader code so couldn't update from the ICDS program. I fixed this by installing the bootloader code with MPLAB and then using ICD.exe to flash the rest. More magic.

Al

:=I was wondering if anyone has found any resolution with this
:=problem whenever performing a reset with the ICD. I have the
:=identical problem using both a CCS ICD-S20 and a CCS ICD-U.
:=So those are both fast ICD's and my target processor speed is
:=4MHz. Did anyone manage to communicate this to CCS? Since
:=these are CCS ICD's it cannot be related to the firmware
:=upgrade procedure.
:=
:=As matter of fact, this is currently happening with a subset
:=of my production image that I am building to develop/test new
:=functions. My larger production image does not seem to have
:=the problem (wierd?). Both sets of source have the same
:=#fuses, #device, etc.
:=
:=
:=:=Yes, did all of that and it works fine except when using the PCW Debugger.
:=:=
:=:=I can download code, set breakpoints, step, etc. but when I click to reset the target I get an error box saying to check the target oscillator and MCLR. With everything the same but a 3.68MHz ICD-S it all works as advertised. In previosu versions of the debugger and ICDS-20 firmware the error box would come up for all functions including when the debugger was re-attaching to the target after loading code. It is getting better but still doesn't work fully at 20MHz.
:=:=
:=:=:=<font face="Courier New" size=-1>I have the ICD1 (16F876 )also and I swapped out the crystal to 20 mhz.
:=:=:=It worked just fine for me and is several times faster than the ICD2 from microchip.
:=:=:=
:=:=:=You may already know this
:=:=:=
:=:=:=The upgrade of the ICD1 is a two step process (CCS bootloader and CCS firmware).
:=:=:=The boootloader is specific to the xtal frequency either 3.68 or 20 mhz.
:=:=:=
:=:=:=First you need to get a CCS 20 MHZ bootloader into the ICD1.( It relaces the 876 3.68 bootloader from Microchip)
:=:=:=The 20 mhz bootloader only needs to be installed once however the firmware is upgraded based on CCS releases.
:=:=:=I used picstart imported the bootloader hex file and flashed it into the 16F876.
:=:=:=Next using PCW and ICDS I upgraded the firmware. With the CCS 20 bootloader in flash the ICD1 ( now an ICD20S ) will accept future ICDS firmware downloads at 115kbs </font>
___________________________
This message was ported from CCS's old forum
Original Post ID: 144514824
_________________
Al Testani
timt
Guest







Re: 20MHz ICD-S
PostPosted: Thu May 29, 2003 9:18 am     Reply with quote

Well...? Thanks for the reply. It is interesting that you have also seen that it may be code dependent. I know it is. All I have to do is flash image one and everything is fine. But on the same target, image two will fail the reset every time.

My ICDs are genuine CCS versions so I assume they have the bootloader. I have flashed them with the ICD program to be sure they are up to date. Actually, I also tried downgrading them to see if the problem was introduced in a new version of ICD firmware but it was present in all versions I tried.

If I happen across anything useful I will share it here. If I can make time I will try to create this in an example app and get CCS involved but in my experience that can tie up a lot of unproductive time.


:=I hate it when this happens but the problem went away in my case but I have no clue why. I have been running perfectly with the 20 MHz ICD-S and have not seen the problem. I am running 3.158 and the associated ICDS hex files.
:=
:=It does seem to be code dependent but I haven't gone back to investigate that as the last time I tried it with some code I previosly had problems with it was working fine. Must be magic.
:=
:=I can't imagine how this can affect it but one thing that is different is that I had originally flashed the ICD-S code using MPLAB and it did not have the CCS bootloader code so couldn't update from the ICDS program. I fixed this by installing the bootloader code with MPLAB and then using ICD.exe to flash the rest. More magic.
:=
:=Al
:=
:=:=I was wondering if anyone has found any resolution with this
:=:=problem whenever performing a reset with the ICD. I have the
:=:=identical problem using both a CCS ICD-S20 and a CCS ICD-U.
:=:=So those are both fast ICD's and my target processor speed is
:=:=4MHz. Did anyone manage to communicate this to CCS? Since
:=:=these are CCS ICD's it cannot be related to the firmware
:=:=upgrade procedure.
:=:=
:=:=As matter of fact, this is currently happening with a subset
:=:=of my production image that I am building to develop/test new
:=:=functions. My larger production image does not seem to have
:=:=the problem (wierd?). Both sets of source have the same
:=:=#fuses, #device, etc.
:=:=
:=:=
:=:=:=Yes, did all of that and it works fine except when using the PCW Debugger.
:=:=:=
:=:=:=I can download code, set breakpoints, step, etc. but when I click to reset the target I get an error box saying to check the target oscillator and MCLR. With everything the same but a 3.68MHz ICD-S it all works as advertised. In previosu versions of the debugger and ICDS-20 firmware the error box would come up for all functions including when the debugger was re-attaching to the target after loading code. It is getting better but still doesn't work fully at 20MHz.
:=:=:=
:=:=:=:=<font face="Courier New" size=-1>I have the ICD1 (16F876 )also and I swapped out the crystal to 20 mhz.
:=:=:=:=It worked just fine for me and is several times faster than the ICD2 from microchip.
:=:=:=:=
:=:=:=:=You may already know this
:=:=:=:=
:=:=:=:=The upgrade of the ICD1 is a two step process (CCS bootloader and CCS firmware).
:=:=:=:=The boootloader is specific to the xtal frequency either 3.68 or 20 mhz.
:=:=:=:=
:=:=:=:=First you need to get a CCS 20 MHZ bootloader into the ICD1.( It relaces the 876 3.68 bootloader from Microchip)
:=:=:=:=The 20 mhz bootloader only needs to be installed once however the firmware is upgraded based on CCS releases.
:=:=:=:=I used picstart imported the bootloader hex file and flashed it into the 16F876.
:=:=:=:=Next using PCW and ICDS I upgraded the firmware. With the CCS 20 bootloader in flash the ICD1 ( now an ICD20S ) will accept future ICDS firmware downloads at 115kbs </font>
___________________________
This message was ported from CCS's old forum
Original Post ID: 144514850
ajt



Joined: 07 Sep 2003
Posts: 110

View user's profile Send private message

Re: 20MHz ICD-S
PostPosted: Thu May 29, 2003 11:27 am     Reply with quote

I did have CCS involved and the person I was working with seemed motivated to fix the problem but couldn't reproduce it. I was trying to put together a short example of code that caused the issue. In doing that, my problem went away and when I went back to the code I saw the problem on it was gone there also!

At one point I thought it was related to having a getc() in the code but never was able to verify that.

Are you using the latest version of the debugger?

:=Well...? Thanks for the reply. It is interesting that you have also seen that it may be code dependent. I know it is. All I have to do is flash image one and everything is fine. But on the same target, image two will fail the reset every time.
:=
:=My ICDs are genuine CCS versions so I assume they have the bootloader. I have flashed them with the ICD program to be sure they are up to date. Actually, I also tried downgrading them to see if the problem was introduced in a new version of ICD firmware but it was present in all versions I tried.
:=
:=If I happen across anything useful I will share it here. If I can make time I will try to create this in an example app and get CCS involved but in my experience that can tie up a lot of unproductive time.
:=
:=
:=:=I hate it when this happens but the problem went away in my case but I have no clue why. I have been running perfectly with the 20 MHz ICD-S and have not seen the problem. I am running 3.158 and the associated ICDS hex files.
:=:=
:=:=It does seem to be code dependent but I haven't gone back to investigate that as the last time I tried it with some code I previosly had problems with it was working fine. Must be magic.
:=:=
:=:=I can't imagine how this can affect it but one thing that is different is that I had originally flashed the ICD-S code using MPLAB and it did not have the CCS bootloader code so couldn't update from the ICDS program. I fixed this by installing the bootloader code with MPLAB and then using ICD.exe to flash the rest. More magic.
:=:=
:=:=Al
:=:=
:=:=:=I was wondering if anyone has found any resolution with this
:=:=:=problem whenever performing a reset with the ICD. I have the
:=:=:=identical problem using both a CCS ICD-S20 and a CCS ICD-U.
:=:=:=So those are both fast ICD's and my target processor speed is
:=:=:=4MHz. Did anyone manage to communicate this to CCS? Since
:=:=:=these are CCS ICD's it cannot be related to the firmware
:=:=:=upgrade procedure.
:=:=:=
:=:=:=As matter of fact, this is currently happening with a subset
:=:=:=of my production image that I am building to develop/test new
:=:=:=functions. My larger production image does not seem to have
:=:=:=the problem (wierd?). Both sets of source have the same
:=:=:=#fuses, #device, etc.
:=:=:=
:=:=:=
:=:=:=:=Yes, did all of that and it works fine except when using the PCW Debugger.
:=:=:=:=
:=:=:=:=I can download code, set breakpoints, step, etc. but when I click to reset the target I get an error box saying to check the target oscillator and MCLR. With everything the same but a 3.68MHz ICD-S it all works as advertised. In previosu versions of the debugger and ICDS-20 firmware the error box would come up for all functions including when the debugger was re-attaching to the target after loading code. It is getting better but still doesn't work fully at 20MHz.
:=:=:=:=
:=:=:=:=:=<font face="Courier New" size=-1>I have the ICD1 (16F876 )also and I swapped out the crystal to 20 mhz.
:=:=:=:=:=It worked just fine for me and is several times faster than the ICD2 from microchip.
:=:=:=:=:=
:=:=:=:=:=You may already know this
:=:=:=:=:=
:=:=:=:=:=The upgrade of the ICD1 is a two step process (CCS bootloader and CCS firmware).
:=:=:=:=:=The boootloader is specific to the xtal frequency either 3.68 or 20 mhz.
:=:=:=:=:=
:=:=:=:=:=First you need to get a CCS 20 MHZ bootloader into the ICD1.( It relaces the 876 3.68 bootloader from Microchip)
:=:=:=:=:=The 20 mhz bootloader only needs to be installed once however the firmware is upgraded based on CCS releases.
:=:=:=:=:=I used picstart imported the bootloader hex file and flashed it into the 16F876.
:=:=:=:=:=Next using PCW and ICDS I upgraded the firmware. With the CCS 20 bootloader in flash the ICD1 ( now an ICD20S ) will accept future ICDS firmware downloads at 115kbs </font>
___________________________
This message was ported from CCS's old forum
Original Post ID: 144514857
_________________
Al Testani
timt
Guest







Re: 20MHz ICD-S
PostPosted: Thu May 29, 2003 8:02 pm     Reply with quote

I have tried several versions of the PCW debugger and have been on the latest - 3.158. I just downloaded 3.160. Maybe that will be a magic fix. Thanks

:=I did have CCS involved and the person I was working with seemed motivated to fix the problem but couldn't reproduce it. I was trying to put together a short example of code that caused the issue. In doing that, my problem went away and when I went back to the code I saw the problem on it was gone there also!
:=
:=At one point I thought it was related to having a getc() in the code but never was able to verify that.
:=
:=Are you using the latest version of the debugger?
:=
:=:=Well...? Thanks for the reply. It is interesting that you have also seen that it may be code dependent. I know it is. All I have to do is flash image one and everything is fine. But on the same target, image two will fail the reset every time.
:=:=
:=:=My ICDs are genuine CCS versions so I assume they have the bootloader. I have flashed them with the ICD program to be sure they are up to date. Actually, I also tried downgrading them to see if the problem was introduced in a new version of ICD firmware but it was present in all versions I tried.
:=:=
:=:=If I happen across anything useful I will share it here. If I can make time I will try to create this in an example app and get CCS involved but in my experience that can tie up a lot of unproductive time.
:=:=
:=:=
:=:=:=I hate it when this happens but the problem went away in my case but I have no clue why. I have been running perfectly with the 20 MHz ICD-S and have not seen the problem. I am running 3.158 and the associated ICDS hex files.
:=:=:=
:=:=:=It does seem to be code dependent but I haven't gone back to investigate that as the last time I tried it with some code I previosly had problems with it was working fine. Must be magic.
:=:=:=
:=:=:=I can't imagine how this can affect it but one thing that is different is that I had originally flashed the ICD-S code using MPLAB and it did not have the CCS bootloader code so couldn't update from the ICDS program. I fixed this by installing the bootloader code with MPLAB and then using ICD.exe to flash the rest. More magic.
:=:=:=
:=:=:=Al
:=:=:=
:=:=:=:=I was wondering if anyone has found any resolution with this
:=:=:=:=problem whenever performing a reset with the ICD. I have the
:=:=:=:=identical problem using both a CCS ICD-S20 and a CCS ICD-U.
:=:=:=:=So those are both fast ICD's and my target processor speed is
:=:=:=:=4MHz. Did anyone manage to communicate this to CCS? Since
:=:=:=:=these are CCS ICD's it cannot be related to the firmware
:=:=:=:=upgrade procedure.
:=:=:=:=
:=:=:=:=As matter of fact, this is currently happening with a subset
:=:=:=:=of my production image that I am building to develop/test new
:=:=:=:=functions. My larger production image does not seem to have
:=:=:=:=the problem (wierd?). Both sets of source have the same
:=:=:=:=#fuses, #device, etc.
:=:=:=:=
:=:=:=:=
:=:=:=:=:=Yes, did all of that and it works fine except when using the PCW Debugger.
:=:=:=:=:=
:=:=:=:=:=I can download code, set breakpoints, step, etc. but when I click to reset the target I get an error box saying to check the target oscillator and MCLR. With everything the same but a 3.68MHz ICD-S it all works as advertised. In previosu versions of the debugger and ICDS-20 firmware the error box would come up for all functions including when the debugger was re-attaching to the target after loading code. It is getting better but still doesn't work fully at 20MHz.
:=:=:=:=:=
:=:=:=:=:=:=<font face="Courier New" size=-1>I have the ICD1 (16F876 )also and I swapped out the crystal to 20 mhz.
:=:=:=:=:=:=It worked just fine for me and is several times faster than the ICD2 from microchip.
:=:=:=:=:=:=
:=:=:=:=:=:=You may already know this
:=:=:=:=:=:=
:=:=:=:=:=:=The upgrade of the ICD1 is a two step process (CCS bootloader and CCS firmware).
:=:=:=:=:=:=The boootloader is specific to the xtal frequency either 3.68 or 20 mhz.
:=:=:=:=:=:=
:=:=:=:=:=:=First you need to get a CCS 20 MHZ bootloader into the ICD1.( It relaces the 876 3.68 bootloader from Microchip)
:=:=:=:=:=:=The 20 mhz bootloader only needs to be installed once however the firmware is upgraded based on CCS releases.
:=:=:=:=:=:=I used picstart imported the bootloader hex file and flashed it into the 16F876.
:=:=:=:=:=:=Next using PCW and ICDS I upgraded the firmware. With the CCS 20 bootloader in flash the ICD1 ( now an ICD20S ) will accept future ICDS firmware downloads at 115kbs </font>
___________________________
This message was ported from CCS's old forum
Original Post ID: 144514874
végyé



Joined: 24 Jun 2007
Posts: 1
Location: Hungary

View user's profile Send private message Send e-mail MSN Messenger

PostPosted: Mon Jul 16, 2007 1:48 pm     Reply with quote

Hi
Where can I find the 20 MHz ccs bootloader?
I downloaded the latest ccs_icd, but there is only one bootloader, and I think it is for the 4MHz chip.

Thanks
George
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