talking to grbl directly

瀏覽次數:55 次
跳到第一則未讀訊息

Christian Meyer

未讀,
2020年1月13日 上午8:02:192020/1/13
收件者:lasersaur
I'm trying to talk to GRBL directly. Here's what I'm doing:

* ssh to lasersaur
* service stop driveboardapp.sh
* screen /dev/ttyO1 57600
* reset atmel (pulling Jumper auto_reset)

Unfortunately screen only shows scrambled output.

I guess the serial device is correct, otherwise I wouldn't see anything, right?
Is the baud rate right? I already tried all of the usual rates, but none is working.

Thanks!

Martin Renold

未讀,
2020年1月13日 下午4:17:112020/1/13
收件者:'Ray Debs' via lasersaur
Are you expecting the right thing? It's a binary protocol. https://github.com/nortd/driveboardapp/blob/master/firmware/src/protocol.c#L21-L26
--
You received this message because you are subscribed to the Google Groups "lasersaur" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lasersaur+...@googlegroups.com.

Christian Meyer

未讀,
2020年1月14日 清晨5:53:282020/1/14
收件者:lasersaur

...that's what I'm expecting ;-) !

Am Montag, 13. Januar 2020 22:17:11 UTC+1 schrieb Martin Renold:
Are you expecting the right thing? It's a binary protocol. https://github.com/nortd/driveboardapp/blob/master/firmware/src/protocol.c#L21-L26

Am Mo, 13. Jan 2020, um 14:02, schrieb 'Christian Meyer' via lasersaur:
I'm trying to talk to GRBL directly. Here's what I'm doing:

* ssh to lasersaur
* service stop driveboardapp.sh
* screen /dev/ttyO1 57600
* reset atmel (pulling Jumper auto_reset)

Unfortunately screen only shows scrambled output.

I guess the serial device is correct, otherwise I wouldn't see anything, right?
Is the baud rate right? I already tried all of the usual rates, but none is working.

Thanks!


--
You received this message because you are subscribed to the Google Groups "lasersaur" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lase...@googlegroups.com.

Christian Meyer

未讀,
2020年1月15日 上午10:17:562020/1/15
收件者:lasersaur
Nobody?

jet townsend

未讀,
2020年1月15日 中午12:14:412020/1/15
收件者:lase...@googlegroups.com
Yeah, I would expect binary "garbage" instead of ASCII.

On 1/13/2020 4:15 PM, Martin Renold wrote:
> Are you expecting the right thing? It's a binary protocol.
> https://github.com/nortd/driveboardapp/blob/master/firmware/src/protocol.c#L21-L26
>
> Am Mo, 13. Jan 2020, um 14:02, schrieb 'Christian Meyer' via lasersaur:
>> I'm trying to talk to GRBL directly. Here's what I'm doing:
>>
>> * ssh to lasersaur
>> * service stop driveboardapp.sh
>> * screen /dev/ttyO1 57600
>> * reset atmel (pulling Jumper auto_reset)
>>
>> Unfortunately screen only shows scrambled output.
>>
>> I guess the serial device is correct, otherwise I wouldn't see
>> anything, right?
>> Is the baud rate right? I already tried all of the usual rates, but
>> none is working.
>>
>> Thanks!
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "lasersaur" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to lasersaur+...@googlegroups.com
>> <mailto:lasersaur+...@googlegroups.com>.
>> <https://groups.google.com/d/msgid/lasersaur/d9dabae8-2517-4c9c-8a0c-972bf455bb80%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "lasersaur" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to lasersaur+...@googlegroups.com
> <mailto:lasersaur+...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/lasersaur/ce911ca9-82e7-471a-8770-958dd26e7f3a%40www.fastmail.com
> <https://groups.google.com/d/msgid/lasersaur/ce911ca9-82e7-471a-8770-958dd26e7f3a%40www.fastmail.com?utm_medium=email&utm_source=footer>.


--
Jet Townsend, IDSA
design <http://www.allartburns.org>
hacking <http://www.flatline.net>
consulting <http://www.functionalprototype.com>

Christian Meyer

未讀,
2020年1月15日 中午12:19:362020/1/15
收件者:lasersaur
...and what about the wiki page I'm referring? Why is it there, if it's not working? Is this for an older version?
 
Am Mittwoch, 15. Januar 2020 18:14:41 UTC+1 schrieb j...@allartburns.org:
Yeah, I would expect binary "garbage" instead of ASCII.

On 1/13/2020 4:15 PM, Martin Renold wrote:
> Are you expecting the right thing? It's a binary protocol.
> https://github.com/nortd/driveboardapp/blob/master/firmware/src/protocol.c#L21-L26
>
> Am Mo, 13. Jan 2020, um 14:02, schrieb 'Christian Meyer' via lasersaur:
>> I'm trying to talk to GRBL directly. Here's what I'm doing:
>>
>> * ssh to lasersaur
>> * service stop driveboardapp.sh
>> * screen /dev/ttyO1 57600
>> * reset atmel (pulling Jumper auto_reset)
>>
>> Unfortunately screen only shows scrambled output.
>>
>> I guess the serial device is correct, otherwise I wouldn't see
>> anything, right?
>> Is the baud rate right? I already tried all of the usual rates, but
>> none is working.
>>
>> Thanks!
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "lasersaur" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/lasersaur/d9dabae8-2517-4c9c-8a0c-972bf455bb80%40googlegroups.com
>> <https://groups.google.com/d/msgid/lasersaur/d9dabae8-2517-4c9c-8a0c-972bf455bb80%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "lasersaur" group.
> To unsubscribe from this group and stop receiving emails from it, send

jet townsend

未讀,
2020年1月15日 中午12:26:152020/1/15
收件者:lase...@googlegroups.com
The comments make it clear it's mixed ASCII/binary which is going to
show "scrambled" content on many (most?) tty emulators. You might be
able to launch screen in a way that displays non-ASCII characters as hex
instead of binary garbage.

"The protocol is a ascii/binary hybrid. Markers are printable
ascii values while binary data is transmitted in the extended
ascii range [128,255]"
> >> an email to lase...@googlegroups.com <javascript:>
> >> <mailto:lase...@googlegroups.com <javascript:>>.
> <https://groups.google.com/d/msgid/lasersaur/d9dabae8-2517-4c9c-8a0c-972bf455bb80%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/lasersaur/d9dabae8-2517-4c9c-8a0c-972bf455bb80%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "lasersaur" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to lase...@googlegroups.com <javascript:>
> > <mailto:lase...@googlegroups.com <javascript:>>.
> <https://groups.google.com/d/msgid/lasersaur/ce911ca9-82e7-471a-8770-958dd26e7f3a%40www.fastmail.com?utm_medium=email&utm_source=footer
> <http://www.functionalprototype.com>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "lasersaur" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to lasersaur+...@googlegroups.com
> <mailto:lasersaur+...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/lasersaur/48979a67-b46d-4b31-a498-193f5dbf13d4%40googlegroups.com
> <https://groups.google.com/d/msgid/lasersaur/48979a67-b46d-4b31-a498-193f5dbf13d4%40googlegroups.com?utm_medium=email&utm_source=footer>.

Derek Seabury

未讀,
2020年1月15日 下午1:23:452020/1/15
收件者:lase...@googlegroups.com
To clarify, at some point the sending of info to the board was changed from just text to be a bit compressed and have error checking.
As serial communications next to the laser supply can have issues some times and the data rate needs to be high for some jobs to go smoothly these changes were needed.
If I wasn't so rusty I could probably figure out the 6 line python program that could solve your problem... But been a long time!


To unsubscribe from this group and stop receiving emails from it, send an email to lasersaur+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lasersaur/f6231734-7c55-69ff-c4f8-9963024df7a3%40allartburns.org.

Christian Meyer

未讀,
2020年1月15日 下午1:32:082020/1/15
收件者:lasersaur
Thanks for the clarification ! I was hoping to be able to debug my problem described there:


> To view this discussion on the web visit
> https://groups.google.com/d/msgid/lasersaur/48979a67-b46d-4b31-a498-193f5dbf13d4%40googlegroups.com
> <https://groups.google.com/d/msgid/lasersaur/48979a67-b46d-4b31-a498-193f5dbf13d4%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Jet Townsend, IDSA
design     <http://www.allartburns.org>
hacking    <http://www.flatline.net>
consulting <http://www.functionalprototype.com>

--
You received this message because you are subscribed to the Google Groups "lasersaur" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lase...@googlegroups.com.

Torsten Martinsen

未讀,
2020年1月16日 凌晨4:02:402020/1/16
收件者:lase...@googlegroups.com
As Martin indicated, the 'gcode' protocol is not used in the
"Driveboard" version of the firmware, but rather the binary protocol -
which is of course a lot more difficult to test by hand.

So the "scrambled output" that you see may well be the correct data.

-Torsten
> To unsubscribe from this group and stop receiving emails from it, send an email to lasersaur+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/lasersaur/36b25169-7316-4c17-9f90-d8100b0ad5c0%40googlegroups.com.
回覆所有人
回覆作者
轉寄
0 則新訊息