PC-G850V(S) - The Interface: An In Depth Doc (All Modes!)

Talk in english

Modérateur : Politburo

Répondre
spellbound
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 34
Inscription : 06 mai 2015 12:06

PC-G850V(S) - The Interface: An In Depth Doc (All Modes!)

Message par spellbound » 05 déc. 2016 00:38

I like the SHARP PC-G850V(S): Great display, multi-language support - and the capabilities of the 11-pin interface of this little thing are quite impressive. E.g. did you know that
  • there are several modes and protocols in which the interface can operate?
  • there is an easy DIY possibility for a PC-USB connection cable with FULL RTS/CTS hardware handshake?
  • it can be used as a hardware controller, like an Arduino but with an integrated dev env?
  • there is a full PIC-microcontroller dev env, including a PIC-burner algorithm? (but how does it work and what kind of burning hardware is needed?)
  • how it is possible to operate the 4-color plotter CE-515/6P?
  • there are 2 different synchronous, serial protocols - one for the CE-126P, the other for easy conversion into the Centronics protocol?
  • there is an API for writing custom serial protocols?
  • BSAVE/BLOAD can be used to store programs on tape via the CE-126P and for interchange with another PC-G850V(S)?
After some time of experimenting and research during the last few months, I found that information sources (incl. japanese) regarding the interface are mostly incomplete, often inconsistent and some errors are widly spread - probably due to the copy paste character of the web. Furthermore they are very sparse, especially for PIC burning.
So I decided to trace it down and write a hopefully consistent doc. Here I share it with the community.
I wrote the original text in German and it forms "Anhang A" of Jörg's very nice project "SHARP PC-G850V(S) Benutzerhandbuch"
To reach a broader audience, we both think the whole manual should be translated into english!
[EDIT: Meanwhile there is a community task here in the pocket section - take a look:]
SHARP PC-G850 Doc Project

I make a start with my chapter about the 11-pin interface, which you can download here (I'm not a native english speaker though ;-):

SHARP PC-G850V(S) - An In Depth Doc of the 11-Pin Interface (english)

I tried to verify all the bits and pieces and to provide sound, self contained examples.
Have fun reading - comments/additions/corrections welcome.

Cheers
Tom

[EDIT 4/2018: Version 1.2 - Introduction of Mini-I/O as top level mode and some minor corrections]
Dernière édition par spellbound le 12 mars 2019 20:09, édité 6 fois.

spellbound
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 34
Inscription : 06 mai 2015 12:06

Re: PC-G850V(S) - The Interface: An In Depth Doc (All Modes!

Message par spellbound » 05 déc. 2016 01:01

if you are interested in my PC-G850V(S) PIC-burner that is introduced in this article, you may want to register here:
-
[EDIT: sold out]

TamiDuke
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 1
Inscription : 11 janv. 2019 19:18

Re: PC-G850V(S) - The Interface: An In Depth Doc (All Modes!)

Message par TamiDuke » 11 janv. 2019 19:29

My CT-441 package/manual says that the interface is compatible with the PC-G820/830/850S and 850V.
I'm not sure about compatibility with the E220 but I would not exclude this possibility. I guess that the CT-441 does only a (cmos)RS232<->USB conversion, so this should not make a difference for I/O on the pocket computer's side.

spellbound
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 34
Inscription : 06 mai 2015 12:06

Re: PC-G850V(S) - The Interface: An In Depth Doc (All Modes!)

Message par spellbound » 16 févr. 2019 17:21

TamiDuke a écrit :
11 janv. 2019 19:29
My CT-441 package/manual says that the interface is compatible with the PC-G820/830/850S and 850V.
I'm not sure about compatibility with the E220 but I would not exclude this possibility. I guess that the CT-441 does only a (cmos)RS232<->USB conversion, so this should not make a difference for I/O on the pocket computer's side.
The CT-441 is from Sunhayato - a company that provided educational accessory in Japan especially for the later SHARP pockets.
Since the RS-232 interface mode of the G850V/S is identical to that of the the E220, I agree the CT-441 should work with that machine too.

pocky
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 6
Inscription : 17 janv. 2015 21:59

Re: PC-G850V(S) - The Interface: An In Depth Doc (All Modes!)

Message par pocky » 21 janv. 2020 01:49

Just in case you hadn't come across this, here's the official Sharp PC link software for the PC-G series of pocket computers which allows you to send files between the Sharp and PC. The software is in Japanese but there's a japanese readme.txt once installed which can be you can google translate.

The program can be downloaded from here: http://kurikou.sakura.ne.jp/resource/pcglink.lzh

Source: http://kurikou.sakura.ne.jp/pokekon/option/USBlvc2.html
Pièces jointes
PCLink.png
PCLink Splash Screen
PCLink.png (27.32 Kio) Consulté 2762 fois

pocky
Fonctionne à 75 bauds
Fonctionne à 75 bauds
Messages : 6
Inscription : 17 janv. 2015 21:59

Re: PC-G850V(S) - The Interface: An In Depth Doc (All Modes!)

Message par pocky » 21 janv. 2020 01:56

Here's the readme.txt file translated using Google:
■ SHARP PC-G link (Version1.0) Readme.txt file ■
2000. 1.31

■ Product Overview
This PC-G link is software for exclusive use of Pokecon PC-G series for technical high school.
You.
Various files can be sent and received between the PC and the Pocket PC connected with an RS-232C cable.
Or create / edit / save various files for Pocket PC on a PC.
And you can.

■ Main functions
1. Create / edit / save various programs / data files for Poke-con on PC
You can do it.
2. The program / data file created / edited on the personal computer can be used for Poke-Con text.
Can be sent to the remote area.
3. You can receive the contents of the text area of Poke-Con on your PC.
4. The data output from the Pocket PC RS-232C can be received by the PC.

■ Operating environment
To use PC-G link, the following minimum system is required.
・ Personal computer: DOS / V personal computer, NEC PC-98 series
・ CPU: 486DX or more
・ Memory: 16MB or more
・ OS: Japanese Windows95 / 98
-Monitor: VGA (640 x 480 dots), 256 colors or more
・ Serial port: One or more free
・ Floppy disk drive: 3.5 "2HD
・ RS-232C connection cable: CE-T800
・ Conversion connector: Separate according to the RS-232C connector shape of the personal computer
Please prepare.

■ Target model
This software can be used with the following pocket computers.
PC-G801, PC-G803, PC-G805, PC-G813
PC-G815, PC-G820, PC-G830, PC-G850
PC-G850S

■ How to install
1. Quit all applications on your PC.
2. Insert the installation disk into the floppy disk drive of your PC
To do.
3. Double-click Setup.exe to start installation.
-> Follow the instructions on the screen.
4. When installation is completed, a confirmation dialog is displayed.
-> Click OK to complete the installation.

■ Delete PC-G link
Follow the procedure below to delete the PC-G link.
1. Click the "Start" button, select "Settings" and select "Control Panel"
You.
-> The "Control Panel" dialog is displayed.
2. Select Add / Remove Programs.
3. Select "SHARP PC-G Link" from the registered applications and select "O
Click "K".
3. The application is deleted.

■ How to connect to Pokecon
Connect the RS-232C connector of the PC and the 11PIN connector of the Pocket
Connect with Bull CE-T800.
* A conversion adapter is separately prepared according to the RS-232C connector shape of the personal computer used.
need to do it.
Generally, the RS-232C connector of a personal computer is 9-pin (male), so this connector
To connect to a personal computer with
You need to buy a commercial product.

■ Use conditions
・ The copyright of this software and the document (hereinafter referred to as this software) is
It is owned by Sharp Corporation.
・ Use this software free of charge (use, copy, distribute, etc.) under the following conditions:
You can
(1) The purpose of use or the content of this software does not violate public order and morals.
(2) Do not modify, change, or adapt this software.
(3) Do not reverse engineer or decompile this software.
(4) If this software is distributed in combination with other software, the following display
To do.
"This software uses our free software
Created by responsibility and completely independent of Sharp Corporation's business activities
Relationship. For inquiries regarding this software, please contact us (TEL (Note))
Thank you. 』
(Note) Enter the telephone number of the person in charge of distribution here.
(5) This README. TXT must be attached.
・ Even if there is a bug or other defect in this software, Sharp Corporation
Does not guarantee anything.
・ In the unlikely event that this software is used, hardware devices, data, etc. will be affected.
Sharp Corporation is not responsible for any such event.
-Regarding this software, disputes regarding copyright and other intellectual property rights with third parties, manufacturing
Even in the event of a dispute under the Material Liability Act, Sharp Corporation will
Not responsible.
・ If this software is exported outside Japan, the Foreign Exchange and Foreign Trade Control Law, etc.
Please observe.

In addition to the above, there is no damage to you or your customers regarding the use of this software.
Sharp Corporation is not responsible for any such event.

■ How to use
------------------------------
Activation and termination of PC-G link
------------------------------
1. Activation of PC-G link
Click the "Start" button, select "Programs"-"SHARP PC-G Link",
Click "PC-G Link".
-> The PC-G link software starts.
2. End of PC-G link
From the "File" menu, select "Exit".
-> Exit the PC-G link software.

----------------------------
Creating and saving new files
----------------------------
1. Creating a new file
① Move the cursor to “New” in the “File” menu to display the submenu.
Select the file you want to create.
-> The new editing screen opens.
② Input the program or data from the keyboard on the edit screen.
* Be sure to enter the line number for the program file.
DATA files do not require line numbers.
* The maximum number of characters that can be entered on one line of the edit screen is 254 characters including the line number.
* For the input method, refer to “Edit Menu”, “Tool Menu”, “View,
Window menu ”.

2. Saving a new file
① Select “Save As” from the “File” menu.
-> The "Save As" dialog box opens.
② Select “File location” and “File type” and enter “File name”.
③ Click “Save” button.
* To save with line numbers, select "Export line numbers to a file".
Please.

3. End of new file
From the "File" menu, select "Close".

----------------------------
Editing and saving saved files
----------------------------
1. Open Save File
① Select “Open” from the “File” menu.
-> The "Open" dialog box opens.
② Select “File location” and “File type” and enter “File name”.
③ Click “Open” button.
-> The selected file is opened.
編 集 Edit the program / data file opened from the keyboard.
* For the editing method, refer to “Edit Menu”, “Tool Menu”, “View,
Window menu ”.

2. overwrite save
From the "File" menu, select "Save".

------------------
Printing the edit screen
------------------
1. Page settings
① Select “Page Setup” from the “File” menu.
-> The "PageSetup" dialog box opens.
(2) Set “Print Orientation”, “Paper”, “Margin”, and whether to print page numbers.
③ Click the “OK” button.

2. Printing the edit screen
① Select “Print” from the “File” menu.
-> The "Print" dialog box opens.
(2) Set “Printer”, “Print Range”, and “Copies”.
③ Click the “OK” button.
* Use the print preview function to check the print image on the PC screen.
And you can.

----------------
Edit menu
----------------
1. Undo
Cancel the last operation. (Only the previous operation can be undone)

2. Cut out
Deletes the selected character string in the edit screen and imports it to the clipboard.

3. copy
Copy the selected character string in the edit screen and import it to the clipboard.

4. pasting
Copy the character string stored in the clipboard to the location specified by the cursor in the edit screen
Paste it.

5. Delete
Deletes the selected character string in the edit screen.

6. Search for strings
Open the "Search" dialog box and search for the specified character string in the edit screen.

7. String replacement
Opens the “Replace” dialog box and replaces the specified character string.

8. Select all ranges
Select all character strings in the edit screen.

------------------
Tools menu
------------------
1. Set line number
When a file without a line number is opened, or a file without a line number is
The line number set in "Line Number Setting" is added to the edit screen on the computer.
You.
① Select “Set line number” from the “Tool” menu.
-> The "Set line number" dialog box opens.
② Enter “Start line number” and “Increment”.
③ Click the “OK” button.

2. Change line number
行 Change the line number on the edit screen.
* Changing the line number is valid only in the edit screen of the program file.
(Cannot be set on the data file edit screen.)
① Select "Change line number" from the "Tool" menu.
-> The "Change line number" dialog box opens.
② Set “New line number”, “Old line number” and “Increment”.
③ Click the “OK” button.
* If you change the line number, GOTO, GOSUB, IF-THEN-ELSE, ON-GOTO, RESTORE
The line numbers referenced in the order are also changed.

3. Sort rows
Sort the files on the edit screen in line number order.
* Sorting of line numbers is valid only in the program file edit screen.
(Cannot be set on the data file edit screen)
① Select "Sort Rows" from the "Tool" menu.
* If line numbers are rearranged, line numbers will be duplicated, line numbers will be omitted, and line numbers
Check the error of the setting.

4. Setting tab stops
Set tab stops.
① Select “Tab stop setting” from the “Tool” menu.
-> The "Tab Stop Settings" dialog box opens.
② Enter the tab stop value.
③ Click the “OK” button.

----------------------------
Display, window menu
----------------------------
1. Display menu
① Toolbar
Set the display / non-display of the toolbar.
② Status bar
Set display / non-display of status bar.
③ Font setting
-Select "Font Settings" from the "View" menu.
-> The "Specify Font" dialog box opens.
・ Set “Font name”, “Style” and “Size”.
・ Click the "OK" button.

2. Window menu
① Overlap display
Displays multiple opened windows in a stack.
② Display side by side
Displays multiple opened windows side by side.
③ Arrangement of icons
Align minimized icons.

--------
communication
--------
1. Setting communication conditions
In order to communicate with Pokecon, first set the communication conditions.
① Select “COM port setting” from the “Communication” menu.
-> The "COM Port Settings" dialog box opens.
(2) Set various communication conditions in the “COM Port Settings” dialog box.
③ Click the “OK” button.
* Be sure to match the communication conditions with those of the Pocket PC.
Please refer to the instruction manual of the pocket computer for the setting method of the communication condition on the pocket computer side.

2. Submit
Send the data on the program edit screen to the PokeCon text editor.
* Be sure to set the communication conditions before performing the transmission operation.
① Select “Send” from the “Communication” menu.
-> The message "Ready for communication" is displayed.
② Set the pocket computer to the reception mode (TEXT mode-Sio-Load).
-> Transmission starts. During transmission, the number of transmitted bytes is displayed.
* For the setting method of the reception mode on the pocket computer, refer to the instruction manual of the pocket computer.
You.
③ When transmission is completed, a message of “Transmission completed” is displayed. Click “OK” button.
Click.

3. Receiving
Receive the data of Pokecon text editor to the editing screen of the personal computer.
* Be sure to set the communication conditions before performing the transmission operation.
① Select “Receive” from the “Communication” menu.
-> The message "Ready for communication" is displayed.
② Set the pocket computer to the transmission mode (TEXT mode-Sio-Save).
-> Reception starts. During reception, the number of received bytes is displayed.
* For the setting method of the transmission mode on the pocket computer, refer to the instruction manual of the pocket computer.
You.
③ When the reception is completed, the message of “Reception complete” is displayed. Click the “OK” button.
Click.

4. Transmission of data
Send the data on the DATA file edit screen to the PokeCon text editor.
* Be sure to set communication conditions before sending data.
(1) Select “Send data” from the “Communication” menu.
-> The message "Ready for communication" is displayed.
② Set the pocket computer to the reception mode (TEXT mode-Sio-Load).
-> Transmission starts. During transmission, the number of transmitted bytes is displayed.
* For the setting method of the reception mode on the pocket computer, refer to the instruction manual of the pocket computer.
You.
* Since line numbers are not attached to the DATA file, line numbers can be entered / exited on the Pocket PC side.
Be sure to set the force condition to "no".
③ When transmission is completed, a message of “Transmission completed” is displayed. Click “OK” button.
Click.

5. Receiving data
Receives data output from the serial port of Pokecon.
* Be sure to set communication conditions before receiving data.
① Select “Receive Data” from the “Communication” menu.
-> The message "Ready for communication" is displayed.
(2) Execute the program on the pocket computer.
-> Edit the data output from SIO by "PRINT #" instruction on the program on the PC.
Receive on screen.
* For data output to SIO by "PRINT #" instruction, refer to the instruction manual of Pokecon
Please refer to.
③ To end data reception, click the “Stop” button.

■ Error message list
1. "Unable to open COM port"
Cause: COM The COM port is already being used by another application.
② The COM port selected in “COM port setting” does not exist.
③ COM port is disabled in BIOS.
Action: 終了 Exit other applications.
② Select an existing COM port.
③ Enable COM port in BIOS.
* Refer to the instruction manual of the personal computer for the BIOS setting method.

2. "No text exit code entered"
Cause: The text exit code field in the "COM Port Settings" dialog box is blank.
"OK" button was pressed.
Action: Enter a text exit code.

3. "A character that cannot be used for the text end code is used."
Cause: Hexadecimal in the text exit code column of the "COM Port Settings" dialog box
Characters other than the notation were entered, and the "OK" button was pressed.
Correspondence: Input the characters 0 to 9 and A to F in the text end code field.

4. "Missing line number"
Cause: “Send”, “Change line number”,
When "Sort rows" is executed.
Action: Enter a line number.

5. "Line number out of range, please be between 1 and 65279"
Cause: で When the out-of-range line number is set, “Send”, “Change line number”,
When "Sort rows" is executed.
② When executing “Change line number”, some lines are out of range.
Action: (1) Set the line number within the range (1 to 65279).
(2) Dialog box so that the line number is within the range even after executing “Change line number”.
Adjust the new line number and increment value in the box.

6. "Duplicate line number"
Cause: "Send", "Change line number", "Sort lines" when line numbers are duplicated
At the time.
Action: Change the duplicate line numbers.

7. "Old line number does not exist"
Cause: The specified old line number does not exist in the program when executing "Change line number".
Action: Reset old line number to existing line number.

8. "A value has been specified that changes the execution order of the program."
Cause: When executing "Change line number" which changes the execution order of the program.
Action: Set a new line number so that the execution order of the program does not change.

9. "The line number referenced in the program does not exist"
Cause: When "Change line number" is executed in a BASIC program, the command that takes an argument
Command does not have a line number for its argument.
Action: Delete the line number reference.
Add a non-existent row.
10. "The number of characters in one line is too large. Please make it less than 254 characters."
Cause: When trying to "send" data in which the number of characters in one line exceeds 254 characters.
Response: Reduce the number of characters in one line to 254 characters or less.

11. "File size is too large"
Cause: When opening a file exceeding 64KB.
Action: Reduce file size.

12. "Out of memory. Close other applications before running.
Please"
Cause: When opening a file or executing "Change line number", the screen is out of memory.
When can not be displayed on.
Action: Close other applications.

13. "The size of the received data is too large"
Cause: Appears when data cannot be displayed on the screen due to insufficient memory when receiving data.
Action: Close other applications.
Reduce the transmission data.

______________________________________________

Company names and product names are registered trademarks or trademarks of the respective companies.

Répondre

Revenir vers « Silicium in english »