Motors turn when Cortex is powered on

I haven’t see this since the PIC days.

Joystick is off. When I turn the Cortex on the two motors in ports 1 and 2 start to spin like they were given a

motor[port1] = motor[port2] = 128; //both motors spin the same way.

The other motors do not move. I tried reloading the Cortex VEX master, Robot C firmware and the joystick firmware, same issue. Code is attached, there isn’t much to it…

Any ideas other than possibly corrupt VEX master code?

#pragma config(Motor,  port1,           rightRear,     tmotorVex393_HBridge, openLoop)
#pragma config(Motor,  port2,           leftRear,      tmotorVex393_MC29, openLoop)
#pragma config(Motor,  port5,           rightShooter,  tmotorVex393_MC29, openLoop)
#pragma config(Motor,  port7,           leftShooter,   tmotorVex393_MC29, openLoop, reversed)
#pragma config(Motor,  port9,           Belt,          tmotorVex269_MC29, openLoop)
//*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*//

task main()
	int Shoot, Chain;
	while (1 == 1) {
		motor[rightRear] = vexRT[Ch2];
		motor[leftRear] = vexRT[Ch3];
		if (vexRT[Btn6U] == 1)
			Shoot = 128;
		else if
			(vexRT[Btn6D] == 1)
		Shoot = -128;
			Shoot = 0;
		motor[leftShooter] = motor[rightShooter] = Shoot;

		if (vexRT[Btn5U] == 1)
			Chain = 128;
		else if
			(vexRT[Btn5D] == 1)
		Chain = -128;
			Chain = 0;
		motor[leftShooter] = motor[rightShooter] = Chain;


Change the download mode to “competition” or “VEXnet or USB” (I’m guessing you downloaded for “USB Only”) I could reproduce the bug and have a pretty good idea why, I’m surprised no one else has ever found this. Let me know.