|
|
View previous topic :: View next topic |
Author |
Message |
Pietro Boni Guest
|
Is possible to use ICD-S with MPLAB to debug assembly progra |
Posted: Fri Jul 18, 2003 1:41 am |
|
|
Hi,
I must to debug an assembly program with 18F252.
I have PCW 3.26 and ICD-S. I read that is possible download the
operative system for ICD2 Microchip.
I tried, but I have errors with MPLAB (v6.30):
Downloading Operating System
ICD0021: Unable to connect with MPLAB ICD 2
...Download Operating System Failed
ICD0152: Failed to read all of requested bytes (0x0 of 0x2)
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
MPLAB ICD 2 Ready
The Microchip Firmware file is: ICD04020012.exe.
I changed the baudrate of ICD-S to 19200, but I have the same errors.
Where is my error?
Pietro
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516131 |
|
|
Douglas Kennedy
Joined: 07 Sep 2003 Posts: 755 Location: Florida
|
Re: Is possible to use ICD-S with MPLAB to debug assembly pr |
Posted: Fri Jul 18, 2003 7:22 am |
|
|
<font face="Courier New" size=-1>:=Hi,
:=I must to debug an assembly program with 18F252.
:=I have PCW 3.26 and ICD-S. I read that is possible download the
:=operative system for ICD2 Microchip.
:=I tried, but I have errors with MPLAB (v6.30):
:=
:=Downloading Operating System
:=ICD0021: Unable to connect with MPLAB ICD 2
:=...Download Operating System Failed
:=ICD0152: Failed to read all of requested bytes (0x0 of 0x2)
:=ICD0082: Failed MPLAB ICD 2 operation
:=ICD0082: Failed MPLAB ICD 2 operation
:=ICD0082: Failed MPLAB ICD 2 operation
:=MPLAB ICD 2 Ready
:=The Microchip Firmware file is: ICD04020012.exe.
:=I changed the baudrate of ICD-S to 19200, but I have the same errors.
:=Where is my error?
:=Pietro
I had the hockey puck (ICD2) but got a refund.
The ICD_s has two kinds of firmware. A boot loader that is protected and the code to support the debugger.ICD2 will have the same thing. Now I suspect it is unlikely that the Microchip
bootloader will in future be compatible with anything but downloading microchip stuff. So you will have to get the microchip bootloader into your ICD_s to be guaranteed compatability.
CCS may be trying to be capable of downloading Microchip firmware but any defect or change by Microchip will blow them out the water. I'd pick one or the other ..100\% Microchip or 100\% CCS. Use picstart or any other programmer to burn the bootloader into the debugger. Ex The microchip boot loader for the ICD1 876 is mpl876.hex you'll need the one for ICD2.
Beware bootloaders are often bit banged so they are married to a specific xtal freq.</font>
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516138 |
|
|
John Taylor Guest
|
Re: Is possible to use ICD-S with MPLAB to debug assembly pr |
Posted: Fri Jul 18, 2003 8:30 am |
|
|
MPLAB 6.x does not work with ICD-1 (Or ICS-S with microchips' ICD FW) It only works with ICD-2.
MPLAB 5.7 only works with ICD-S if the CCS firmware is replaced with the microchip firmware.
:=Hi,
:=I must to debug an assembly program with 18F252.
:=I have PCW 3.26 and ICD-S. I read that is possible download the
:=operative system for ICD2 Microchip.
:=I tried, but I have errors with MPLAB (v6.30):
:=
:=Downloading Operating System
:=ICD0021: Unable to connect with MPLAB ICD 2
:=...Download Operating System Failed
:=ICD0152: Failed to read all of requested bytes (0x0 of 0x2)
:=ICD0082: Failed MPLAB ICD 2 operation
:=ICD0082: Failed MPLAB ICD 2 operation
:=ICD0082: Failed MPLAB ICD 2 operation
:=MPLAB ICD 2 Ready
:=The Microchip Firmware file is: ICD04020012.exe.
:=I changed the baudrate of ICD-S to 19200, but I have the same errors.
:=Where is my error?
:=Pietro
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516143 |
|
|
Pietro Boni Guest
|
Re: Is possible to use ICD-S with MPLAB to debug assembly pr |
Posted: Mon Jul 21, 2003 3:50 am |
|
|
Thanks for John and Douglas.
I load with ICD-S interface the microchip firmware of 5.7 MPLAB version successful,
but MPLAB do not connect with ICD-S: the message is: cannot trasmit to MPLAB ICD2 Please check serial connections and selected port. Of course, before open MPLAB, closed the ICD-S interface
:=MPLAB 6.x does not work with ICD-1 (Or ICS-S with microchips' ICD FW) It only works with ICD-2.
:=
:=MPLAB 5.7 only works with ICD-S if the CCS firmware is replaced with the microchip firmware.
:=
:=
:=:=Hi,
:=:=I must to debug an assembly program with 18F252.
:=:=I have PCW 3.26 and ICD-S. I read that is possible download the
:=:=operative system for ICD2 Microchip.
:=:=I tried, but I have errors with MPLAB (v6.30):
:=:=
:=:=Downloading Operating System
:=:=ICD0021: Unable to connect with MPLAB ICD 2
:=:=...Download Operating System Failed
:=:=ICD0152: Failed to read all of requested bytes (0x0 of 0x2)
:=:=ICD0082: Failed MPLAB ICD 2 operation
:=:=ICD0082: Failed MPLAB ICD 2 operation
:=:=ICD0082: Failed MPLAB ICD 2 operation
:=:=MPLAB ICD 2 Ready
:=:=The Microchip Firmware file is: ICD04020012.exe.
:=:=I changed the baudrate of ICD-S to 19200, but I have the same errors.
:=:=Where is my error?
:=:=Pietro
___________________________
This message was ported from CCS's old forum
Original Post ID: 144516222 |
|
|
|
|
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
|