tgFX icon indicating copy to clipboard operation
tgFX copied to clipboard

Tiny G2 control

Open boondog opened this issue 10 years ago • 15 comments

I'm unable to make tgFX connect to G2.

I have two Shapeoko 2 routers. One running a TinyG V8 board that works fine with tgfx. I also have a Gsheild and Due that I've been trying to make work on my second Shapeoko 2.

I've successfully programmed the G2 code onto the Due and I can communicate with it via a serial terminal (Realterm or Putty both work). However, I cannot seem to connect to G2 with tgfx. Is this a known issue or am I doing something wrong?

I'm running Win7. For G2, I'm using the bin file "USB Test for Due - Shapeoko settings - .bin" downloaded here: http://synthetos.github.io/g2/ on 3/26/14

For tgFX I'm using Version .95 Build 2404.

boondog avatar Mar 28 '14 02:03 boondog

No. Right now g2 is in a state of flux. I am working on getting g2 supported soon.

On Thu, Mar 27, 2014 at 10:45 PM, boondog [email protected] wrote:

I'm unable to make tgFX connect to G2.

I have two Shapeoko 2 routers. One running a TinyG V8 board that works fine with tgfx. I also have a Gsheild and Due that I've been trying to make work on my second Shapeoko 2.

I've successfully programmed the G2 code onto the Due and I can communicate with it via a serial terminal (Realterm or Putty both work). However, I cannot seem to connect to G2 with tgfx. Is this a known issue or am I doing something wrong?

I'm running Win7. For G2, I'm using the bin file "USB Test for Due - Shapeoko settings - .bin" downloaded here: http://synthetos.github.io/g2/on 3/26/14

For tgFX I'm using Version .95 Build 2404.

Reply to this email directly or view it on GitHubhttps://github.com/synthetos/tgFX/issues/55 .

ril3y avatar Mar 30 '14 03:03 ril3y

is there any update on this? I have the due, gshield, and (i think) proper .bin file loaded on Due and am really anxious to begin controlling my shapeoko on it.

phinsil6 avatar May 09 '14 14:05 phinsil6

I use tgFX b2947 with G2, working sometime after few connects. RUN Gcode fine when it up and identify G2. but not pause/resume, reset and stop. tgfx-g2

GabeHC avatar May 17 '14 08:05 GabeHC

Is this issue clear yet? Seams problem case by G2 using USB to talk to the host. can we go back to programing port to make it easy?

GabeHC avatar May 24 '14 00:05 GabeHC

I am not quite certain i understand the issue?

On Fri, May 23, 2014 at 8:07 PM, Gabriel Huang [email protected]:

Is this issue clear yet? Seams problem case by G2 using USB to talk to the host. can we go back to programing port to make it easy?

Reply to this email directly or view it on GitHubhttps://github.com/synthetos/tgFX/issues/55#issuecomment-44071740 .

ril3y avatar May 24 '14 02:05 ril3y

I've downloaded the latest TinyG2 version (TinyG2_Due_rob_usbtest.bin) and uploaded it to an Arduino Duo. I can connect to the other USB port using picocom on Mac OS X just fine. Same for the "edge" branch of g2.

tgFX successfully connects to the board, it manages to enter some commands and get some results (based on the log) and then it hangs. After a while it reports it cannot connect. This is for tgFX tgFX_macos - x64 - build 3009 - v0.96-a.zip.

There is no clear answer here. Is tgFX able to connect to and manage a TinyG2 (Due) board?

sigxcpu76 avatar Jun 12 '14 17:06 sigxcpu76

Short answer is no. I have yet to get it working 100% with the due so for now it is not supported. That being said there however are very few reasons that it should NOT work with G2. Its just that I have not tested and debugged it enough to claim that it does work.

ril3y

On Thu, Jun 12, 2014 at 1:49 PM, Alexandru Pirvulescu < [email protected]> wrote:

I've downloaded the latest TinyG2 version (TinyG2_Due_rob_usbtest.bin) and uploaded it to an Arduino Duo. I can connect to the other USB port using picocom on Mac OS X just fine. Same for the "edge" branch of g2.

tgFX successfully connects to the board, it manages to enter some commands and get some results (based on the log) and then it hangs. After a while it reports it cannot connect. This is for tgFX tgFX_macos - x64 - build 3009 - v0.96-a.zip.

There is no clear answer here. Is tgFX able to connect to and manage a TinyG2 (Due) board?

Reply to this email directly or view it on GitHub https://github.com/synthetos/tgFX/issues/55#issuecomment-45924799.

ril3y avatar Jun 12 '14 22:06 ril3y

I've ported TgFX project to Maven, so I can use it and build it IDE agnostic. If you want, I can help you with G2 testing.

As far as I've seen until now, not a single byte comes back from G2. I've enabled debugging and everything that is displayed is what is sent to G2, no info in update() method that takes care of the serial port data.

sigxcpu76 avatar Jun 13 '14 12:06 sigxcpu76

wow that is great! I have a bunch of stuff that I have yet to push BTW. Hrm this merge might be ugly. perhaps we should setup a google hangout to discuss this further.

riley

On Fri, Jun 13, 2014 at 8:48 AM, Alexandru Pirvulescu < [email protected]> wrote:

I've ported TgFX project to Maven, so I can use it and build it IDE agnostic. If you want, I can help you with G2 testing.

As far as I've seen until now, not a single byte comes back from G2. I've enabled debugging and everything that is displayed is what is sent to G2, no info in update() method that takes care of the serial port data.

Reply to this email directly or view it on GitHub https://github.com/synthetos/tgFX/issues/55#issuecomment-46006907.

ril3y avatar Jun 13 '14 20:06 ril3y

I don't think I can merge, because I've moved stuff around to maven standard format (e.g. src/main/java for .java files, src/main/resources for resources and so on). It will break more things than fix at the beginning, so, for beginning, I will simply copy you java files (after your next push) to my maven project and I'll tell you what works and what doesn't. I will also attempt to fix things by myself.

The platform for development I'm using is Mac OS X Mavericks.

sigxcpu76 avatar Jun 13 '14 20:06 sigxcpu76

I bumped my head against the wall trying to get tgfx working with G2 with Windows and OSX. Funny thing is in both cases there is communications timeout. But using just a terminal (putty on windows screen on osx) communication with the board works just fine. For windows I have used the available binary while I built tgfx for OSX (after downgrading my 8.0.7 netbeans and Java 1.8 versions to the ones cited on the wiki, otherwise netbeans won't create/find a binary). I do not have a regular TinyG board to compare, but my guess is tgfx is waiting for some special string that it never appears in G2.

misan avatar Dec 09 '14 09:12 misan

misan, G2 does not work with tgfx.

I would use: http://chilipeppr.com/tinyg for g2 stuff.

On Tue, Dec 9, 2014 at 4:13 AM, misan [email protected] wrote:

I bumped my head against the wall trying to get tgfx working with G2 with Windows and OSX. Funny thing is in both cases there is communications timeout. But using just a terminal (putty on windows screen on osx) communication with the board works just fine. For windows I have used the available binary while I built tgfx for OSX (after downgrading my 8.0.7 netbeans and Java 1.8 versions to the ones cited on the wiki, otherwise netbeans won't create/find a binary). I do not have a regular TinyG board to compare, but my guess is tgfx is waiting for some special string that it never appears in G2.

Reply to this email directly or view it on GitHub https://github.com/synthetos/tgFX/issues/55#issuecomment-66253577.

ril3y avatar Dec 10 '14 00:12 ril3y

Thanks ril3y. I am using chilipeppr now as I failed to get Universal Gcode Sender to work with the G2 too. I have found Chilipeppr quite convenient. But I need to figure out a way to upload the configuration (to the boad) I cannot store in EEPROM ('cause Due does not have one).

misan avatar Dec 10 '14 09:12 misan

ahhh! Well this is the part where you say get off your butt and do it riley! I have been lagging. However its quite simple to implement widgets in chilipeppr. Infact john lauer is very very very helpful in this.

Riley

On Wed, Dec 10, 2014 at 4:13 AM, misan [email protected] wrote:

Thanks ril3y. I am using chilipeppr now as I failed to get Universal Gcode Sender to work with the G2 too. I have found Chilipeppr quite convenient. But I need to figure out a way to upload the configuration (to the boad) I cannot store in EEPROM ('cause Due does not have one).

Reply to this email directly or view it on GitHub https://github.com/synthetos/tgFX/issues/55#issuecomment-66422879.

ril3y avatar Dec 11 '14 01:12 ril3y

Actually, I might help here if some clue about what needs to be done is provided. I can read code but I can move faster if told where to look.

misan avatar Dec 11 '14 07:12 misan