CardWriter - AVR cards |
|
| Programming an AVR type card (Jupiter or Funcard) 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 Atmel 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 "Configuration" from the menu bar 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 "AVR" from Tabbed line 1. Then choose the appropriate processor type (I've chosen AVR 90S8515 which is the Fun card processor).
Click the "Load 1" button on the Toolbar and select the Flash file to load.
Click the "Load 2" button and select the internal eeprom file (this is not used in 3/4/5-in-1 files).
Click the "Load" button and select the external eeprom file.
Check the "EEPROM" tick box in the lower right corner.
Now before we go on, be sure to erase your card first. You should always erase a card before programming it. Just to be sure. So click "Erase" on the Toolbar and click "Ja" in the warning pop up.
When the card is erased, click "Write" on the Toolbar.
On your screen appears a popup window telling you to switch to "Atmel Mode (MODE 1)". When using a MasterA, MasterCRD or VX-Multi programmer, switch to "Mode 4". With VP-20/DL-20 programmers, push the switch handle down. Click on the "OK" button. Answer "Ja" to the next warning. After all, 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 "Multimouse Mode (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.
Now the external Eeprom is programmed.
After the external eeprom is programmed, the real processor data have to be programmed into the AVR, and if necessary the internal eeprom data will then be written too. As before, the AVR processor has to be programmed using "MODE 4", so: Switch your MasterA/MasterCRD/SC-Master/VX-Multi to"MODE 4". Push the switch handle on your VP-20/DL-20 down. Click the "OK" button.
Now the Flash is programmed. You can tell by the message "WRITE PROGRAM" in the black message window.
If you selected a file for the internal eeprom too, it will be programmed now.
If everything went OK, the small black window on the right will show "READY...". That's all, your card is ready for use. | |