Welcome to Our Community

Some features disabled for guests. Register Today.

unable to flash grbl to arduino uno r3 clone

Discussion in 'General Talk' started by carlo stromei, Feb 6, 2023.

  1. carlo stromei

    Builder

    Joined:
    Feb 6, 2023
    Messages:
    5
    Likes Received:
    1
    hello all, im a total noob to arduinos openbuilds control and this forum.
    im starting to build the controller for my jds garage cnc plasma table build and am unable to flash grbl to my arduino clone, a elegoo uno r3.
    keep getting flash failed message...
    please help!
     
    Rande Kelley likes this.
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,870
    Likes Received:
    4,283
    Try a genuine Arduino. Clones often have bad USB circuitry (ch340 instead of ftdi or at8u4) and often nonstandard bootloaders
     
  3. carlo stromei

    Builder

    Joined:
    Feb 6, 2023
    Messages:
    5
    Likes Received:
    1
    Grrr i hate spending money for nothing lol.
    Ah well live and learn!
     
  4. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,870
    Likes Received:
    4,283
    _Z
    Also consider a plug and play solution, with support included, like the Blackbox (see docs.openbuilds.com/blackbox)
     
  5. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    if you have an ISP programmer handy you can reload the bootloader. I find some Pro Mini's have the wrong bootloader from the factory.
     
  6. carlo stromei

    Builder

    Joined:
    Feb 6, 2023
    Messages:
    5
    Likes Received:
    1
    I know no such animal...
     
  7. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    carlo stromei likes this.
  8. Rande Kelley

    Builder

    Joined:
    Jan 21, 2023
    Messages:
    11
    Likes Received:
    0
    I too am new doing the same thing with original Arduino Uno R3 boards. Received my third board yesterday new from Amazon and was going to flash for 3 axis operation. Received message that Flash Failed. I have x and y but no Z. Any help would be greatly appreciated.
     
  9. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,002
    Likes Received:
    1,676
    When you say "original" do you mean the actual official Italian made Arduino? Arduino Uno Rev3

    I flashed one in 2016, then updated it when necessary and have never had a problem.

    Be careful with Amazon. The resellers there are known for selling counterfeit merchandise.
     
  10. Rande Kelley

    Builder

    Joined:
    Jan 21, 2023
    Messages:
    11
    Likes Received:
    0
    All 3 of them came in boxes with Arduino on the boxes and with Arduino and Italy on the boards.
     
  11. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,002
    Likes Received:
    1,676
    How are you trying to flash it? I recently flashed a knock-off Arduino nano I had lying around to test some limit switches and I flashed it with Openbuilds Control.
     
  12. Rande Kelley

    Builder

    Joined:
    Jan 21, 2023
    Messages:
    11
    Likes Received:
    0
  13. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,002
    Likes Received:
    1,676
    Have you tried flashing it with the OpenBuilds Control software? Or were you using the Arduino IDE?
     
  14. Rande Kelley

    Builder

    Joined:
    Jan 21, 2023
    Messages:
    11
    Likes Received:
    0
    I have been trying it with Open Builds.
     
  15. Rande Kelley

    Builder

    Joined:
    Jan 21, 2023
    Messages:
    11
    Likes Received:
    0
    How do you flash it with Arduino IDE?
     
  16. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,002
    Likes Received:
    1,676
    WHen you say you had X and Y, but no Z, were you able to control the X and Y? If so, did you perhaps flash the two axis laser version? If you want Z control, you need to flash a three axis version.

    If that is not working, I bet something else is wrong. Maybe the wrong com port is selected or something. Iff you want to go down the more complicated route, you need to download the Arduino IDE and follow the steps at the Github site. Compiling Grbl

    Before you do that, download the Arduino IDE (you will need it anyways) and see if you can load the Blink sketch. If you can successfully do that, then load the grbl file.
     
  17. Rande Kelley

    Builder

    Joined:
    Jan 21, 2023
    Messages:
    11
    Likes Received:
    0
    I was trying to flash it for the 3 axis in open builds control. It said Flash Failed, I tried it a couple more times and couldn’t get it to flash. I connected it and it showed grbl 1.1 and proceeded showing code. I have 2 more boards that all do the same. I have 2 laptops with Open Builds Control on them and have tried 2 different USB cables. I have checked the Z axis on the X axis and it works. I think that it is in the flash. I have looked at the Arduino IDE and I didn’t know for sure if that was a possibility. Open Builds V1.0.350 is shown as the latest version. This last board went from the box for 3 axis flash and this is what I ended up with. I really appreciate your help, I just hope that I’m explaining it properly.
     
  18. carlo stromei

    Builder

    Joined:
    Feb 6, 2023
    Messages:
    5
    Likes Received:
    1
    Update guys, it turns out something on my laptop was preventing me from flashing my arduino.
    I dont know what it is but the computer store was more than happy to flash my 2 arduinos on the spot, go figure...
     
  19. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,002
    Likes Received:
    1,676
    Did you install drivers for the Arduino? When you download the Arduino IDE it installs drivers I believe. https://www.arduino.cc/en/software If you have never installed the Arduino IDE, I would start there. Then try flashing the board with Openbuilds Control. All my computers have the Arduino IDE on them and I have never had a problem with installing GRBL.

    Also, there is this you can try. docs:blackbox-4x:install-drivers [OpenBuilds Documentation]
     
  20. Rande Kelley

    Builder

    Joined:
    Jan 21, 2023
    Messages:
    11
    Likes Received:
    0
    Any idea what it was? I’ve been fighting with this for several weeks.
    Did they say what it was? I’m still having issues. Thanks
     
  21. Rande Kelley

    Builder

    Joined:
    Jan 21, 2023
    Messages:
    11
    Likes Received:
    0
    I installed the Windows version last night and the USB worked. I had difficulty finding the Arduino library and I haven’t had any luck with it. It acts like it is flashed but when you hook it up to the controller it says firmware not found, if you try reflashing with it says flash failed but when you connect it goes to the third option and says firmware found grbl 1.1.
     
  22. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,002
    Likes Received:
    1,676
    What Windows Software? OpenBuilds? Arduino IDE? If you have all the software and recommended drivers on your computer, then the OpenBuilds Control sofware should be able to upload GRBL to the board. If you have the Arduino IDE, open the Arduino IDE, connect your arduino uno to your compter, and then pick which board you are using and what COM port in the Arduino IDE Software. Then cut and paste this code that is between the dashed lines (but do not include the dashed lines) into the Arduino IDE:
    https://docs.arduino.cc/built-in-examples/basics/Blink
    -----------------------------------------------------------------------------------------------

    /*
    Blink
    Turns an LED on for one second, then off for one second, repeatedly.
    Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
    it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
    the correct LED pin independent of which board is used.
    If you want to know what pin the on-board LED is connected to on your Arduino
    model, check the Technical Specs of your board at:
    https://www.arduino.cc/en/Main/Products
    modified 8 May 2014
    by Scott Fitzgerald
    modified 2 Sep 2016
    by Arturo Guadalupi
    modified 8 Sep 2016
    by Colby Newman
    This example code is in the public domain.
    https://www.arduino.cc/en/Tutorial/BuiltInExamples/Blink
    */
    // the setup function runs once when you press reset or power the board
    void setup() {
    // initialize digital pin LED_BUILTIN as an output.
    pinMode(LED_BUILTIN, OUTPUT);
    }
    // the loop function runs over and over again forever
    void loop() {
    digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
    delay(1000); // wait for a second
    digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
    delay(1000); // wait for a second
    }


    ------------------------------------------------------------------------------------------------------------------------------------------

    If it successfully loads, then the built in LED will blink on for a second then off for a second. You will also get a message that it loaded successfully.

    If that works, then you know your computer and board are working and communicating. If you are not able to do this, then you may need to hire someone, or the easiest solution of all is the plug and play BlackBox Motion Control System

    Getting grbl up and running bug free on a cobbled together controller with an Arduino board of any kind is not a beginner project for someone new to Arduinos. How do I know? Because I did it myself when I built my first CNC. It was a lot of work. However, I had done other projects with Arduino boards prior to that.
     
    David the swarfer likes this.
  23. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    you do have to select the Uno under Boards and the correct port otherwise it won't work.
     
    Giarc likes this.
  24. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,002
    Likes Received:
    1,676
    I just dug up an Arduino Uno that I used for another project. I plugged it in and selected COM3 which is what the OpenBuilds software detected.

    upload_2023-2-19_21-7-45.png

    Then I selected Firmware Flashing tool from the Wizards and Tools tab

    upload_2023-2-19_21-43-9.png

    Then I chose the Blackbox tab then selected 3 axis CNC/Laser and clicked on Flash.

    upload_2023-2-19_21-9-34.png

    And it was successful.


    upload_2023-2-19_21-34-20.png

    If for some reason you tried to flash the Arduino Uno with the Blackbox X32 firmware, you will most definitely fail. Is this what your error looked like? By the way it took me two attempts to reflash back with the regular Blackbox firmware.
    upload_2023-2-19_21-48-23.png
     

    Attached Files:

    David the swarfer likes this.
  25. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,002
    Likes Received:
    1,676
    It should also be mentioned that the computer I used has all the drivers loaded that are recommended under the Black box Documents I linked earlier above and I have the Arduino IDE software on it as well.
     
  26. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,870
    Likes Received:
    4,283
    X32 is not arduino based. Very different generation.

    The older BlackBox 4X was Uno compatible
     
  27. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,002
    Likes Received:
    1,676
    Yeah, I did it to see what the error code would be thinking that may be his problem. I have never had the Blackbox 4x selection fail in flashing to any Arduino product I have tried it on.
     
    David the swarfer likes this.
  28. Rande Kelley

    Builder

    Joined:
    Jan 21, 2023
    Messages:
    11
    Likes Received:
    0
    Okay. I have got it in the Blink mode. Do you want me to try to flash it on the Open Builds Control flash wizard?
     
  29. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,002
    Likes Received:
    1,676
    Yes. I would try to do that.
     
  30. Rande Kelley

    Builder

    Joined:
    Jan 21, 2023
    Messages:
    11
    Likes Received:
    0
    I did a restart on my laptop before I tried to reflash in the Open Builds flash wizard. I was using the Black Box 4X control. I attempted to reflash 3 times and it failed all three times. I have installed all the drivers before attempting this.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice