Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Standalone PIC programmer for ICD2 (Win32)

Status
Not open for further replies.

altxro

Newbie level 2
Joined
Mar 9, 2007
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Romania
Activity points
1,325
progicd2

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]
 

wjr1955

Member level 1
Joined
May 11, 2006
Messages
36
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Location
Sao Paulo BR
Activity points
1,465
icd2 programmer software

Hi

Tested on my ICD2 clone and 18F1320
Works fine
Very nice

Thanks !
 

psmll

Member level 4
Joined
Apr 9, 2007
Messages
74
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,286
Activity points
1,803
icd2 command line

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? :D I'm waiting...
 

Kurenai_ryu

Advanced Member level 2
Joined
Jun 10, 2006
Messages
671
Helped
159
Reputation
316
Reaction score
99
Trophy points
1,308
Location
Bolivia
Activity points
5,913
progicd2.zip

oh my god! 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...)
 

usman_star2

Member level 3
Joined
May 6, 2006
Messages
58
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,747
icd2 programmer

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.
 

izua

Member level 3
Joined
Oct 31, 2006
Messages
63
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
1,888
icd2 programmer altxro

Great work :thumbsup:
Remember that both F and P parameters are mandatory.
 

vartaxe

Newbie level 1
Joined
Dec 7, 2007
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,283
icd2 altxro

nice app!

also how is altdvb going!?:D
 

drbizzarow

Advanced Member level 1
Joined
May 24, 2006
Messages
416
Helped
25
Reputation
50
Reaction score
15
Trophy points
1,298
Activity points
3,647
icd2 command line programmer

thx budy
 

belesci

Newbie level 3
Joined
Dec 18, 2005
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,310
standalone pic

it's working well, thx
 

marcello70

Newbie level 2
Joined
Jan 29, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
icd2 standalone software

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.
 

marcello70

Newbie level 2
Joined
Jan 29, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
icd 2 programmer software

I'm using Proton PicBasic and ProgICD2 is a stand alone programmer for the ICD2 programmer. See the top of this topic
 

coolcat

Newbie level 6
Joined
Dec 20, 2006
Messages
14
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,281
Activity points
1,341
progicd2 download

Is the download link valid? I can't open the files
 

GlennP

Newbie level 1
Joined
Apr 17, 2007
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,284
Hi,

Is there a ProgICD3 in the works or is it possible to change Drivers & or Firmware directory for the ICD3.

Thanks

Glenn
 

BitHammer

Newbie level 1
Joined
Mar 15, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
GlennP: There is a command line utility for the ICD3 built in to MPLAB. Find it at C:\Program Files\Microchip\MPLAB IDE\Programmer Utilities\ICD3\icd3cmd.exe.

blueroomelectronics: MPLAB is great for engineering, but for production it is desirable to have a command line utility that can be built into a script or batch file. For example, I have a network enabled board, and the firmware allows me to set the MAC ID. I would like to automate the process of programming the board and then setting the MAC ID into one process in order to save time and simplify the operation for the production department. I can't do that with MPLAB's GUI tools, but if I have a command line based programmer then I can do that.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top