Add GRBL following: Sketch, Include Library, Add .ZIP Library, then browse to …\grbl-1.1h.20190825\grbl-1.1h.20190825 , select grbl folder and click Open
Aduino IDE prompts "Library added to your libraries. Check "Include library" menu
I can now see my library under Contributed Libraries in the "Include Library" menu.
Restarded Arduino
Clicked on File, Open then browsed to "…\Documents\Arduino\libraries\grbl\examples\grblUpload" select grblUpload.ino and click Open
A new IDE window pops, I click Compile and then I have the following errors:
If I click Upload, the upload starts, RX/TX LED lit for a short while, and after 2 - 3 min I have the "An error occured while uploading the sktech" message. The console returns the following: Upload_NOK_grbl-1.1h.20190825 - Pastebin.com
I tried with GRBL1.1f, e & initial release It always ends with the same problem (to be honest I didn't saved and compared the Arduino console errors prompts for each version, I can do that and upload if necessary)
The Arduino board should work OK, I tested it with succes with the "Blink" example.
I think we need more details on the upload. Go into Preferences and turn on "Show verbose output during upload". Then show the part of the log after:
Sketch uses 29762 bytes (92%) of program storage space. Maximum is 32256 bytes.
Global variables use 1633 bytes (79%) of dynamic memory, leaving 415 bytes for local variables. Maximum is 2048 bytes.
As far as i can see within those 'links' (please just post the error codes within </> code-tags here, you will get more support) there are just 3 redefinition 'warnings' (probably re-defined to the same thing again anyhow) but no compile errors. During upload something doesn't work properly. Since you are using an Uno, do you have anything connected to pin 0 & 1 during upload ?
avrdude: writing flash (29762 bytes):
Writing | ################################################avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
It looks like the upload process is just crashing toward the end.
Maybe it's time to burn a fresh bootloader.
Deva_Rishi:
As far as i can see within those 'links' (please just post the error codes within </> code-tags here, you will get more support) there are just 3 redefinition 'warnings' (probably re-defined to the same thing again anyhow) but no compile errors. During upload something doesn't work properly. Since you are using an Uno, do you have anything connected to pin 0 & 1 during upload ?
Sorry for the "links" this is just regular Pastebin. Quite convenient to not overload forum messages with code. Since I'm new to this forum + I didn't saw interdiction in the Forum's rules I did as usual when I post. I will adjust for my next posts.
nothing connected to pin 0 & 1. Nothing (but the USB) connected actually