It looks like your board cannot cope with the requested step rate. The MKS 1.4 is a pretty slow board and not able to generate too many steps at once.
Try reducing microsteps = 32 to 16. Maybe as a start only for the extruder and see if this already is sufficient.