test1
September 24, 2017, 11:23:48 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You may have to login twice the first time,  but we don't know why - Erm I mean it's a security thing yeah that's it - security.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Converting GD-1218-R from serial to USB II  (Read 5290 times)
henkul
New Poster
*
Posts: 9


View Profile
« on: December 30, 2012, 11:24:38 PM »

I have just started to convert my GD-1218-R.

I am around this stage : http://forum.bongofish.co.uk/index.php?topic=2059.msg16136#msg16136

Until an hour ago there was silence.



The response for ~# is GD-1218-R00,V1.1-7

The wiring is like this.


* out1.JPG (103.36 KB. 702x512 - viewed 475 times.)


The HID_listen does not respond. I have re-soldered the tx/rx wires. Found that the connection on the removed TR1R was not soldered at one end. The maximum power is set to 200 mA (0x64). The ground wire from teensy was remade. I have cleaned around the wires at the ADM202. Have measured reasonable resistances between pin 9,10,11,12 (50kohm, 10 Mohm)

I am out of ideas know! Any out there ?



* teen_wac.jpg (474.73 KB. 3264x2448 - viewed 472 times.)


 

Logged
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #1 on: December 31, 2012, 06:21:35 AM »

The realterm is going through my virtual serial driver I assume?  It seems you are talking to the tablet correctly. The Wiring must be correct then.

HID_Listen : you tried programming a "debug" template, right?  Which one(s) have you picked?   You should run it before plugging the Teensy so we see the boot message that includes a "Bzz! Bzz!"

It is possible that your ROM version is old/recent/special and we never encountered one like this and maybe the Teensy has a problem dealing with it. (I do not remember which version is which, but we fixed one such exception a few weeks back).

Logged
henkul
New Poster
*
Posts: 9


View Profile
« Reply #2 on: December 31, 2012, 12:49:48 PM »

Yes I used realterm together with the "usb_serial-2011-07-06.hex".

I did not use a "debug" Template. Now I used "GD 0912 R Debug" and got a nice output:


* output_gd_0912_r_debug.JPG (39.83 KB. 668x512 - viewed 433 times.)


As you can see it reports GD-1218-R00,V1.1-7 which is older than the one Dragon have done (V1.2-7)

Logged
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #3 on: December 31, 2012, 06:42:29 PM »

ok.  send the hid output to a file (always include the start) using the > operator on the command line. Do a couple of pen operations and send me the content of the file.

Logged
henkul
New Poster
*
Posts: 9


View Profile
« Reply #4 on: January 01, 2013, 11:44:07 AM »

I have made two outputs. The first has two pen strokes. In the second I have also used the eraser.
Changed
* out_a.txt (36.31 KB - downloaded 216 times.)


* out_b.txt (84.36 KB - downloaded 191 times.)



  

* out_b.txt (84.36 KB - downloaded 191 times.)
* out_a.txt (36.31 KB - downloaded 216 times.)
« Last Edit: January 02, 2013, 08:41:44 PM by henkul » Logged
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #5 on: January 04, 2013, 09:01:18 AM »

I have an idea (its a long shot, but let's try it anyways).

Looking at the trace, it might be something to do with the serial port speed.  Typically the boards starts at a low speed (9600) then it get switched to a higher speed (38400).  I am saying that because the data I am seeing is suspiciously weird.  It is always the same bytes over and over:  80, 00, 78 and F8. There is no varying data like coordinates and stuff -- which is quite weird I must say.

Can you try something?   Pick a "normal" template (not debug) and try to use 19200 as "normal" "serial port speed" instead of 38400 (but leave the "initial serial port speed" at 9600, that one works fine).  Now see if that appears to work (moving the mouse).  Then do the same but with a "debug" template (and run hid_listen to send me the output).  If that's the case, I might have to add a few other templates for this specific case.

In case you missed this: The "Debug" templates are only for diagnostic and are built to interface with hid_listen. They do not emulate a Wacom and thus cannot move the mouse.  The "normal" (non-debug) templates emulates a wacom but do not talk to hid_listen.


...if it fails, also try 9600 as the normal baud rate instead of 38400/19200.  WaxBee does not support a lot of speeds, but I never saw a (serial) Wacom running at different baud rates than those listed in WaxBee.

...one thing to check out is the linux driver source code. There might be a clue in there. But I'll wait for your response before digging there.
« Last Edit: January 04, 2013, 09:06:28 AM by bernard » Logged
henkul
New Poster
*
Posts: 9


View Profile
« Reply #6 on: January 04, 2013, 05:19:05 PM »

The tablet works on the GD 0912 R template with baud rate = 19200. Does not work at baud rate = 38400.

Two output files with different pens. Pen 1 is used every day.
* out_19200_pen1.txt (108.02 KB - downloaded 243 times.)


* out_19200_pen2.txt (89.57 KB - downloaded 228 times.)


* out_19200_pen1.txt (108.02 KB - downloaded 243 times.)
* out_19200_pen2.txt (89.57 KB - downloaded 228 times.)
Logged
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #7 on: January 04, 2013, 06:01:23 PM »

Well !  it's great then! I guess the early Intuos was using 19200 bauds like the Ultrapads (predecessor).

trace is looking good.   Cool
Logged
henkul
New Poster
*
Posts: 9


View Profile
« Reply #8 on: January 04, 2013, 07:31:13 PM »

I will move on to my GD 0912 R then  Smiley
Logged
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #9 on: January 05, 2013, 03:35:41 AM »

hum wait..  I am confused now. Do you have two tablets? I think I missed a portion of your story. Is there something that is not working? You are using a 0912 template for your 1218?
Logged
henkul
New Poster
*
Posts: 9


View Profile
« Reply #10 on: January 05, 2013, 08:29:35 PM »

I have two tablets.

I am working with a GD 0912 R now. I bought 3 teensy's in april ! 2 for tablets and one for spare.
Logged
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #11 on: January 06, 2013, 07:31:24 AM »

you talk about the GD 0912 but the trace is about the 1218. I am still confused. Does it work with both? And both requires the 19200 baud fix??  What is the version of the 0912 then?
« Last Edit: January 06, 2013, 04:20:48 PM by bernard » Logged
henkul
New Poster
*
Posts: 9


View Profile
« Reply #12 on: January 06, 2013, 01:00:11 PM »

I am sorry about the confusion I have created.

The GD 1218 is working at 19200.

My "GD-0912-R00,V1.2-7" at http://forum.bongofish.co.uk/index.php?topic=1927.msg18004#msg18004

is also working at 19200 and not working at 38400.
Logged
Pages: [1]
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!