This document provides information regarding the SpringCard K531 OEM embedded software.
You will find a detailed description of the SpringCard K531 hardware in the product datasheet.
This document is to be used by anyone wishing to build embedded electronic systems implementing the use of a ISO 144443 contactless interface.
Date | Description |
05/02/2007 | Initial release |
The "console" included in K531 OEM embedded software is not a part of the specified product features. They provide only a tool for product evaluation and test.
Depending on firmware version, the list of available commands, and the format of their parameters, may dramatically change, due to new features being included, and to heavy differences in memory footprint.
Therefore, the console commands shall not be used at a production stage, and only be understood as a meany for developer or integrators to validate their hardware before writing host-side software.
Default communication parameters are :
Baudrate can be changed either at runtime (see below) or at startup (see K531 settings).
Mode : for performance reason, once firmware has started working either in OSI or in Binary protocol, the console is disabled. You must reset the module to enable the console (and the ASCII protocol BTW) again.
Remember the list may vary when firmware version is updated.
Remember the list may vary when firmware version is updated.
Enter const to read current value of non-volatile settings.
Enter const=xxxxxxxx to set a new value, where xxxxxxxx is a 32-bit number (hexadecimal format) built according to K531 Settings document.
Please refer to K531 Settings document for a list of valid data (address and length). Do not try to change undocumented data !
Card lookup is performed every 200ms, and RF field is switched OFF between each rounds. Add a "!" after the command to have a continuous polling, with RF field always ON.
Use the "Escape" key to exit from polling.
The polling command can be altered by those flags :
Enter tag or taga to select a card. Note there's no difference between a Mifare card and another kind of card at this level.
Enter read to read the card.
Enter keys_e2 to load the default keys.
This will overwrite any other key you may have entered before, either through the console or by software.
To change Mifare 'A' keys :
To change Mifare 'B' keys :
xxxxxxxxxxxx is the 6-byte value of the key (hexadecimal format).
This will overwrite any other key you may have entered before, either through the console or by software.
Enter tag, tagb or taga to select a card (14443-3 activation). Note there's no difference between a T=CL compliant card and another kind of card at this level.
Enter ats to ask a type A card to enter T=CL layer (14443-4 activation).
Enter attrib to ask a type B card to enter T=CL layer (14443-4 activation).
Enter apdu xx...xx to dialog with the T=CL card.
Enter deselect to disconnect from the T=CL card.
Enter leds=xxx to configure the LEDs.
Allowed values for each parameter are :
New baudrate is applied immediatly. Change baudrate in your terminal to be able to communicate with the module again.
See K531 settings for details.
Any card-related command ("tag, poll for instance) will automatically switch ON this field if it was OFF.