0

ulta slim 4750 finger printer reader and CPE error
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

ulta slim 4750 finger printer reader and CPE error

by taymota on Sun Jun 06, 2021 1:18 pm

I keep coming across and issue using the adafruit_fingerprint circuit python lib on both the itsy and circuit playground. I have lib loaded and have been able to get the ready to the point of being able to read by removing some code from the "fingerprint_template_file_compare" anytime i try to go through the enroll_save_to_file call i get errors in get_gpdata .
I have not seen allot on the pid#4750 so is there something different i need to do for this sensor over the others on the site ?
I have opened up the adafruit_fingerprint.py but not sure where to look next .

cpe_fingerprint.PNG
error
cpe_fingerprint.PNG (14.57 KiB) Viewed 273 times

code.py
code
(5.48 KiB) Downloaded 4 times

taymota
 
Posts: 4
Joined: Sun Jun 06, 2021 1:04 pm

Re: ulta slim 4750 finger printer reader and CPE error

by taymota on Fri Jul 23, 2021 10:22 pm

anyone else have this issue? any help?

taymota
 
Posts: 4
Joined: Sun Jun 06, 2021 1:04 pm

Re: ulta slim 4750 finger printer reader and CPE error

by adafruit_support_carter on Mon Jul 26, 2021 1:22 pm

Looks like you may be running into a memory issue. Does the simpletest example run OK?
https://github.com/adafruit/Adafruit_Ci ... pletest.py

adafruit_support_carter
 
Posts: 20622
Joined: Tue Nov 29, 2016 2:45 pm

Re: ulta slim 4750 finger printer reader and CPE error

by taymota on Wed Jul 28, 2021 9:47 pm

No i get error when it trys to just load

"code.py output:
Traceback (most recent call last):
File "code.py", line 8, in <module>
File "adafruit_fingerprint.py", line 94, in <module>
MemoryError: memory allocation failed, allocating 296 bytes"


I was originally tried to use the QT py and thought maybe it did not have enough ram, so switched to circuit playground but got same issue.

taymota
 
Posts: 4
Joined: Sun Jun 06, 2021 1:04 pm

Re: ulta slim 4750 finger printer reader and CPE error

by adafruit_support_carter on Thu Jul 29, 2021 11:19 am

The QT PY and the Circuit Playground Express both use the same class of processor (SAMD21 M0). It looks like that does not have enough RAM for running this library. So, unfortunately, you'll need to upgrade to a board with more RAM.

adafruit_support_carter
 
Posts: 20622
Joined: Tue Nov 29, 2016 2:45 pm

Re: ulta slim 4750 finger printer reader and CPE error

by taymota on Thu Jul 29, 2021 11:32 am

So the guide has the Trinket M0 in it would that board work ?

taymota
 
Posts: 4
Joined: Sun Jun 06, 2021 1:04 pm

Re: ulta slim 4750 finger printer reader and CPE error

by adafruit_support_carter on Thu Jul 29, 2021 12:03 pm

No, that's also an M0 based board. I just tested to verify and opened a new issue for this here:
https://github.com/adafruit/Adafruit_Ci ... /issues/33
It may have worked before and the library has now grown too big.

adafruit_support_carter
 
Posts: 20622
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.