9860GII Power Graphic 2 transfer problem with using xfer9860
16 posts
• Page 2 of 2 • 1, 2
- hhacker
- Junior Member
- Posts: 9
- Joined: Sat Mar 30, 2013 4:43 am
- Calculators: Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2
Re: 9860GII Power Graphic 2 transfer problem with using xfer
According your error report,I can't make sure what happened in your code,if you are using original xfer,you must make sure if it was worked with your complier.
You can not change T_POSITIVE to 0x5 because it must be 0x6.
And add a few code like these in ReadUSB funciton should be fine,it's not your error code come from.
What you need it just change libusb_bulk_transfer to usb_bulk_read,because the libusb_bulk_transfer is part of usb1.0,and original xfer was using usb0.1
------------
hope it works.
You can not change T_POSITIVE to 0x5 because it must be 0x6.
And add a few code like these in ReadUSB funciton should be fine,it's not your error code come from.
What you need it just change libusb_bulk_transfer to usb_bulk_read,because the libusb_bulk_transfer is part of usb1.0,and original xfer was using usb0.1
------------
hope it works.
- flyingfisch
-
- Posts: 89
- Joined: Thu Apr 05, 2012 3:16 pm
- Location: Akron, OH, USA
- Calculators: Casio fx-9750GII, Casio fx-CG10
Re: 9860GII Power Graphic 2 transfer problem with using xfer
I have a GII model, doesnt that mean T_POSITIVE should be 0x05?
- hhacker
- Junior Member
- Posts: 9
- Joined: Sat Mar 30, 2013 4:43 am
- Calculators: Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2
Re: 9860GII Power Graphic 2 transfer problem with using xfer
flyingfisch wrote:I have a GII model, doesnt that mean T_POSITIVE should be 0x05?
No,it will be 0x6,if you got 0x5 in you read buff,it's cal haven't response correct yet.
- flyingfisch
-
- Posts: 89
- Joined: Thu Apr 05, 2012 3:16 pm
- Location: Akron, OH, USA
- Calculators: Casio fx-9750GII, Casio fx-CG10
Re: 9860GII Power Graphic 2 transfer problem with using xfer
Can you just give me the compiled executable? I cant seem to build it with scons.
- hhacker
- Junior Member
- Posts: 9
- Joined: Sat Mar 30, 2013 4:43 am
- Calculators: Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2
Re: 9860GII Power Graphic 2 transfer problem with using xfer
flyingfisch wrote:Can you just give me the compiled executable? I cant seem to build it with scons.
My code was built on GCC ,running with windows.
You need to make sure that you can complie original xfer code completely(with libusb0.1),then edit the source code
- flyingfisch
-
- Posts: 89
- Joined: Thu Apr 05, 2012 3:16 pm
- Location: Akron, OH, USA
- Calculators: Casio fx-9750GII, Casio fx-CG10
Re: 9860GII Power Graphic 2 transfer problem with using xfer
I can compile the original code, I cannot compile the edited code. :-\
16 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 55 guests