problems with EC-167


[ Follow Ups ] [ BasicCard User Forum ]

Posted by sana (60.49.101.85) on April 05, 2007 at 14:03:11:

Hello,
Tried out the following using the given EC-167 example under the Professional IDE:
• Project  Compile All
• Selected ECINIT.ZCT in Project  Start Terminal and ECCARD.ZCC in Project  Start BasicCard:

I get the following in a Pop-up window:
Debug File Error:
C:\BasicCardPro\examples\EC-167\EcCard.DBG: error 111 loading file
I checked and the file Eccard.DBG does exist in the directory.

• Then, I tried selecting ECINIT.ZCT in Project  Start Terminal and ECMULTI.ZCC in Project  Start BasicCard:
This time the Debugger windows load without a problem but when Stepping through the ECINIT.BAS code, the CheckSW1SW2()for GetCurve(Curve)command on line 11 fails. The error in the Terminal Program Console is:
Communications error: SW1-SW2 = swCLANotFound

Any ideas on what could be causing the above two problems? By the way, the project compiles and runs without any errors when I use the MS-DOS batch files at command line.
I was trying to get it working in the IDE because when I use the SIM.BAT file, I cannot capture all the output. I think there is a fatal error there when the program is run for MultiApplication BasicCard (uncomment –CM in EccCard.prm). The output I can copy is:

… output missing …
Signature OK
Requesting signature... 0.2000000 seconds
Signature OK
Requesting signature... 0.2100000 seconds
Signature OK
Requesting signature... 0.2010000 seconds
Signature OK
Requesting signature... 0.2100000 seconds
Signature OK
Requesting signature... 0.2000000 seconds
Signature OK
Generating session key... 0.01000000 seconds
Session key encryption OK
Verify: 1.152000 seconds
Verify: 1.102000 seconds
Verify: 1.131000 seconds
Verify: 1.132000 seconds
Verify: 1.102000 seconds
Verify: 1.101000 seconds
Verify: 1.082000 seconds
Verify: 1.132000 seconds
Verify: 1.101000 seconds
Verify: 1.122000 seconds
Verify with invalid signature: 1.131000 seconds

C:\BasicCardPro\Examples\EC-167>

Thanks, Sana



Follow Ups:


[ Follow Ups ] [ BasicCard User Forum ]