User code for MAMP-OS V1.0, V1.1, V1.2 for AT90SC3232C.


How to run the example user application?
========================================

1) Copy avrasm32.exe and mampos.exe into this directory.
2) Double click make.bat and get "Assembly complete with no errors." message.
3) Start mampos.exe and insert smart card into reader.
4) Be sure 'Debug mode?' is checked! (default)
5) Click 'Reset' and see ATR "3B 8C 0C 4D 41 4D 50 2D 4F 53 20 56 31 2E 30 99"
6) Click 'Upload' and wait until EEPROM and code is uploaded (25 seconds)
7) Select 19200,N,8,2
8) Click 'Reset' and see ATR "3B 8D 0D 41 54 52 20 55 53 45 52 20 43 4F 44 45 DB"
9) Click 'Crypto' and see RSA (public / private), AES (encrypt / decrypt), random numbers
10) Click 'PIN' and see wrong PIN with RC = 9001 (unknown rc) and right PIN (user code upload mode enabled)
11) Select 9600,N,8,2
12) Click 'Reset' and see ATR "3B 8C 0C 4D 41 4D 50 2D 4F 53 20 56 31 2E 30 99" again.
13) Exit terminal.

