Hello friends! When loading the program an error occurs:

In file included from C: \ Users \ Grisha \ Documents \ Arduino \ libraries \ grbl / grbl.h: 43: 0,

from C: \ Users \ Grisha \ Documents \ Arduino \ libraries \ grbl \ examples \ grblUpload \ grblUpload.ino: 27:

C: \ Users \ Grisha \ Documents \ Arduino \ libraries \ grbl / nuts_bolts.h: 51: 0: warning: "max" redefined

#define max (a, b) (((a)> (b))? (a): (b))

In file included from sketch \ grblUpload.ino.cpp: 1: 0:

C: \ Program Files (x86) \ Arduino \ hardware \ arduino \ avr \ cores \ arduino / Arduino.h: 93: 0: note: this is the location of the previous definition

#define max (a, b) ((a)> (b)? (a) :frowning: b))

In file included from C: \ Users \ Grisha \ Documents \ Arduino \ libraries \ grbl / grbl.h: 43: 0,

from C: \ Users \ Grisha \ Documents \ Arduino \ libraries \ grbl \ examples \ grblUpload \ grblUpload.ino: 27:

C: \ Users \ Grisha \ Documents \ Arduino \ libraries \ grbl / nuts_bolts.h: 52: 0: warning: "min" redefined

#define min (a, b) (((a) <(b))? (a): (b))

In file included from sketch \ grblUpload.ino.cpp: 1: 0:

C: \ Program Files (x86) \ Arduino \ hardware \ arduino \ avr \ cores \ arduino / Arduino.h: 92: 0: note: this is the location of the previous definition

#define min (a, b) ((a) <(b)? (a) :frowning: b))

In file included from C: \ Users \ Grisha \ Documents \ Arduino \ libraries \ grbl / grbl.h: 43: 0,

from C: \ Users \ Grisha \ Documents \ Arduino \ libraries \ grbl \ examples \ grblUpload \ grblUpload.ino: 27:

C: \ Users \ Grisha \ Documents \ Arduino \ libraries \ grbl / nuts_bolts.h: 55: 0: warning: "bit" redefined

#define bit (n) (1 << n)

In file included from sketch \ grblUpload.ino.cpp: 1: 0:

C: \ Program Files (x86) \ Arduino \ hardware \ arduino \ avr \ cores \ arduino / Arduino.h: 123: 0: note: this is the location of the previous definition

#define bit (b) (1UL << (b))

A sketch uses 29,594 bytes (91%) of the device’s memory. A total of 32,256 bytes are available.
Global variables use 1484 bytes (72%) of dynamic memory, leaving 564 bytes for local variables. Maximum: 2048 bytes.
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 1 of 10: not in sync: resp = 0x72
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 2 of 10: not in sync: resp = 0x72
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 3 of 10: not in sync: resp = 0x72
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 4 of 10: not in sync: resp = 0x72
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 5 of 10: not in sync: resp = 0x72
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 6 of 10: not in sync: resp = 0x72
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 7 of 10: not in sync: resp = 0x72
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 8 of 10: not in sync: resp = 0x72
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 9 of 10: not in sync: resp = 0x72
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 10 of 10: not in sync: resp = 0x72

Please tell me what is it?

Remove any connections to pins 0 and 1. These pins are used for communication with your computer, including uploads. Connecting anything to these pins can interfere with uploads.

Make sure you have the correct board selected from the Tools > Board menu.

Make sure you have selected the port of your Arduino board from the Tools > Port menu.

Sometimes the port will be labeled with the board name in the menu. Other times it will not. If you don’t know which port is your Arduino, you can find it like this:

  • Unplug your Arduino board from the computer.
  • Tools > Port
  • Note the ports, if any, listed in the menu.
  • Close the Tools menu
  • Plug your Arduino board into the computer.
  • Tools > Port - The new port listed in the menu is your Arduino board.

Could you take a few moments to Learn How To Use The Forum.
It will help you get the best out of the forum.

Are you trying to load a stock GRBL to a UNO, NANO, or MEGA ?
Initial Suspicion is that it is either non std or may have been modified in some way.

Bob.

I am trying to upload to UNO
I checked the port
And in the settings is "arduino uno"

Have you ever successfully uploaded to this Uno before?

Is the Uno connected to the CNC machine? If so, can you try uploading to just the Uno alone, with nothing attached to it?

What OS and which port do you see in your system for the COM port ?

Also please re-read Pert's and my responses again please.

I see COM7 (Arduino UNO)
Windows OS
I did everything as you said. But the error repeats itself

So there is NOTHING connected to the board ?

If windows sees it with nothing else connected and you have selected the correct COM port and board type in the IDE you may want to try uploading something more simple such as the BLINk or BARE MINIMUM example.

If that fails you may have damaged the board past the USB section.
There is often no simple fix for those types of failure.

What parts (make model etc) were connected before the problem and HOW were they connected ?
pics or schematics even hand drawn should be OK and links to the specific hardware.

Bob.