Re: PLEASE HELP: im a student in Australia, need a pic progr
some initial things how to "feed" a goldwafer with (prepared) code:
a normal "gold wafer" card has ISO connector like a credit card. It is not possible to address the eeprom direct, i.e. direct storing information in the eeprom, as the connectors do not lead "outside". A regular smart card uses only 6 of the 8 contact pods to communicate with the rest orf the world. There are a few cards available which lead the contacts from/to EEPROM outside the card. They use the additional contact pods #4 and #8, most popular are the AVR based smart cards.
----
Back to PIC goldwafer: Instead of direct addressing, the following concept will be used: there are 3 different types of software you want to put into the card:
#1 is the regular assembler based code which will drive the processor and which is stored within the PIC chip
#2 is the code which should be stored into the eeprom (like tables of any information)
#3 is a so called "loader" software, which resides temporary in the processors memory area
The Loader concept works as follows: Initially, the card (the memory within the PIC) will be programmed with the "loader". Its only task is to accept commands from external contact pods which proceed something like: take these (whatever blocksize) bytes and programm them into the eeprom. After the eeprom is filled with the code of #2, the loader has done his work. THEN the card will be (re) programmed with its regular processor code and voila - everything is fine.
Some popular programms like "chipcat" or "twoprog" doing this task automaticly for you: they have their own "loader" routine, and you simple have to give them code #1 and #2 to let them automaticly do the rest. As programming device you may use an do-it-yourself programmer or buy some device for a cheap price (20-100 USD)
so you need:
1:: a smarttcard
2:: a programmer device
3:: programming software
As i read your post, 1:: is available, and 3:: might be downloaded from somewhere (use google to find a location)
-----
Nevertheless, you need "prepared" code to feed the card with. Therefore, you need the "normal" things in this area:
4:: An understanding about HOW the smartcard should be reached at a protocoll level (means: which commands will you give to the smartcard to perform which action?
If it should be not too proprietary, then an understanding of ISO smartcard communication protocol (ATR, NANO etc) migt be helpfull and gives you a rough idea about a common interface implementation
5:: an understanding of what your software within the card should do and how it should work
6:: Some understanding of the processor-design and assembler code of the processor
7:: probably a C compiler will be available, enables you a little bit faster design of the algorithm you want to implement
8:: There are also PIC simulators available simulating the pic processor etc
baecause of step 8:: so you do not necessary need to concentrate for programmer hardware in a first step. Try to get step 4:: - 8:: instead. And if everything works, the year is finished and you might buy device 2::
Hope this helps as first info. Take also a look at
**broken link removed**
offers you some helpfull links, and probably some (german) code examles (but most are AVR based)