Control 8 stepper motors with Arduino Uno or Due using CNC Shield

Robin2:
Post the program that works in that situation

...R

load program:

 int stpPin = 12;
    int dirPin = 13;
    int a = 0;
    void setup()
    {
      pinMode(stpPin, OUTPUT);
      pinMode(dirPin, OUTPUT);
    }
   
    void loop()
    {
      if (a < 200)
      {
        a++;
        digitalWrite(stpPin, HIGH);
        delay(10);
        digitalWrite(stpPin, LOW);
        delay(10);
      }
      else
      {
        digitalWrite(dirPin, HIGH);
        a++;
        digitalWrite(stpPin, HIGH);
        delay(10);
        digitalWrite(stpPin, LOW);
        delay(10);
       
        if (a>400)
        {
          a = 0;
          digitalWrite(dirPin, LOW);
        }
      }
    }

Robin2:
Are you sure you have set the current limit on the A4988 to match your motor?

...R

maybe this is a reason, because I don't have multimeter here to check

Robin2:
Does the shield require an enable signal for each motor?

I'm not sure how to do it, maybe shield EN and GND need to be connected with jumpers