This tool can be used for flashing AU9540 smart card reader firmware under linux
If your device came without flash (as mine), you can solder standard serial EEPROM 24C02 to your reader to be able to write serial to the device. See pictures folder.
- sudo pip install pyscard
- edit /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist:
<key>ifdDriverOptions</key> <string>0x0001</string>
- prepare bin using original firmware utility or use vnet001.bin in this git
- read flash: ./fw-tool.py
- write flash: ./fw-tool.py vnet001.bin
- write flash and change serial to vnet010: ./fw-tool.py vnet001.bin vnet010