CardWriter - PIC cards |
|
| Programming a PIC type card (Goldcard, Bluecard or Silvercard) with CardWriter. If you're using a VP-20/DL-20 programmer, first set all jumpers and the switch as follows: - The "Atmel/PIC" jumpers should be in PIC position. - The Jumper for the operating frequency to 6 MHz. - The large switch handle down. I haven't had a chance to test a VX-Multi yet, but the programming modes are similar to the ones, found on the MasterA/MasterCRD/SC-Master programmers. So everything should work for the VX-Multi exactly the same. Connect the VP-20/DL-20/MasterA/MasterCRD/SC-Master/VX-Multi to the PC and start CardWriter. Below you can see what your screen should look like. Click the menu item Configuration and check your serial port. Make sure the Expert mode check box is NOT checked.
A little explanation about the screen layout first. At the top of your screen you'll find the usual Menu bar. Direct underneath that you see the Tool bar. It contains icons which are in fact shortcuts for some of the programs functions. The following 3 tabbed lines, I have just numbered those 1 to 3.
Now insert your card into the programmer. First choose the option "Pic" from Tabbed line 1. Then choose the appropriate processor type (I've chosen 16F87/6/7 + 24C6x, a Silvercard). Click the "Load 1" button on the Toolbar and choose the PIC file to load. Note!!! These screen shots were made programming a GoldWafer card. For other types of Pic cards, the actual screen layout may be different. Especially the blue part at the right of the screen will look different for 16F876 type processor cards. The operation remains the same though.
Click the "Load 2" button and choose the eeprom file.
Don't forget to tick the "EEPROM" check box in the lower right corner. Set all fuses "WDT", "PWRTE" and "CP" OFF.
It's a good custom to allways eras the card before programming it. So from the Toolbar choose "Erase". Answer "Ja" to the warning as that is exactly what we want to do.
On your screen appears a popup window telling you to switch to "MODE 2". When using a MasterA, MasterCRD or VX-Multi programmer, switch to "Mode 2 ". With VP-20/DL-20 programmers, push the switch handle down. Click on the "OK" button.
After the card is erased properly, click "Write" on the Toolbar. On your screen appears a popup window telling you to switch to "MODE 2". When using a MasterA, MasterCRD or VX-Multi programmer, switch to "Mode 2 ". With VP-20/DL-20 programmers, push the switch handle down. Click on the "OK" button.
Answer "Ja" to the next warning. We intend to overwrite our card here.
First the program will load a loader file into the processor. At the bottom of your screen a progress bar keeps you informed about the procedure. In the small black window at the right, you can see what the program is currently doing.
After the loader has been programmed, the external eeprom will be programmed. The software tells you to switch to "MODE 0". Switch your MasterA/MasterCRD/SC-Master/VX-Multi to"MODE 0". Pull the switch handle of your VP-20/DL-20 up. Click the "OK" button.
In the black window on the right, you can see that the program is writing the eeprom. The red bar at the bottom keeps you informed about the progress.
When programming of the external eeprom is completed, the real processor data have to be programmed into the PIC. As before, the PIC processor has to be programmed using "MODE 2", so: Switch your MasterA/MasterCRD/SC-Master/VX-Multi to"MODE 2". Push the switch handle on your VP-20/DL-20 down. Click the "OK" button.
In the black window on the right, you can see that the program is writing the processor. The red bar at the bottom keeps you informed about the progress.
If everything went OK, the small black window on the right will show "READY...".
That's all, your card is ready for use. | |