VEX RobotC Installation

We are having difficulty downloading code from RobotC to the VEX microcontroller. Is there a procedure to follow? :confused:

There is a procedure to follow, listed below:

RobotC Procedure

Step 1: download and install RobotC (executable file)
Step 2: download and install the Windows XP or VISTA drivers
Step 3: if you are running the program off a network (i.e. you would like to run the program remotely), download the network drivers
Step 4: run RobotC and in the program, go to step 6
Step 5: Connect the 7.2V battery to the microcontroller
Step 6: Connect the orange programming cable to your computer’s USB port, and the other end to the serial port on the microcontroller*
Step 7: turn the microcontroller ON
Step 8: Robot -> Platform Type -> Innovation First VEX
Step 9: Robot -> Download Firmware -> Select VEX firmware
Step 10: In RobotC, go to Preferences -> FRC Communication Port (select the correct COM port)
Step 11: restart your computer
Step 12: Open RobotC and compile your code to ensure there are no errors, or choose a pre-written code by going to File -> Open Sample Code
Step 13: In RobotC, go to Robot -> Compile and Download

*If you are not sure which COM port to select, go to Windows -> Settings -> Control Panel -> System -> Device Manager -> Ports
This will list all COM ports connected and provide a simple description. You can also plug and unplug the cable while looking at that screen.

These steps can be found in the Help file of the RobotC software as well.

Common errors:

If your microcontroller does not have sufficient power (if your battery is below 7.2V), then it will not accept new code.

When you plug in motors, sensors etc. to the microcontroller, ensure the wires are facing the proper way (yellow and white towards the center of the controller). If you are using cable extenders, ensure colors line up, black to black, red to red, yellow to yellow or white).

If you are new to programming, we advise adding code line by line and compiling (and saving the code as a new file) frequently. This ensures that you can undo the last step and still have functional code.

:smiley: