Known Protocol 7.00 commands by CASIO¶
These commands have been defined by CASIO through their Protocol 7.00 implementations. Some may no longer be implemented on newer models.
00
“Restart”¶
Restart or reset the device.
An example of such command is the following:
T ST EX CS
. 00 0 70
01
“Get device information”¶
Request an extended ACK with subtype 02
, and a payload containing
device information.
See Requesting device information for the related flow, and 0x06 – Acknowledgement (ACK) packet for more information regarding the payload format.
An example of such command is the following:
T ST EX CS
. 01 0 6F
02
“Set link settings”¶
Data 1 (D1) | Baud rate in decimal format. |
Data 2 (D2) | Parity, among “ODD”, “EVEN” or “NONE”. |
Data 3 (D3) | Stop bits, “1” or “2”. |
If connected to the passive device using a serial link, this command signifies a request to communicate using different serial parameters.
Note
The serial speeds are limited to the following speeds (or baud rates): 300, 600, 1200, 2400, 4800, 9600 (by default), 19200, 38400, 57600 and 115200 bauds.
See Updating serial parameters for more information.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 D2 D3 CS
. 02 1 0022 00 00 00000000 05 04 01 00 00 00 19200 EVEN 2 C3
06
“Set link timeout”¶
Data 1 (D1) | 4-char ASCII-HEX number of minutes |
Set the timeout for the link, after which the connection is terminated.
Todo
Does the calculator send a termination packet?
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 CS
. 06 1 001C 00 00 00000000 04 00 00 00 00 00 0001 50
07
Verification 1 (OS Update)¶
Todo
Describe this command.
08
Verification 2 (OS Update)¶
Todo
Describe this command.
09
Verification 3 (OS Update)¶
Todo
Describe this command.
This command with a Graph 75+E just returns a simple ACK.
0A
Verification 4 (OS Update)¶
Todo
Describe this command.
20
“Create directory” (main memory)¶
Data 1 (D1) | Name of the directory to create. |
Create a directory on the main memory root.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 CS
. 20 1 001D 00 00 00000000 05 00 00 00 00 00 HELLO 9F
21
“Delete directory” (main memory)¶
Data 1 (D1) | Name of the directory to delete. |
Delete a directory on the main memory root.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 CS
. 21 1 001D 00 00 00000000 05 00 00 00 00 00 HELLO 9E
22
“Rename directory” (main memory)¶
Data 1 (D1) | Name of the directory to rename. |
Data 2 (D2) | New name for the directory. |
Rename a directory on the main memory root.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 D2 CS
. 22 1 0022 00 00 00000000 05 05 00 00 00 00 HELLO WORLD 21
23
“Change working directory” (main memory)¶
Data 1 (D1) | Name of the directory (or “” for root). |
Change the working directory on the main memory.
Note
When provided and not empty, the directory name is always from the root, since the main memory doesn’t support more depth.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 CS
. 23 1 001D 00 00 00000000 05 00 00 00 00 00 HELLO 9C
24
“Request file transfer” (main memory)¶
Data Type (DT) | Main memory data type. |
Data 1 (D1) | Directory name. |
Data 2 (D2) | File name. |
Data 3 (D3) | Group name. |
Request a main memory file to be transferred, using command 25 “Transfer file” (main memory).
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 D2 CS
. 24 1 0026 00 01 00000000 06 08 00 00 00 00 system PLSOUMOI F5
25
“Transfer file” (main memory)¶
Overwrite (OW) | Overwrite mode. |
Data Type (DT) | Main memory data type. |
Filesize (FS) | File size. |
Data 1 (D1) | Directory name. |
Data 2 (D2) | File name. |
Data 3 (D3) | Group name. |
Transfer a main memory file.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 D2 CS
. 25 1 0026 00 01 00012345 06 08 00 00 00 00 system PLSOUMOI E5
26
“Delete file” (main memory)¶
Data Type (DT) | Main memory data type. |
Filesize (FS) | File size. |
Data 1 (D1) | Directory name. |
Data 2 (D2) | File name. |
Data 3 (D3) | Group name. |
Delete a main memory file.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 D2 CS
. 26 1 0026 00 01 00012345 06 08 00 00 00 00 system PLSOUMOI E4
27
“Rename file” (main memory)¶
Data Type (DT) | Main memory data type. |
Data 1 (D1) | Directory name. |
Data 2 (D2) | File name. |
Data 3 (D3) | New file name. |
Rename a main memory file.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 D2 D3 CS
. 27 1 002E 00 01 00000000 06 08 08 00 00 00 system PLSOUMOI PLUSMOIN 64
28
“Copy file” (main memory)¶
Data Type (DT) | Main memory data type. |
Data 1 (D1) | Directory name. |
Data 2 (D2) | File name. |
Data 3 (D3) | New directory name. |
Data 4 (D4) | New file name. |
Copy a main memory file into another on the device.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 D2 D3 D4 CS
. 28 1 0034 00 01 00000000 06 08 06 08 00 00 system PLUSMOIN system PLMNCOPY CE
29
“Request transfer of all files” (main memory)¶
Request all main memory files to be transferred using command 25 “Transfer file” (main memory).
An example of such command is the following:
T ST EX CS
. 29 0 65
2A
“Reset” (main memory)¶
Reset main memory.
An example of such command is the following:
T ST EX CS
. 2A 0 5D
2B
“Request available capacity” (main memory)¶
Request the available capacity on the main memory to be transferred using command 2C “Transfer available capacity” (main memory).
An example of such command is the following:
T ST EX CS
. 2B 0 5C
2C
“Transfer available capacity” (main memory)¶
Filesize (FS) | Available capacity. |
Transfer the available capacity on the main memory.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 CS
. 2C 1 0018 00 00 00123456 00 00 00 00 00 00 FC
2D
“Request all file information” (main memory)¶
Transfer information regarding all main memory files, using command 2E “Transfer file information” (main memory).
An example of such command is the following:
T ST EX CS
. 2D 0 5A
2E
“Transfer file information” (main memory)¶
Data Type (DT) | Main memory data type. |
Filesize (FS) | File size. |
Data 1 (D1) | Directory name. |
Data 2 (D2) | File name. |
Data 3 (D3) | Group name. |
Transfer information regarding a main memory file.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 D2 CS
. 2E 1 0026 00 01 00012345 06 08 00 00 00 00 system PLUSMOIN D6
2F
“Request raw main memory”¶
Request the raw main memory to be sent using command 30 “Transfer raw main memory”.
An example of such command is the following:
T ST EX CS
. 2F 0 58
30
“Transfer raw main memory”¶
Transfer the raw main memory.
An example of such command is the following:
T ST EX CS
. 30 0 6D
31
“Request setup entry”¶
Data 1 (D1) | Setup entry name. |
Request a setup entry, to be sent using command 32 “Transfer setup entry”.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 CS
. 31 1 0018 00 00 00000000 00 00 00 00 00 00 22
32
“Transfer setup entry”¶
Data 1 (D1) | Setup entry name. |
Data 2 (D2) | Setup entry value. |
Send a setup entry.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 D2 CS
. 32 1 001F 00 00 00000000 05 02 00 00 00 00 Angle 01 C4
33
“Request all setup entries”¶
Request all setup entries to be sent using command 32 “Transfer setup entry”.
An example of such command is the following:
T ST EX CS
. 33 0 6A
40
“Create directory” (storage)¶
Data 1 (D1) | Directory name. |
Data 5 (D5) | Device name. |
Create a directory on the provided storage device.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 D5 CS
. 40 1 0024 00 00 00000000 08 00 00 00 04 00 MYFOLDER fls0 42
41
“Delete directory” (storage)¶
Data 1 (D1) | Directory name. |
Data 5 (D5) | Device name. |
Delete a directory on the provided storage device.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 D5 CS
. 41 1 0024 00 00 00000000 08 00 00 00 04 00 MYFOLDER fls0 41
42
“Rename directory” (storage)¶
Data 1 (D1) | Directory name. |
Data 2 (D2) | New directory name. |
Data 5 (D5) | Device name. |
Rename a directory on the provided storage device.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 D2 D5 CS
. 42 1 002C 00 00 00000000 08 08 00 00 04 00 MYFOLDER PRECIOUS fls0 BF
43
“Change working directory” (storage)¶
Data 1 (D1) | Directory name. |
Data 5 (D5) | Device name. |
Update the working directory on the given device.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 D5 CS
. 43 1 0024 00 00 00000000 08 00 00 00 04 00 MYFOLDER fls0 3F
44
“Request file” (storage)¶
Data 1 (D1) | Directory name. |
Data 2 (D2) | File name. |
Data 5 (D5) | Device name. |
Request for a file to be sent on the given device.
This command is used in the following use cases:
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D1 D2 D5 CS
. 44 1 002F 00 00 00000000 08 0B 00 00 04 00 MYFOLDER MYADDIN.G1A fls0 2D
45
“Transfer file” (storage)¶
Overwrite (OW) | Overwrite mode. |
Filesize (FS) | File size. |
Data 1 (D1) | Directory name. |
Data 2 (D2) | File name. |
Data 5 (D5) | Device name. |
Transfer a file to be sent on the given device.
This command is used in the following use cases:
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D2 D5 CS
. 45 1 0027 02 00 00123456 00 0B 00 00 04 00 MYADDIN.G1A fls0 8E
46
“Delete file” (storage)¶
Data 1 (D1) | Directory name. |
Data 2 (D2) | File name. |
Data 5 (D5) | Device name. |
Delete a file on the given device.
This command is used in the following use cases:
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D2 D5 CS
. 46 1 0027 00 00 00000000 00 0B 00 00 04 00 MYADDIN.G1A fls0 A4
47
“Rename file” (storage)¶
Data 1 (D1) | Directory name. |
Data 2 (D2) | File name. |
Data 3 (D3) | New file name. |
Data 5 (D5) | Device name. |
Rename a file on the given device.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D2 D3 D5 CS
. 47 1 0033 00 00 00000000 00 0B 0C 00 04 00 MYADDIN.G1A GRAVDUCK.G1A fls0 55
48
“Copy file” (storage)¶
Data 1 (D1) | Directory name. |
Data 2 (D2) | File name. |
Data 3 (D3) | New directory name. |
Data 4 (D4) | New file name. |
Data 5 (D5) | Device name. |
Copy a file on the given device.
This command is used in the following use cases:
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D2 D4 D5 CS
. 48 1 0033 00 00 00000000 00 0C 00 0B 04 00 ORIGNAME.G1A NEWNAME.G1A fls0 54
49
“Request all files” (storage)¶
Data 5 (D5) | Storage device |
Request all files to be transmitted using command 45 “Transfer file” (storage).
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D5 CS
. 49 1 001C 00 00 00000000 00 00 00 00 04 00 fls0 95
4A
“Reset” (storage)¶
Data 5 (D5) | Storage device |
Reset a storage device.
This command is used in the following use cases:
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D5 CS
. 4A 1 001C 00 00 00000000 00 00 00 00 04 00 fls0 8D
4B
“Request available capacity” (storage)¶
Data 5 (D5) | Storage device |
Request the available capacity for a given storage device.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D5 CS
. 4B 1 001C 00 00 00000000 00 00 00 00 04 00 fls0 8C
4C
“Transfer available capacity” (storage)¶
Filesize (FS) | Available capacity |
Data 5 (D5) | Storage device |
Provide the available capacity for a given storage device.
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D5 CS
. 4C 1 001C 00 00 00000000 00 00 00 00 04 00 fls0 8B
4D
“Request all file information” (storage)¶
Data 5 (D5) | Storage device |
Request information from all files on the given storage device to be transferred.
This command is used in the following use cases:
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D5 CS
. 4D 1 001C 00 00 00000000 00 00 00 00 04 00 fls0 8A
4E
“Transfer file information” (storage)¶
Filesize (FS) | File size |
Data 1 (D1) | Directory name |
Data 2 (D2) | File name |
Data 5 (D5) | Storage device |
Transfer information regarding a file.
This command is used in the following use cases:
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D2 D5 CS
. 4E 1 0027 00 00 00000000 00 0B 00 00 04 00 MYADDIN.G1A fls0 95
4F
“Request flash image”¶
Todo
Describe this command.
50
“Transfer flash image”¶
Todo
Describe this command.
51
“Optimize filesystem” (storage)¶
Data 5 (D5) | Storage device |
Transfer information regarding a file.
This command is used in the following use cases:
An example of such command is the following:
T ST EX DS OW DT FS SD1 SD2 SD3 SD4 SD5 SD6 D5 CS
. 51 1 001C 00 00 00000000 00 00 00 00 04 00 fls0 9C
52
“Request CASIOWIN entry transfer”¶
Request the CASIOWIN entry to be transferred using command 53 “Transfer CASIOWIN entry”.
An example of such command is the following:
T ST EX CS
. 52 0 69
53
“Transfer CASIOWIN entry”¶
Transfer the CASIOWIN entry.
An example of such command is the following:
T ST EX CS
. 53 0 68
54
“Request bootcode transfer”¶
Request the bootcode to be transferred using command 55 “Transfer bootcode”.
An example of such command is the following:
T ST EX CS
. 54 0 67
55
“Transfer bootcode”¶
Transfer the bootcode.
An example of such command is the following:
T ST EX CS
. 55 0 66
56
“Upload and run”¶
Upload and run a specially crafted program.
Warning
Please do not use this command lightly, as uploading badly formatted programs or the incorrect program for your calculator can brick said calculator!
This command does not use the typical command payload, but a custom 24-bytes payload for which the format is the following:
Offset |
Size |
Name |
Description |
Values |
---|---|---|---|---|
0 (0x00) |
8 B |
Upload size |
Size of the payload to upload. |
8-char ASCII-HEX number. |
8 (0x08) |
8 B |
Load address |
RAM address at which to load the provided payload. |
8-char ASCII-HEX number, usually set to
|
16 (0x10) |
8 B |
Start address |
Address which to jump to after successful upload. |
8-char ASCII-HEX number, usually set to
|
This command is used in the following use cases:
59
“Backup main memory” (fx-CG)¶
Todo
Describe this command, known as “save Backup.g3m”.
5A
“Restore main memory” (fx-CG)¶
Todo
Describe this command, known as “restore Backup.g3m”.