ICprog

Converting HEX<->BIN with ICprog.

Working with ICprog.

Before starting to program your cards with ICprog, you will need to configure the software and the hardware.

ICprog supports a large number of languages.
If you like, you can change the laguage to one that suits you better.
From the "Settings" menu, select "Options".
Click the "Language" tab and select your preferred language.

Screenshot created by Duwgati

Now click the tab "Programming".
Make sure that BOTH TICK BOXES ARE EMPTY.
If you want to verify after programming, then do so manually.
Ticking these option, often results in unpredictable programming results.
No idea what the reason for that is, but better be safe than sorry ;-)

Screenshot created by Duwgati

Next, from the Settings menu choose Hardware.
From the pull down menu choose the programmer you use (in my case the JDM).

Screenshot created by Duwgati

Having configured your hardware, you're ready to start programming devices.

In theory, ICprog supports two methods of programming your smart cards eeprom:
1. Direct programming
2. Through PIC programming
But as I have often experienced problems with the through PIC programming method, I will not describe that function here.
So that means, only the direct programming method will be described here. And as mentioned, that requires the availability of direct programming lineson your card. These cards can be recognized easily. The card will be a SMD- or HMD type card with 8 contacts.

OK then, on with direct programming (in this case a SMD Pic wafer card with 16F84 and 24C16).
From the Settings menu choose Microchip PIC and then look for the PIC 16F84 (see down here).

Screenshot created by Duwgati

Now, from the File menu choose Open File.

Screenshot created by Duwgati

Select the PIC file you would like to program.
PIC files will always be in. Hex file format.

Screenshot created by Duwgati

As soon as you have loaded the PIC file, you will notice that your screen is filled with a lot of info. Probably all abracadabra to you :-))
Only in the bottom part of the screen (the Address - Eeprom Data) will in some cases contain readable text as this part is sometimes used for documentary purposes only. Especially with Piccard2 cards this is the case.

Now press F5 or select Program All from the Command menu to program the PIC 16F84.

Screenshot created by Duwgati

You are now asked to confirm that you want to program the device. Answer Yes.

Screenshot created by Duwgati

You can see the programming sequence in progress.

Screenshot created by Duwgati

Now configure the software for programming the 24C16 eeprom.
Have a look down here for the routing within the program.

Screenshot created by Duwgati

Notice your screen changing. You will now only see 1 big data screen in your program window.
From the File menu choose Open File and select the eeprom file.
You can select. Hex or. Bin file for the eeprom when working with ICprog.

Screenshot created by Duwgati

Now that the eeprom is loaded, press F5, or choose Program All from the Command menu, or click this icon Screenshot created by Duwgati to start programming the eeprom.
Answer Yes to the question whether you really want to program the device or not.

Screenshot created by Duwgati

You can see the eeprom being programmed by a progress bar in a separate window.

Screenshot created by Duwgati

If your software is configured to verify after programming, the eeprom will be verified and when that went OK, your card is ready for use.


Converting HEX<->BIN with ICprog.

If for one reason or another, you want or need to change from. Hex to. Bin format or vice versa, do the following.
Choose the type of eeprom the file is meant for (i.e. 24C16, 24C64 etc.).
Open the file you want to convert.
Now, from the File menu, choose Save File As.
Type in the name if you want the converted file to have another name.
In the new window, choose the desired file type (Save as type).
Press Save and your conversion is completed.

You can use this method to convert between. Bin and. Hex (both H8 and H16 types are supported).