Register

9860GII Power Graphic 2 transfer problem with using xfer9860

Discuss anything related to calculators. For specific help on certain games/programs check the Released Projects subforum.
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

Postby hhacker » Sun Apr 07, 2013 12:59 am

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.

User avatar
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

Postby flyingfisch » Sun Apr 07, 2013 10:02 pm

I have a GII model, doesnt that mean T_POSITIVE should be 0x05?

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

Postby hhacker » Sun Apr 07, 2013 11:45 pm

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.

User avatar
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

Postby flyingfisch » Mon Apr 08, 2013 12:26 am

Can you just give me the compiled executable? I cant seem to build it with scons.

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

Postby hhacker » Mon Apr 08, 2013 1:00 am

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

User avatar
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

Postby flyingfisch » Mon Apr 08, 2013 6:26 pm

I can compile the original code, I cannot compile the edited code. :-\

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 14 guests