You need to check:
- Battery pack voltage isn't drooping significantly under load.
- Those hookup wires are able to handle the current (some are only rated for signals, not power)
- That your dirpin signal is making it onto the DRV8825 board (use a multimeter).