Memorial day is 05/25/2015 – Orders will ship out on May 26th. There will not be any deliveries or shipping on Monday. Any order placed after 11am ET on Friday May 22nd will not start to ship out until Tuesday May 26th.

Reader connection problems
Moderators: adafruit_support_bill, adafruit

Reader connection problems

by Myrmidon on Thu Jul 31, 2008 11:03 am

Hello all.

Just homebrewed the sim reader and i have the device connected up, i'v tried com port 4 and 5 of my laptop but i get this error on both occasions:

Traceback (most recent call last):
File "pySimReader.py", line 267, in buttonConnectReader
File "pySIMserial.pyc", line 111, in connectReader
File "pySIMserial.pyc", line 158, in openSession
TypeError: ord() expected a character, but string of length 0 found

Any ideas?

I'm using the windows pysim and a usb to serial cable with all drivers installed.
User avatar
Myrmidon
 
Posts: 27
Joined: Tue Jul 22, 2008 11:50 am

by adafruit on Thu Jul 31, 2008 5:05 pm

it means either your sim reader is not assembled/functioning correctly
or
your sim card is broken

adafruit
 
Posts: 11905
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

by tc on Sat Aug 02, 2008 12:22 am

I get the same error. I don't see any prob with the assembly it looks exactly like the picture. Tried 2 diff sims same error with each.
tc
 
Posts: 3
Joined: Fri Aug 01, 2008 12:02 am

by adafruit on Sun Aug 03, 2008 12:46 pm

make sure its powered
make sure its not the serial cable
make sure its the right COM port

if you can post a very clear photo showing the top and bottom of the kit it would be useful to debug

adafruit
 
Posts: 11905
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

by tc on Sun Aug 03, 2008 8:33 pm

Was the cable. I grabbed it from work. I think it was for a UPS so maybe it wasnt normal. Got a usb-serial cable from bestbuy used now it works fine.
tc
 
Posts: 3
Joined: Fri Aug 01, 2008 12:02 am

by Myrmidon on Mon Aug 04, 2008 8:24 am

After checking my wiring, i noticed a slight error with my crystal wiring so i changed it. Hooked it back up, but i'm still getting the same error.

EDIT: Also, after this error if i click on connect again i get this additional error:

Traceback (most recent call last):
File "pySimReader.py", line 267, in buttonConnectReader
File "pySIMserial.pyc", line 111, in connectReader
File "pySIMserial.pyc", line 143, in openSession
File "serial\serialutil.pyc", line 166, in __init__
File "serial\serialwin32.pyc", line 49, in open
serial.serialutil.SerialException: could not open port COM4: (5, 'CreateFile', 'Access is denied.')
User avatar
Myrmidon
 
Posts: 27
Joined: Tue Jul 22, 2008 11:50 am

Re: Reader connection problems

by pedrosa on Wed Apr 29, 2009 9:30 pm

i everybody

i have just made my simreader in the array test plate, and it just doesn't come alive.
the computer (xpsp3) doesn't detect it.
any good ideas?

BR
pedrosa
pedrosa
 
Posts: 2
Joined: Wed Apr 29, 2009 7:53 pm