| Author |
Message |
altxro
Joined: 09 Mar 2007 Posts: 1 Location: Romania
|
23 Aug 2007 17:46 Standalone PIC programmer for ICD2 (Win32) |
|
| tags: progicd2 icd2 write hex file icd2 programmer icd2 standalone programmer icd2 driver installation vista stand alone programmer pic pic program hex file with icd2 |
|
|
Hi ppl !
I don't know if this is proper section to post new software; if not, please accept my apologies and kindly ask one moderator to move it.
If you consider useful my small app., help me to improve it by postings bug reports and your suggestions to this thread. Thanks !
--------------------------------------------------------------------------------
ProgICD2 : Standalone PIC programmer for Microchip's ICD2
Copyright (C) 2007 by altxro (www.altdvb.ro)
--------------------------------------------------------------------------------
Disclaimer:
This software is FREEWARE. See "Readme.txt" for full disclaimer.
"ProgICD2" is NOT affiliated with, supported by, or endorsed by Microchip !
--------------------------------------------------------------------------------
Installation:
1) Extract all from archive to your pref. directory.
2) Install Microchip ICD2 USB drivers.
Search on google/forums if you don't know how to do it.
(if you already have MPLAB+ICD2 skip this step )
3) Run ProgICD2.exe
--------------------------------------------------------------------------------
Command line parameters:
| Code: |
-P <PIC> ; Microcontroller name (with/without "PIC" or "P" prefix)
-F <FileName> ; File to programm ( *.HEX , format INHX8M,INHX16,INHX32)
-W ; Command: Write to PIC
-A ; Autoload ICD2 firmware without user confirmation
-Q ; Close after programming |
--------------------------------------------------------------------------------
Configurations files:
* Firmware files must be present in "\Firmware" subdirectory.
To update, copy ICD????????.hex from latest "...\MPLAB Ide\Icd2\"
* You can add new devices into file "ProgICD2.pic"
Proper values can be found in microcontroller datasheet and/or
programming specifications.
Format:
| Code: |
[16F877A] ; PIC Name without any literal prefix
Archt=16X ; Architecture ( 10X,16X,17X,18X,30X )
Firmw=01 ; ICD2 Firmware to use ( see Icd2.xml )
FamID=04 ; ICD2 family ID ( see Icd2.xml )
DevID=0E20 ; Device ID ( if available )
MemPG=000000-001FFF ; MemoryRange: Code
MemEE=000000-0000FF ; MemoryRange: Eeprom
MemCF=002007-002007 ; MemoryRange: Configuration
MemUI=002000-002003 ; MemoryRange: User ID
MemDI=002006-002006 ; MemoryRange: Device ID
MemCA= ; MemoryRange: Calibration |
--------------------------------------------------------------------------------
Hints:
* Do not remove USB connector from ICD2 if application is still active
* If you see "Cannot open driver" error try to restart it (Disable/Enable) from
windows Device Manager
--------------------------------------------------------------------------------
Tested on:
* Operating Systems: Win2K SP4 & WinXP Sp2. I don't know if is working on Vista
* Microcontrollers : Some PIC16xxx and PIC18xxx (should work for dsPIC30xxx)
Download: http://www.altdvb.ro/tools/ProgICD2.zip
Happy programming,
[altxro]
|
|
| Back to top |
|
 |
wjr1955
Joined: 11 May 2006 Posts: 32 Helped: 2 Location: Sao Paulo BR
|
24 Aug 2007 3:06 Re: Standalone PIC programmer for ICD2 (Win32) |
|
| tags: 18f1320 icd2 |
|
|
Hi
Tested on my ICD2 clone and 18F1320
Works fine
Very nice
Thanks !
|
|
| Back to top |
|
 |
psmll
Joined: 09 Apr 2007 Posts: 74 Helped: 4
|
25 Aug 2007 0:34 Re: Standalone PIC programmer for ICD2 (Win32) |
|
| tags: icd2 application |
|
|
Nice to have an application like that.
At the moment my ICD2 are damaged, so I can't test it, but thanks.
Off topic: When the ALT-DVB 3? I'm waiting...
|
|
| Back to top |
|
 |
Kurenai_ryu
Joined: 10 Jun 2006 Posts: 150 Helped: 15 Location: Bolivia
|
28 Aug 2007 19:44 Standalone PIC programmer for ICD2 (Win32) |
|
| tags: icd2 programmer icd2 standalone programmer portable icd2 programmer icd2 stand alone programmer standalone icd2 programmer icd 2 stand alone programmer icd2 |
|
|
oh my ---! what I was looking for! sorry I have my ICD at home... sure I'll test it
(my secret wish is to have a portable standalone icd2 programmer, with configuration bits...)
|
|
| Back to top |
|
 |
usman_star2
Joined: 06 May 2006 Posts: 72
|
30 Aug 2007 20:49 Standalone PIC programmer for ICD2 (Win32) |
|
|
|
|
Can any body ask me for project "Incircuit debuging with ICD2 +MPLAB IDE"
Actually i dont have ICD2 but want to make it own for incircuit debugging. If it is possible then help me. I am very thankful to u for this kindness.
|
|
| Back to top |
|
 |
izua
Joined: 31 Oct 2006 Posts: 63 Helped: 2
|
04 Oct 2007 14:03 Re: Standalone PIC programmer for ICD2 (Win32) |
|
|
|
|
Great work :thumbsup:
Remember that both F and P parameters are mandatory.
|
|
| Back to top |
|
 |
vartaxe
Joined: 07 Dec 2007 Posts: 1
|
08 Dec 2007 0:52 Re: Standalone PIC programmer for ICD2 (Win32) |
|
|
|
|
nice app!
also how is altdvb going!?
|
|
| Back to top |
|
 |
drbizzarow
Joined: 24 May 2006 Posts: 252 Helped: 9
|
08 Dec 2007 9:19 Standalone PIC programmer for ICD2 (Win32) |
|
|
|
|
| thx budy
|
|
| Back to top |
|
 |
belesci
Joined: 18 Dec 2005 Posts: 4
|
08 Dec 2007 15:18 Standalone PIC programmer for ICD2 (Win32) |
|
|
|
|
| it's working well, thx
|
|
| Back to top |
|
 |
marcello70
Joined: 29 Jan 2008 Posts: 2
|
29 Jan 2008 23:49 Re: Standalone PIC programmer for ICD2 (Win32) |
|
| tags: icd2 programmer progicd2 mlab icd2 mlab icd 2 icd2 write hex file pic program hex file with icd2 pic icd2 programmer hex file |
|
|
I'm using the program voor a few days, and I have some problems.
I have a program witch I can program whit my old programmer. Also I can program my PIC 18F4523 with MLAB using my new ICD2 Clone.
I'm started whit a small program and that works fine with ProgICD2.exe. I had no problems, but my program gets bigger and now I have a problem.
This is the log off ProgICD2.exe:
everything is OK and then:
Write Code ERROR
Write error (993 words)
My original HEX file is 5.710 bytes, but when I do a read after program error, the HEX file has become 5.739 bytes.
I have compare the both files and there are small diference:
Original HEX:
| Code: |
:020000040000FA
:04000000F0EF00F02D
:080008000F0EEA6E00C0E9FFD3
:10001000011CECEC00F003500410D8B41200E7EC23
........no difference with other file
:1007B0003F94010E086EF40E35EC00F0DAD703001A
:0207C000FED762
:020000040030CA
:03000100021F1EBD
:020005008385F1
:060008000FC00FE00F40E5
:00000001FF |
HEX file after read:
| Code: |
:020000040000FA
:10000000F0EF00F0FFFFFFFF0F0EEA6E00C0E9FF08
:10001000011CECEC00F003500410D8B41200E7EC23
:1000200000F000C0E9FF0150EF1A000000D000D03E
........no difference with other file
:1007B0003F94010E086EF40E35EC00F0DAD703001A
:0207C000FED762
:020000040020DA
:08000000FFFFFFFFFFFFFFFF00
:020000040030CA
:0E00000000021F1E008385000FC00FE00F409E
:00000001FF |
I will attach the both files, by the way, with my old programmer and with MLAB it still works without errors. Mayby some one can help.
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1536 Helped: 86 Location: Toronto, Canada
|
29 Jan 2008 23:55 Standalone PIC programmer for ICD2 (Win32) |
|
| tags: progicd2 progicd2.exe progicd2.exe progicd2 |
|
|
| Why not use MPLAB? What is ProgICD2.exe?
|
|
| Back to top |
|
 |
marcello70
Joined: 29 Jan 2008 Posts: 2
|
29 Jan 2008 23:56 Re: Standalone PIC programmer for ICD2 (Win32) |
|
| tags: icd2 programmer progicd2 stand alone programmer pic pic programmer alone icd2 stand alone programmer using pic icd2 as programmer pic programmer icd2 |
|
|
| I'm using Proton PicBasic and ProgICD2 is a stand alone programmer for the ICD2 programmer. See the top of this topic
|
|
| Back to top |
|
 |
coolcat
Joined: 20 Dec 2006 Posts: 15 Helped: 2
|
30 Jan 2008 9:48 Re: Standalone PIC programmer for ICD2 (Win32) |
|
|
|
|
| Is the download link valid? I can't open the files
|
|
| Back to top |
|
 |