LaserGRBL icon indicating copy to clipboard operation
LaserGRBL copied to clipboard

Lasergrbl stop responding

Open Dhanyudi opened this issue 3 years ago • 18 comments

I am using only x and y axis. Grbl 1.1h and Arduino uno R3 atmega328p. Using Windows 7 32bit or 64 bit. lasergrbl often showing error detected some problem with your board in the middle of progress. Please help. Also i'm trying using arduino mega 2560, using grbl 1.1f mega, i can not connect using lasergrbl, using USG can connect, what could be wrong? IMG-20210804-WA0009

Dhanyudi avatar Aug 04 '21 13:08 Dhanyudi

Have you read the FAQ as mentioned in the error message? If not, start with “Problem detected” message: hang or disconnect during engraving section.

For the Mega, I'm sure it is supported, as I'm using one myself (through telnet proxy though, but was working with USB before). Try using UsbSerial2 protocol in Settings -> Connection protocol image

gmmanonymus111 avatar Aug 04 '21 15:08 gmmanonymus111

Have you read the FAQ as mentioned in the error message? If not, start with “Problem detected” message: hang or disconnect during engraving section.

For the Mega, I'm sure it is supported, as I'm using one myself (through telnet proxy though, but was working with USB before). Try using UsbSerial2 protocol in Settings -> Connection protocol image

When arduino mega flashing with xloader, it successfully connect with lasergrbl, but i cannot pass homing because using only 2 axis, how to disable z axis? Editing config.h and flashing with arduino ide cannot detect with lasergrbl. How to edit the hex file? So i can edit config.h

Dhanyudi avatar Aug 23 '21 14:08 Dhanyudi

You can't (easily) edit .hex files. But you can, however, flash one that has Z axis homing disabled. In LaserGRBL, click Tools -> Flash Grbl Firmware -> Chose Uno -> Chose 1.1h custom -> Select COM port -> Select Baud rate (usually the default is ok) -> Click OK

gmmanonymus111 avatar Aug 26 '21 21:08 gmmanonymus111

You can't (easily) edit .hex files. But you can, however, flash one that has Z axis homing disabled. In LaserGRBL, click Tools -> Flash Grbl Firmware -> Chose Uno -> Chose 1.1h custom -> Select COM port -> Select Baud rate (usually the default is ok) -> Click OK

For arduino mega ?

Dhanyudi avatar Aug 26 '21 22:08 Dhanyudi

You can't (easily) edit .hex files. But you can, however, flash one that has Z axis homing disabled. In LaserGRBL, click Tools -> Flash Grbl Firmware -> Chose Uno -> Chose 1.1h custom -> Select COM port -> Select Baud rate (usually the default is ok) -> Click OK

For arduino mega ?

First, download and run xloader.zip ( https://github.com/xinabox/xLoader ) . And download grbl-Mega_v1.1f.20170802.hex ( https://github.com/gnea/grbl-Mega/releases ).

Open xLoader. Select the hex file you downloaded. Choose the correct com port and hit the update button.

Mrjavaci avatar Aug 27 '21 07:08 Mrjavaci

You can't (easily) edit .hex files. But you can, however, flash one that has Z axis homing disabled. In LaserGRBL, click Tools -> Flash Grbl Firmware -> Chose Uno -> Chose 1.1h custom -> Select COM port -> Select Baud rate (usually the default is ok) -> Click OK

For arduino mega ?

First, download and run xloader.zip ( https://github.com/xinabox/xLoader ) . And download grbl-Mega_v1.1f.20170802.hex ( https://github.com/gnea/grbl-Mega/releases ).

Open xLoader. Select the hex file you downloaded. Choose the correct com port and hit the update button.

Using xloader only hex file grbl-Mega-v1.1f that available on the net which is for 3 axis. Homing is not working for 2 axis. I can create hex file and editing config.h using arduino ide but when upload using xloader, lasergrbl can not connect

Dhanyudi avatar Aug 27 '21 14:08 Dhanyudi

You can't (easily) edit .hex files. But you can, however, flash one that has Z axis homing disabled. In LaserGRBL, click Tools -> Flash Grbl Firmware -> Chose Uno -> Chose 1.1h custom -> Select COM port -> Select Baud rate (usually the default is ok) -> Click OK

For arduino mega ?

Sorry, I forgot you were asking for mega fw. If you can edit it in Arduino IDE, you should be able to upload from the directly. Just connect your board to your PC, and when done editing 'config.h' hit upload on Arduino IDE. The IDE will compile your code (to a hex file, which gets removed after upload by default), then uploads it to your mega.

gmmanonymus111 avatar Aug 27 '21 19:08 gmmanonymus111

You can't (easily) edit .hex files. But you can, however, flash one that has Z axis homing disabled. In LaserGRBL, click Tools -> Flash Grbl Firmware -> Chose Uno -> Chose 1.1h custom -> Select COM port -> Select Baud rate (usually the default is ok) -> Click OK

For arduino mega ?

Sorry, I forgot you were asking for mega fw. If you can edit it in Arduino IDE, you should be able to upload from the directly. Just connect your board to your PC, and when done editing 'config.h' hit upload on Arduino IDE. The IDE will compile your code (to a hex file, which gets removed after upload by default), then uploads it to your mega.

Already try get the hex file using arduino ide and upload using xloader or directly upload the folder with config.h already edit using arduino ide, but still lasergbrl can not detect and connect to the board

Dhanyudi avatar Aug 27 '21 22:08 Dhanyudi

Sorry for the late reply, I've tried to make a tutorial how to edit & upload GRBL to a mega.

  1. Get GRBL Mega 5x (Click the green code button -> download zip)
  2. Open the zip file, then extract grbl folder (only the grbl folder) to your arduino documents folder (default is C:\Users\{YourUser}\Documents\Arduino\libraries) image image
  3. Once copied, you can edit config.h (Take a note about #define BAUD_RATE ardound line 48, you need to use this number when connecting with LaserGRBL)
  4. Open Arduino IDE.
  5. Click File -> Examples -> grbl -> grblUpload image
  6. Select the correct board & COM port image
  7. Hit upload (once uploaded, you should get similar orange text) image
  8. Connect with LaserGRBL (You can use UsbSerial2 protocol, that seems to be more stable with mega) image image I hope this tutorial helps

gmmanonymus111 avatar Sep 05 '21 16:09 gmmanonymus111

Sorry for the late reply, I've tried to make a tutorial how to edit & upload GRBL to a mega.

  1. Get GRBL Mega 5x (Click the green code button -> download zip)
  2. Open the zip file, then extract grbl folder (only the grbl folder) to your arduino documents folder (default is C:\Users\{YourUser}\Documents\Arduino\libraries) image image
  3. Once copied, you can edit config.h (Take a note about #define BAUD_RATE ardound line 48, you need to use this number when connecting with LaserGRBL)
  4. Open Arduino IDE.
  5. Click File -> Examples -> grbl -> grblUpload image
  6. Select the correct board & COM port image
  7. Hit upload (once uploaded, you should get similar orange text) image
  8. Connect with LaserGRBL (You can use UsbSerial2 protocol, that seems to be more stable with mega) image image I hope this tutorial helps

Wow...thank you very much for detail tutorial. I will try , and send further info

Dhanyudi avatar Sep 05 '21 16:09 Dhanyudi

I try and still no luck I can not connect to the mega with lasergrbl

Dhanyudi avatar Sep 06 '21 04:09 Dhanyudi

I try and still no luck I can not connect to the mega with lasergrbl

Does LaserGRBL show any error messages? Could you upload LaserGRBL extended log after an unsuccessful connection? Could you take pictures when UGS connects?

gmmanonymus111 avatar Sep 06 '21 07:09 gmmanonymus111

IMG_20210906_172456 Error

Dhanyudi avatar Sep 06 '21 10:09 Dhanyudi

IMG_20210906_172441 Log

Dhanyudi avatar Sep 06 '21 10:09 Dhanyudi

IMG_20210906_174201

Using ugs port not detect, but im device manager port is detect arduino

Dhanyudi avatar Sep 06 '21 10:09 Dhanyudi

I suspect another issue here, since neither LaserGRBL nor UGS can see your MCU. By extended log, I meant ? sign in LaserGRBL -> Activate extended log -> Select a path where you want to save it -> Try to connect -> When failed, you can upload the log here, it might contain something useful info.

What kind of mega do you have? The original/clone with ATmega16U2 (big brick like connector), or CH340 micro USB connector? CH340 is known for not being that reliable.

When finished flashing the firmware (in Arduino IDE), when opening Serial Monitor, do you see a message similar to this?: image

gmmanonymus111 avatar Sep 06 '21 13:09 gmmanonymus111

I suspect another issue here, since neither LaserGRBL nor UGS can see your MCU. By extended log, I meant ? sign in LaserGRBL -> Activate extended log -> Select a path where you want to save it -> Try to connect -> When failed, you can upload the log here, it might contain something useful info.

What kind of mega do you have? The original/clone with ATmega16U2 (big brick like connector), or CH340 micro USB connector? CH340 is known for not being that reliable.

When finished flashing the firmware (in Arduino IDE), when opening Serial Monitor, do you see a message similar to this?: image

Nope i dont see any message in serial monitor

Dhanyudi avatar Sep 06 '21 14:09 Dhanyudi

What is the output text when you finished flasshing in Arduino IDE? (the orange text at the end) I suspect either your USB cable, USB port or Arduino USB to serial converter might be damaged, since there is no reliable communication between your pc and your board

gmmanonymus111 avatar Sep 07 '21 16:09 gmmanonymus111