GRBL-LPC on Smoothieboard "No supported firmware" problem

Your procedure to flash the firmware and the rename of the firmware.bin file is correct.

The “No supported firmware” message you get means that LaserWeb doesn’t get the welcome string “Grbl v1.1f” from the firmware within 10s after serial connection. Usually grbl-LPC sends that less than a second after each connect.

Try to add the line “RESET_ON_CONNECT=1” to the .env file. This will cause LW4 to reset the board right after connection, which forces the welcome message.

In the .env file I saved to the installation folder, RESET_ON_CONNECT=1 was already written. I saved the .env file from this website: https://laserweb.yurl.ch/documentation/initial-configuration/65-grbl-lpc-1-1e and used the “.” before “env” in the name with nothing in front. I also tried to use a computer with Windows 10, with the same result.
Can I somehow monitor the process, so I can see if the firmware is sending the welcome string?

Also, the version of LaserWeb I installed, where downloaded from this page https://github.com/LaserWeb/LaserWeb4-Binaries/releases. I use the latest release, named “LaserWeb.Setup.4.0.996-134.exe”.
Is this the right version to use for my application?

I think you did everything correct, also the correct LW version.

To check if the firmware is acting correctly, you could connect the serial port with a terminal program (or the serial term of the Arduino IDE) instead of LW. Connect the serial port and then reset the board. You should see the welcome message “Grbl 1.1f [’$’ for help]” and you should get the config after you send $$.
If that is not the case, then the problem is in the board/firmware. Otherwise it’s on LW side.

There could also be a problem with the “.env” file not beeing used. The default configuration in Win10 is hiding file endings like .exe, .doc in the file explorer and prohibits you from naming a file “.env” olny.
My advise is to create the file as “env.txt” first and then use a command line command like “ren env.txt .env” to rename it.

I created the .env file, by following the instruction from Sam Bakker in the end of his tread from 10/7-2017 where he had about the same issue. The new file looks just like the one I saved from the internet, and it does not solve the problem. When I write LOG_LEVEL=3 in this file as well, it created a logfile in the installation folder when LW is opened. Would this happen even if the file was not to be used? I tried to use putty as terminal program, but I did not see any welcome string.
Could there be something wrong with the drivers I installed?

@Knut_Gunnarson_Veum You are right. If the log level switch works, your .env must be ok.

If you don’t see the welcome string from putty, you can still check if the board is reacting. If you send $$ you should get the whole list of config values. If that doesn’t happen, it must be a problem with the firmware. Try to flash it again or flash back smoothieware to see if it works.

Just to be sure: You have an original Smoothieboard, not some clone, right?

Yes, I ordered the Smoothieboard from Robot Seed. This is the board I have: http://robotseed.com/index.php?id_product=101&controller=product&id_lang=2. I use external drivers, therefor I ordered the 0X version. Just to be sure, is it the EN1, DIR1 and ST1 that is used for the X-axis and EN2, DIR2 and ST2 for the Y-axis?
I have removed the smoothieboard from the laser cutter and tried using Putty with several baud rates, but could not receive or send any commands or information. I also tried to use smoothieboard’s independent serial (UART) port, with a serial to USB adapter, like it is described here: http://smoothieware.org/uart, but the result where the same.
When I uploaded Smoothieware to the SD-card, I received the message:
Smoothie
ok
At this point, I could also send commands to the board, and the LED nr.1, 4 and “3.3V” on the board where constantly on, while LED nr. 2 and 3 where flashing. When I uploaded GRBL-LPC firmware, the only LED that was on, where the one labeled “3.3V”. (during the hole period, the only power supply I used, where my computer through the USB-cable. I tried to use different USB-cables)
I concluded that something must go wrong when I flash the program. I believe that the bootloader recognizes the firmware.bin file, because also this time the .bin file where renamed when I looked at it, but I absolutely do not know what causing this flashing-issue. Do you have any recommendation for how I should proceed the troubleshooting?

@cprezzi I am very grateful for the help I have received so far, but it is possible to get answers on how to continue the troubleshooting?

Ok, that means you have to solve the board/firmware problem before trying with LW.
Are you sure you downloaded smoothie_firmware.bin from https://github.com/cprezzi/grbl-LPC/releases? Usually I would suggest the newest one, but you can also try older versions.
https://github.com/cprezzi/grbl-LPC/releases

Now I have tried to save all the precompiled releases of “smoothie_firmware.bin” as “firmware.bin” at my SD-card (one at the time) and none of them worked with LW or PUTTY. I find out that when I opened putty for the first time after flashing a new firmware, I received an “error: 7” message and a list of all $-parameters, but I could not write anything. This happened with every firmware I flashed, no matter if I used 9600 or 115200 baud rates, but only the first time I opened PUTTY after flashing. When I closed PUTTY and tried to open it again, I could neither read or write anything.
What is this “error: 7” message?

According to https://github.com/gnea/grbl/wiki/Grbl-v1.1-Interface the err:7 means “EEPROM read failed. Reset and restored to default values.”

I would tell you to try it with another smoothieboard, but I know they are not cheap and you probably don’t have a second one.

What you could try is to connect a power supply to the board (additional to USB) for flashing and testing.

@cprezzi
Now I have tried to connect the board to an external power supply, and then tried to flash it. This did not make any differences. I also decided to run Smoothieware on my laser cutter, but even if Putty returns “Smoothie ok”, when I try LW4 I receive loots error codes and the machine disconnects. This is the messages I receive:
“Warning: Gcode out of machine bounds, can lead to running work halt
error:Alarm lock
Server error: Writing to COM port (GetOverlappedResult): Unknown error code 121
Machine disconnected”
Is it possible that there could be something wrong with the bootloader, or should I just buy a new card?

@Knut_Gunnarson_Veum This sounds like serial communication problems. I would first try a good quality short USB cable (best with ferrites). If that doen’t help, try a different PC.

I just tried two other USB-cables, I am not sure if these were with ferrites, but they were short. I also tried to use Pronterface with another PC (Windows 8,1) and this message appeared when I tried to connect and send some commands:

Connecting…
Printer is now online.
Extruding 5.000000mm of filament.
Can’t write to printer (disconnected ?):
Traceback (most recent call last):
File “printrun\printcore.py”, line 672, in _send
File “lib\site-packages\serial\serialwin32.py”, line 323, in write
serial.serialutil.SerialTimeoutException: Write timeout

LW behaved the same way as I described yesterday, and the firmware I used was Smoothieware. It is tempting to order a new Smoothieboard, but is there anything else I should try to do before I make the order?

Did you try to get help in the Smoothieware community? (as this has clearly nothing to do with LaserWeb)
https://plus.google.com/u/0/communities/111870450664099533727

4 posts were split to a new topic: GRBL-LPC on Smoothieboard X0 “No supported firmware” problem