The motor will flash red even when plugged into a new port or when the cable is switched is this a problem with the motor or is it something with the programming I’m guessing it’s the motor but I’m not totally sure
In situations like these, the first step is to isolate the problem. It could be the port, the cable, the brain, or the motor. Try keeping everything the same, then making one change at a time to figure out what the problem is. Try using a different cable. If that doesn’t work, try plugging a different motor into the same port. If that doesn’t work try a different brain. While unlikely, it is also possible that more than one part is broken, so keep that in mind while testing each possibly.
If all else fails, call vex support.