Re: MUSCLE Power Up Failed
Hi. I've ordered 2 of these cards (ZC 2.4), and tested the demos with my reader (GCR410 from Gemplus). 1 card is already out of service, and doesn't answer to a reset... I only loaded the Calc demo app, tested it, it worked. I killed one ZC 2.3 by a wrong way of crc calculation. But this has been pointed out in the manual, it was a logical error of mine. Apart from this I never had problems with these cards, even while programming my own library with BC-specific functions and a set of tools that make extensive use of BasicCard functions. What software did you use to load the images into the card? Under which OS? On the other card, I loaded the Elliptic Curve demo, the demo works pretty well, and the card is still functionning. These cards seem very attractive, the Basic is not like the old Basics I used to program when I was 7... No, it is a procedural basic language and very powerful. But I find them too unstable... Because of this small problem you encountered? ;) cu, mike *** Linux Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/smartcard/index.html ***
Re: MUSCLE Power Up Failed
Hi Hatto. It should work with a processor smartcard such as Cryptoflex. Do you or anyone else know where (in Germany) I can get a Cryptoflex or any other card which can be used with the Towitoko driver? Try out the BasicCard. An powerful processor card that can be used with Muscle as far as I know. It can be programmed with Basic, has DES/3DES encryption onboard, with new lib version even elliptic curve algorithm, cheap and you can order small numbers of those card. More information on http://www.zeitcontrol.de and http://www.basiccard.com. If you have problems programming the card, then send me a mail. I´ve some experiences, as I write my own library for card readers and this card. cu, Mike *** Linux Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/smartcard/index.html ***
MUSCLE Power Up Failed
Sorry if this is a stupid question... I just succeeded to compile pscs-lite-0.3.0 and to run its test with a Towitoko card driver (on Pentium PC with Suse 6.2). Test resulted in "Power Up Failed". Can someone tell me what it means and what I can do about it? I hope it hasn't been a mistake to use a Towitoko PIN Security Card. During "make" there was a warning about an incompatible pointer type. Thanks for every useful hint! Hatto Here the output of ./test: --- Winscard PC/SC Lite Test Program Testing SCardEstablishContext Testing SCardListReaders Allocated 20 space for readers Reader 01: Towitoko Chipdrive Enter the desired reader number : 1 Status before 4 winscard.c 80: SCardConnect: Attempting Connect to Towitoko Chipdrive winscard.c 143: SCardConnect: hCard Identity: e298 winscard.c 249: SCardConnect: Active Protocol: 0 winscard.c 525: SCardGetStatusChange: Event Loop Start winscard.c 610: SCardGetStatusChange: Event Loop End winscard.c 305: SCardDisconnect: Active Contexts: 1 Status after 584 Testing SCardConnect winscard.c 80: SCardConnect: Attempting Connect to Towitoko Chipdrive winscard.c 143: SCardConnect: hCard Identity: e298 TST 0 TST -10 winscard.c 214: SCardConnect: Power Up Failed SCardConnect Returns 260 Testing SCardTransmit SCardTransmit Returns 17 Bytes Received 0 Testing SCardDisconnect Testing SCardReleaseContext --- And now the output of make: --- bash-2.03# make flex configfile.ll gcc -g -c atrhandler.c -I./include -DPCSCLITE_LOCAL_LINK=1 gcc -g -c debuglog.c -I./include -DPCSCLITE_LOCAL_LINK=1 gcc -g -c dyn_linux.c -I./include -DPCSCLITE_LOCAL_LINK=1 gcc -g -c ifdwrapper.c -I./include -DPCSCLITE_LOCAL_LINK=1 gcc -g -c lex.yy.c -I./include -DPCSCLITE_LOCAL_LINK=1 gcc -g -c prothandler.c -I./include -DPCSCLITE_LOCAL_LINK=1 gcc -g -c readerfactory.c -I./include -DPCSCLITE_LOCAL_LINK=1 gcc -g -c sys_linux.c -I./include -DPCSCLITE_LOCAL_LINK=1 gcc -g -c winscard.c -I./include -DPCSCLITE_LOCAL_LINK=1 winscard.c: In function `SCardConnect': winscard.c:236: warning: passing arg 2 of `SCardStatus' from incompatible pointer type winscard.c: In function `SCardStatus': winscard.c:447: warning: assignment makes integer from pointer without a cast ld -shared atrhandler.o debuglog.o dyn_linux.o ifdwrapper.o lex.yy.o prothandler.o readerfactory.o sys_linux.o winscard.o -o libpcsclite-core.so cd rpc; make make[1]: Entering directory `/usr/local/pcsc-lite-0.3.0/rpc' gcc -g -w -c winscard_rpc_svc.c -I../include gcc -g -w -c winscard_rpc_server.c -I../include gcc -g -w -c winscard_rpc_xdr.c -I../include gcc -g -w -o pcscserver winscard_rpc_svc.o winscard_rpc_server.o winscard_rpc_xdr.o -L../ -lpcsclite-core -lfl -ldl -I../include gcc -g -w -c winscard.c -I../include gcc -g -w -c winscard_rpc_clnt.c -I../include ld -shared winscard.o winscard_rpc_clnt.o winscard_rpc_xdr.o -o libpcsclite.so make[1]: Leaving directory `/usr/local/pcsc-lite-0.3.0/rpc' gcc -g -o test test.c -DPCSCLITE_LOCAL_LINK=1 -L./ -lpcsclite-core -ldl -lfl -I./include gcc -g -o testrpc test.c -L./rpc -lpcsclite -ldl -lfl -I./include gcc -g -o event event.c -L./rpc -lpcsclite -ldl -lfl -I./include --- *** Linux Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/smartcard/index.html ***
Re: MUSCLE Power Up Failed
Hi, Yes you are right. PC/SC looks for a valid ISO-7816-3/4 card inserted into the reader. You are trying to use an unsupported memory card at the moment. I can give you suggestions as to which cards to use if you want to send me a personal email. Best Regards, Dave * David Corcoran Internet Security/Smartcards Home: Purdue University 1008 Cherry Lane Department of Computer Science West Lafayette, IN 47906 CERIAS/COAST Laboratory Home: (765) 463-0096 Cell: (317) 514-4797 http://www.linuxnet.com * *** Linux Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/smartcard/index.html ***