# Firmware Update Failed

**URL:** <https://forum.sienci.com/t/firmware-update-failed/6277>\
**Category:** Other Software\
**Created:** [July 13, 2022, 12:21pm UTC](https://forum.sienci.com/t/firmware-update-failed/6277 "2022-07-13T12:21:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HbrHmr](https://forum.sienci.com/letter_avatar_proxy/v4/letter/h/e9c0ed/32.png) [@HbrHmr](https://forum.sienci.com/u/HbrHmr)\
**Post date:** [July 13, 2022, 12:21pm UTC](https://forum.sienci.com/t/firmware-update-failed/6277/1 "2022-07-13T12:21:45Z")

</div>

Hi All,

Looking for some help with my firmware, I recently ordered the inductive sensors and was following the install guide which has you flash GBRL on the machine, the instructions worked, and I was able to view the EEPROM settings afterwards. The next time I connected the machine made the clunk noise, shows as connected (COMM 4 BAUD 115200) but there was no option to jog.

I downloaded Arduino noted in the firmware update page, show as being connected, the Board Info tab shows a board, S/N, etc so it is registering the controller but _Tools \> Serial Monitor_ show no firmware on the device. Trying to flash again in gsender gets the notification for it starting and then 10-15s after a notification pops up [object Object] and nothing happens.

I tried flashing using Aduino, EEPROM clear code uploads and runs properly but when Uploading the library it fails and provides this error (i have tried all three releases of the firmware)

Any help would be appreciated

_Arduino: 1.8.19 (Windows 10), Board: “Arduino Uno”_

_In file included from C:\Users\Longmill\Documents\Arduino\libraries\grbl/config.h:30:0,_

- 

```
            from C:\Users\Longmill\AppData\Local\Temp\arduino_modified_sketch_918406\eeprom_clear.ino:1:*

```

_C:\Users\Longmill\Documents\Arduino\libraries\grbl/grbl.h:68:4: error: #error “Required HOMING\_CYCLE\_0 not defined.”_

- #error “Required HOMING\_CYCLE\_0 not defined.”\*

- ^ ~~~~ \*

_C:\Users\Longmill\Documents\Arduino\libraries\grbl/grbl.h:108:4: error: #error “WCO refresh must be greater than one.”_

- #error “WCO refresh must be greater than one.”\*

- ^ ~~~~ \*

_C:\Users\Longmill\Documents\Arduino\libraries\grbl/grbl.h:111:4: error: #error “Override refresh must be greater than zero.”_

- #error “Override refresh must be greater than zero.”\*

- ^ ~~~~ \*

_exit status 1_

_Error compiling for board Arduino Uno._

_This report would have more information with_  
_“Show verbose output during compilation”_  
_option enabled in File → Preferences._

---

<div class="post-metadata">

**Author:** ![\_Michael](https://forum.sienci.com/user_avatar/forum.sienci.com/_michael/32/2962_2.png) [@\_Michael](https://forum.sienci.com/u/_Michael)\
**Post date:** [July 14, 2022, 5:41am UTC](https://forum.sienci.com/t/firmware-update-failed/6277/2 "2022-07-14T05:41:31Z")

</div>

First off welcome to the forum!

Do you have the hex file to load or are you compiling from source? I ask because I recently flashed grbl onto my ATMEGA2560 using XLoader and it was super simple compared to Arduino IDE.

[XLoader.zip](https://forum.sienci.com/uploads/short-url/EKnOqgS0Viis74eUh2PafUUWa2.zip) (646.7 KB)

I think I got it from [here](https://github.com/binaryupdates/xLoader).

Hope that helps or someone else chimes in. Let us know how you make out.

---

<div class="post-metadata">

**Author:** ![HbrHmr](https://forum.sienci.com/letter_avatar_proxy/v4/letter/h/e9c0ed/32.png) [@HbrHmr](https://forum.sienci.com/u/HbrHmr)\
**Post date:** [July 15, 2022, 2:00am UTC](https://forum.sienci.com/t/firmware-update-failed/6277/3 "2022-07-15T02:00:17Z")

</div>

Thanks Michael,

Turns out I was just rushing in my concern and missed the step to open the " **grblUpload.ino**" file.  
Reread it tonight and caught my error.

> **[grbl Firmware - LongMill CNC CNC](https://resources.sienci.com/view/lm-grbl-firmware/)**
>
> The LongMill runs off the grbl firmware, an open source firmware that is designed for Arduino-based CNC machines. You can re-flash by using gSender or UGS.

---

<div class="post-metadata">

**Author:** ![\_Michael](https://forum.sienci.com/user_avatar/forum.sienci.com/_michael/32/2962_2.png) [@\_Michael](https://forum.sienci.com/u/_Michael)\
**Post date:** [July 15, 2022, 2:31am UTC](https://forum.sienci.com/t/firmware-update-failed/6277/4 "2022-07-15T02:31:58Z")

</div>

Cool, glad you got it worked out.

---

<div class="post-metadata">

**Author:** ![gwilki](https://forum.sienci.com/user_avatar/forum.sienci.com/gwilki/32/366_2.png) [@gwilki](https://forum.sienci.com/u/gwilki)\
**Post date:** [July 15, 2022, 12:11pm UTC](https://forum.sienci.com/t/firmware-update-failed/6277/5 "2022-07-15T12:11:27Z")

</div>

As the original issue has been addressed, I’m closing this topic. If anyone else has a similar concern, feel free to start a new topic, which will ensure that it is addressed promptly.

---

<div class="post-metadata">

**Author:** ![gwilki](https://forum.sienci.com/user_avatar/forum.sienci.com/gwilki/32/366_2.png) [@gwilki](https://forum.sienci.com/u/gwilki)\
**Post date:** [July 15, 2022, 12:11pm UTC](https://forum.sienci.com/t/firmware-update-failed/6277/6 "2022-07-15T12:11:32Z")

</div>


