Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Making a CCS ICD-S20 or S40 questions

Status
Not open for further replies.

FoxyRick

Advanced Member level 4
Joined
Jan 8, 2004
Messages
1,249
Helped
321
Reputation
640
Reaction score
277
Trophy points
1,373
Location
England, UK
Activity points
12,979
icd-s40 firmware

Hi all,

I want to make a CCS ICD debugger to use with the PICC compiler. I am trying to do it with parts from my spares box. A few questions to confirm and consolidate the info I have:

1. Is the S20 the same circuit as the previous version, therefore the same as the Microchip ICD1, just with a 20MHz crystal and 20MHz PIC?

2. Can I use a 16F876A instead of the 16F876, either by just programming it with the 876 firmware (I know the bootloader won't work to update the firmware) or with a different bootloader (will Zaphod42's 877A bootloader work in an 876A?)?

3. Does anyone know if the CCS ICD-S40 unit is just the same circuit as the earlier models but with an 18F252 instead of the 16F876? Does anyone have the S40 circuit? If so, I could make an S40 with the basic ICD1 circuit, using an 18F252 programmed with the firmware from CCS for the S40???

Cheers,
FoxyRick.
 

hex code for icd s40 using pic16f876

Hi all,

First, sorry for my bad english :(

FoxyRick wrote:

- Is the S20 the same circuit as the previous version, therefore the same as the Microchip ICD1, just with a 20MHz crystal and 20MHz PIC?
- Yes, circuit is the same as MicroChip ICD1

- Can I use a 16F876A instead of the 16F876, either by just programming it with the 876 firmware (I know the bootloader won't work to update the firmware) or with a different bootloader (will Zaphod42's 877A bootloader work in an 876A?)?
- May be, if you change bootloader and put instructions to disable comparator module in 876A/877A processors. I'm using PIC16F876A in my ICD-1 clone, but with changes for comparators.

- Does anyone know if the CCS ICD-S40 unit is just the same circuit as the earlier models but with an 18F252 instead of the 16F876? Does anyone have the S40 circuit? If so, I could make an S40 with the basic ICD1 circuit, using an 18F252 programmed with the firmware from CCS for the S40???
- I'm testing PIC18F252 with crystal 10MHz ( 10MHz X 4 PLL = 40 MHz ) on hardware ICD-1 and suprise, he work fine ! Test was to program and debug PIC16F870,872,873,873A,876,876A,877,877A, PIC18F242,252 onto targed PCB. All firmware is in PIC18F252 processor and you no need to preload it, if changfe target processor, for example from PIC16 to PIC18.

For ICD-1 I'm using my clone, see it at www.geocities.com/svetoslavpirev

With kind regards: Svetoslav Pirev, Bulgaria
 

    FoxyRick

    Points: 2
    Helpful Answer Positive Rating
icd-s40 clone

Hi PIREV,

Could you please tell me how to disable comparator module in 876A/877A processors or would you upload the hex file (@20Mhz) ?


Thanks
 

icd-s20 firmware update

you may make ICD2,it's easy made and powerfull
 

ccs-c icd-s20 firmware

Hi Hugo,
I'm using PIC16F876A into MicroChip ICD-1, not with ICD-Sxx of CCS. Here is code PIC16F876A ASM file for MicroChip ICD-1.
To make CCS firmware to work with PIC16F876A you must import from file menu, CCS firmware ( in MPLAB 5.62, not MPLAB version > 6, becouse disassembler in MPLAB ver > 6 don't work corectly
with data in Program memory ), then disassemble it and save as
asm file, and last make jump after RESET vector to your own
MyInit label, see code below:

; * * * * * * * * * * *
ORG 0x0000
; goto CCSInit
goto MyInit

................
some code
...............

MyInit:
bsf STATUS,5 ; bank1
movlw 0x07 ; comparators OFF
movwf CMCON
clrf CVRCON
bcf STATUS,5 ; bank0
goto CCSInit

................
some code
................
CCSInit:
; * * * * * * * * * * *
 

icd-s20 clone

Pirev,
ti si chudo!!!
Greetings from Varna. Where are you from???
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top