Register

Protocol 7.00

Discuss issues related to the fx-9860G Software Development Kit
Member
User avatar
Posts: 33
Joined: Sat Apr 07, 2012 10:08 am
Location: France

Protocol 7.00

Postby Purobaz » Fri Jun 01, 2012 9:27 pm

I decided to work on an alternative usb file transfer tool or|and editor for casio 9860.

Did you already use xfer9860 ?

Member
Posts: 43
Joined: Thu May 31, 2012 5:45 pm
Location: Greece
Calculators: Casio fx-9860G SD

Postby hayzel » Sat Jun 02, 2012 8:43 am

Purobaz wrote:Did you already use xfer9860 ?


Yes,it works fine, but it has minimum functionality (only transfers to flash, no listings). I used a lot xfer9860 source code to work on my routines.
I plan to make a transfer program with send/get both in memory and flash, and deleting,renaming,listing/browsing files.

I finished the main routines, but I don't plan to make a terminal tool. My lib works very good with all the above calculator functions.
Mainly I will focus on a simple gui transfer tool for starters.

Member
Posts: 43
Joined: Thu May 31, 2012 5:45 pm
Location: Greece
Calculators: Casio fx-9860G SD

Postby hayzel » Sat Jun 02, 2012 8:53 am

Searching throught the usb dump log of FA-124 I found this command that is not documented in the protocol:
0x01 30 38 31
30 30 31 39 30 30 33 30 30 30 30 30 30 30 30 30
30 30 30 30 30 30 30 30 30 30 30 31 32 45 37
The "08" system command with extended packet the above.

In all calls the extended packet data is the same.
FA-124 uses this command in the start of communication before sending a Check command (0x05) or at the end of a transfer.
The calculator always responds to the command:
0x15 30 34 30 36 43
aka "Error overwrite impossible"

Any ideas, what this command does?

Senior Member
User avatar
Posts: 605
Joined: Sat Sep 15, 2012 6:59 am
Location: Krautland ****
Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860G, Casio fx-9860G SD, Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG20, Casio fx-CG50, Casio Classpad fx-CP400

Postby SimonLothar » Sat Jun 02, 2012 11:08 am

hayzel wrote:The "08" system command...
Any ideas, what this command does?
No, sorry. I'll have a look at the OS.
But as you seem to be experienced with USB: do you know how to access a USB mass-storage-driver (which is used in the Prizm) to establish the serial protocol 7.00? Or do you know ressources, where to learn from?
I'll be back!

Member
Posts: 43
Joined: Thu May 31, 2012 5:45 pm
Location: Greece
Calculators: Casio fx-9860G SD

Postby hayzel » Sat Jun 02, 2012 12:16 pm

SimonLothar wrote:But as you seem to be experienced with USB: do you know how to access a USB mass-storage-driver (which is used in the Prizm) to establish the serial protocol 7.00? Or do you know ressources, where to learn from?

No sorry. I can't help.

Senior Member
User avatar
Posts: 605
Joined: Sat Sep 15, 2012 6:59 am
Location: Krautland ****
Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860G, Casio fx-9860G SD, Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG20, Casio fx-CG50, Casio Classpad fx-CP400

Postby SimonLothar » Sun Jun 03, 2012 6:28 pm

hayzel wrote:The "08" system command...
Any ideas, what this command does?
On the fx-9860 subtype "08" does nothing, except returning error 04. On GII OS 2.00 it looks as if not even an error is returned. On the Prizm it does a bit more, but its function is not clearly detectable. At least it calls no syscalls.

While investigating I saw this:
subtype "06" sets set LINK receive timeout temporarily for the current receive session.
D1="dddd", where dddd is the decimal ASCII representation of the LINK-receive timeout in minutes.
"dddd" must have the fixed length 4.
allowed digits are "0".."9", no spaces.
Max. value: "1440" (=1 day).
System's default: 6 minutes.
I'll be back!

User avatar
Posts: 89
Joined: Thu Apr 05, 2012 3:16 pm
Location: Akron, OH, USA
Calculators: Casio fx-9750GII, Casio fx-CG10

Postby flyingfisch » Tue Jun 05, 2012 1:23 pm

Will this program be available for linux?

xfer9860 does not support the fx9860GII or hacked 9750GII. I don't know why that is but if you could make this program work with those calcs, that would be great!

Return to Casio fx-9860 SDK

Who is online

Users browsing this forum: No registered users and 15 guests