FunProg

Section: FunCard Utilties (1)
Updated: 1.0.0
Index
 

NAME

funprog - A funcard programmer  

SYNOPSIS

funprog [options] [-w] [-{f,F} flash] [-{i,I} inteeprom] [-{e,E} exteeprom]  

DESCRIPTION

FunProg reads and writes smartcard of funcard design.  

OPTIONS

-b
Instruct funprog to find out how large the external eeprom is. This is done by finding duplication of data while reading a unique programmed byte. The test, if successfull, leaves the data intact. This is a good way to find out which type of funcard you have (version 3, 4 or 5 and probably some more).
-B size
Set the external eeprom to size bytes size. This enables funprog to check the data-size of files to program into the external eeprom and optimize the reading of the data. If neither -b or -B is specified, then reading the external eeprom will read 64kBytes. This option is also usefull if you know the size.
-e file
Read file for programming the external eeprom.
-E file
Write the external eeprom to file.
-f file
Read file for programming the flash.
-F file
Write the flash to file.
-h
Print a list of options.
-i file
Read file for programming the internal eeprom.
-I file
Write the internal eeprom to file.
-j file
Use file as loader program. For debugging only. Normally, funprog uses its own builtin loader to access the external eeprom. If you write your own, you must make sure that it accepts the exact same command-set and has exactly the same timing! See fpload.asm for details.
-l
Leave the loader in the card after read/write of the external eeprom. Normally you don't use this, but is comes in handy if you are doing things for special purposes. You can start funprog telling it that the loader is already loaded (-s option).
-L
Only program the loader and exit. See -l for comments.
-p
Show progress when reading/writing the different parts of the card.
-P port
Specify the parallel port to use. Funprog communicates directly with the hardware, so you need to specify the exact address of the port. Since only PC-hardware is supported, the choice is limited to addresses 0x378, 0x278, 0x3bc and 0x2bc. Alternatively, you can specify "dos"-type names lpt1, lpt2, lpt3 or lpt4 for the same addresses. Funprog does not support non-standard PC-hardware because that would require a kernel-driver.
-R
Read-lock the card (disable write and verify/read).
-s
Skip clearing the flash if access to the external eeprom is required and assume that the loader is available.
-v
Verbose output, print extra messages while running.
-V
Print version and exit.
-w
Enable writing data to card. If this option is not present, funprog will refuse to do any operations that would require a write to the card. So, when accessing the external eeprom, programming flash and/or internal eeprom, you need this option.
-W
Write-lock the card (disable additional write).
-y
Identify the funcard. This will print the brand and sizes of the flash and internal eeprom. The external eeprom size is not determined (use -b option). A locked card will be identified as such.
-z
Clear the flash and the internal eeprom. Both flash and internal eeprom are filled with 0xff. Note: this leaves the external eeprom intact.
-Z
Clear everything on the card. The flash, internal and external eeprom are filled with 0xff.
 

AUTHOR

FunProg is written and maintained by B. Stultiens.
Send comments and bugreports to funprog@akhphd.au.dk and visit the homepage at:
http://www.akhphd.au.dk/~bertho/funprog.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 14:17:04 GMT, July 05, 2003