Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiny G2 control #55

Open
boondog opened this issue Mar 28, 2014 · 15 comments
Open

Tiny G2 control #55

boondog opened this issue Mar 28, 2014 · 15 comments

Comments

@boondog
Copy link

boondog commented Mar 28, 2014

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.

@ril3y
Copy link
Member

ril3y commented Mar 30, 2014

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//issues/55
.

@phinsil6
Copy link

phinsil6 commented May 9, 2014

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.

@GabeHC
Copy link

GabeHC commented May 17, 2014

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
Copy link

GabeHC commented May 24, 2014

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?

@ril3y
Copy link
Member

ril3y commented May 24, 2014

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//issues/55#issuecomment-44071740
.

@sigxcpu76
Copy link
Contributor

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?

@ril3y
Copy link
Member

ril3y commented Jun 12, 2014

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
#55 (comment).

@sigxcpu76
Copy link
Contributor

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.

@ril3y
Copy link
Member

ril3y commented Jun 13, 2014

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
#55 (comment).

@sigxcpu76
Copy link
Contributor

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.

@misan
Copy link

misan commented Dec 9, 2014

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.

@ril3y
Copy link
Member

ril3y commented Dec 10, 2014

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
#55 (comment).

@misan
Copy link

misan commented Dec 10, 2014

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).

@ril3y
Copy link
Member

ril3y commented Dec 11, 2014

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
#55 (comment).

@misan
Copy link

misan commented Dec 11, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants