View previous topic :: View next topic |
Author |
Message |
mark r. hahn Guest
|
release of ICDS firmware API |
Posted: Thu Feb 27, 2003 7:03 pm |
|
|
Does anyone have a guess if and when CCS might release the API for talking to an ICDS. I recently upgraded my MPLAP-ICD to use the ICDS firmware (works great). It would be really nice to be able to use it to debug assembler also.
There is a cryptic comment on the PCW debugger web page about emulator information coming soon.
It seems like it'd be pretty easy to hook an RS232 monitor to the ICDS and see what the commands sent to it look like. Then it would be a simple task to write a front end for those commands. This would allow you to keep using your MPLAB-ICD to do debugging (well maybe without MPLAB which I don't really see as much of a loss).
Mark
___________________________
This message was ported from CCS's old forum
Original Post ID: 12193 |
|
|
Henry Guest
|
Re: release of ICDS firmware API |
Posted: Thu Feb 27, 2003 7:18 pm |
|
|
Hi Mark,
Did you change the XTAL to 20Mhz or are you still using the
original 3.xxMhz?
Thank
:=Does anyone have a guess if and when CCS might release the API for talking to an ICDS. I recently upgraded my MPLAP-ICD to use the ICDS firmware (works great). It would be really nice to be able to use it to debug assembler also.
:=
:=There is a cryptic comment on the PCW debugger web page about emulator information coming soon.
:=
:=It seems like it'd be pretty easy to hook an RS232 monitor to the ICDS and see what the commands sent to it look like. Then it would be a simple task to write a front end for those commands. This would allow you to keep using your MPLAB-ICD to do debugging (well maybe without MPLAB which I don't really see as much of a loss).
:=
:=Mark
___________________________
This message was ported from CCS's old forum
Original Post ID: 12194 |
|
|
Douglas Kennedy
Joined: 07 Sep 2003 Posts: 755 Location: Florida
|
ICDS |
Posted: Thu Feb 27, 2003 7:24 pm |
|
|
You most likely know you can debug the assembler ( lst file ) produced as a result of the c code compilation. Just bring up the window and step through it.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12196 |
|
|
john cutler
Joined: 06 Sep 2003 Posts: 82 Location: Hot Tub, California
|
Re: ICDS |
Posted: Thu Feb 27, 2003 8:28 pm |
|
|
CCS told me that if I speed up the ICD-S to the 20Mhz version, that it will no longer work with MPLAB. I'm not sure why. They also don't annotate the upgrades to ICD-S, so I never know which newer chips it nw supports. I was told that it now works for 16F819, but not yet for 18F1220/1320.
Anyone know about the 20 Mhz MPLAB incompatibility?
:=You most likely know you can debug the assembler ( lst file ) produced as a result of the c code compilation. Just bring up the window and step through it.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12198 |
|
|
sar
Joined: 08 Sep 2003 Posts: 36
|
Re: ICDS |
Posted: Thu Feb 27, 2003 9:45 pm |
|
|
John
Well, of course the mplab ICD-S xtal is 3.686mhz, so the hex file ("MPL876") is for that xtal freq. Therefore the serial port timings in mplab are for 3.686 mhz frequency. For 20mhz to work in Mplab the software and the mplab ICDs file must both be compatable for 20mhz. Mplab ICD-S was compiled only for the 3.686 Mhz xtals not 20mhz. CCS ICD-S was compiled for both, thats why it works at 20mhz in CCS ICD.
Best regards, SAR
___________________________
This message was ported from CCS's old forum
Original Post ID: 12200 |
|
|
john cutler
Joined: 06 Sep 2003 Posts: 82 Location: Hot Tub, California
|
Re: ICDS |
Posted: Thu Feb 27, 2003 9:58 pm |
|
|
SAR - thanks for the reply. It's starting to sound like it's time for me to break down and get an ICD2. It's funny, the CCS FAQ discussion of their ICD vs. Microchip's ICD seem to compare apples to oranges. The CCS devics are tested using PCWH debugger and the Microchip ICD2 is tested using MPLAB.
So the comparison seems sort of meaningless. I may be wrong, but I don't think so.
I hate to go spend close to $200 on an ICD2 for small gains, but I am using new parts that so far only work on ICD2 and I find myself preferring MPLAB to PCW and, strangely enough, going back towards assembler and away from c.
Who would have guessed?
JC
:=John
:=Well, of course the mplab ICD-S xtal is 3.686mhz, so the hex file ("MPL876") is for that xtal freq. Therefore the serial port timings in mplab are for 3.686 mhz frequency. For 20mhz to work in Mplab the software and the mplab ICDs file must both be compatable for 20mhz. Mplab ICD-S was compiled only for the 3.686 Mhz xtals not 20mhz. CCS ICD-S was compiled for both, thats why it works at 20mhz in CCS ICD.
:=Best regards, SAR
___________________________
This message was ported from CCS's old forum
Original Post ID: 12201 |
|
|
mark r. hahn Guest
|
Re: ICDS |
Posted: Sun Mar 02, 2003 6:07 pm |
|
|
HMMM ... actually I didn't know that, thanks for the tip.
Is this feature in the help file someplace? OK, OK I found it. RTFM. This will probably be a big help uncovering compiler bugs.
What I'd also like to be able to do, is use my ICDS with programs written in assembler.
Mark
:=You most likely know you can debug the assembler ( lst file ) produced as a result of the c code compilation. Just bring up the window and step through it.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12289 |
|
|
mark r. hahn Guest
|
Re: release of ICDS firmware API |
Posted: Sun Mar 02, 2003 6:11 pm |
|
|
Henry,
I'm using the original crystal. 20 Mhz would be nice, but I like changing one variable at a time. I'm not sure of my ability to resolder crystals more than once. Of course I guess I could always socket the crystal.
Mark
:=Hi Mark,
:=
:=Did you change the XTAL to 20Mhz or are you still using the
:=original 3.xxMhz?
:=
:=Thank
:=
:=
:=:=Does anyone have a guess if and when CCS might release the API for talking to an ICDS. I recently upgraded my MPLAP-ICD to use the ICDS firmware (works great). It would be really nice to be able to use it to debug assembler also.
:=:=
:=:=There is a cryptic comment on the PCW debugger web page about emulator information coming soon.
:=:=
:=:=It seems like it'd be pretty easy to hook an RS232 monitor to the ICDS and see what the commands sent to it look like. Then it would be a simple task to write a front end for those commands. This would allow you to keep using your MPLAB-ICD to do debugging (well maybe without MPLAB which I don't really see as much of a loss).
:=:=
:=:=Mark
___________________________
This message was ported from CCS's old forum
Original Post ID: 12290 |
|
|
|