Skip to content

Pair succeeds, open9x() fails on 06cb:009a #9

Closed

Description

@RaghavRao

Hi, I'm not sure if I'm doing this right:


$ python3 pair.py

Initializing flash...
Detected Flash IC: W25Q80B, 1048576 bytes
Sleeping...
Clean slate
Uploading firmware...
Sensor: 57K0 FM-3367-003   
Loaded FWExt version 1.2 (Mon Jan 27 01:32:09 2020), 8 modules
Sleeping...
Calibrating...
Opening sensor: 57K0 FM-3367-003   
Warning: no calibration data was loaded. Consider calibrating the sensor.
Calibration iteration 0...
Ignoring spurious interrupt: 0000000000
Calibration iteration 1...
Ignoring spurious interrupt: 0000000000
Calibration iteration 2...
Ignoring spurious interrupt: 0000000000
Requesting a blank image...
Ignoring spurious interrupt: 0000000000
Init database...
Creating a new user storage object
Creating a host machine GUID record
That's it, pairing's finished
[root@x1-yoga-3rd python-validity]# python3
Python 3.8.3 (default, May 15 2020, 00:00:00) 
[GCC 10.1.1 20200507 (Red Hat 10.1.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from prototype import *
>>> open9x()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/raghav/Development/python-validity/proto9x/init.py", line 22, in open
    usb.send_init()
  File "/home/raghav/Development/python-validity/proto9x/usb.py", line 57, in send_init
    assert_status(self.cmd(unhexlify('01')))
  File "/home/raghav/Development/python-validity/proto9x/util.py", line 9, in assert_status
    raise Exception('Failed: %04x' % s)
Exception: Failed: 0315

Activity

  1. uunicorn commented on Jul 7, 2020

    @uunicorn
    Owner

    Thanks. Looks like calibration logic lacks the reboot() in the end. Can you close this interactive python session and try again?

  2. RaghavRao commented on Jul 8, 2020

    @RaghavRao
    Author

    Enrolling suceeded after exiting the session, opening again, and running the two lines again:

    >>> from prototype import *
    >>> open9x()
    
    
  3. uunicorn commented on Jul 8, 2020

    @uunicorn
    Owner

    I've updated pair.py to do a reboot() before exit, so should not be a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions