Cortex/Robot stops responding

The issue im having is that my robot/program will work great for a few minutes then it stops responding to program…I have to redownload program.
Any ideas what i need to do to fix?

What are the lights on the controller/cortex showing when it stops working? Chances are you either losing VEXnet connection or batteries are dead.

It might also be something in your code. If you can post it someone can double check it.

The robot light is red even though i have full batteries.

That would most likely point to dead batteries. How sure are you that they are full? Sometimes chargers lie, I would double check with a multimeter.

Here is the troubleshooting flowcharts for your reference: