Tutorials/Getting Started/Getting Started with the VEX CORTEX
(→Step 3: Updating VEX Cortex Firmware) |
(→Step 4: Downloading and Running Code) |
||
| Line 106: | Line 106: | ||
|ROBOTC contains a large library of sample programs to help you get started. These sample programs can be downloaded to your VEX Cortex using the USB A-to-A cable, or using a wireless VEXnet connection.<br /> | |ROBOTC contains a large library of sample programs to help you get started. These sample programs can be downloaded to your VEX Cortex using the USB A-to-A cable, or using a wireless VEXnet connection.<br /> | ||
<br /> | <br /> | ||
| − | The VEX Cortex Communication Mode controls how ROBOTC downloads programs to your Cortex, as well as what types of connections your Cortex checks for when it is powered on. Confirm that your VEX Cortex Communication Mode is set to "VEXnet or USB" or "USB Only". "USB Only" is the recommended method for wired-only programming.<br /> | + | The VEX Cortex Communication Mode controls how ROBOTC downloads programs to your Cortex, as well as what types of connections your Cortex checks for when it is powered on. Confirm that your VEX Cortex Communication Mode is set to "VEXnet or USB" or "USB Only". "'''USB Only'''" is the recommended method for wired-only programming.<br /> |
[[File:vex2-getting-started-usb-only.png]]<br /> | [[File:vex2-getting-started-usb-only.png]]<br /> | ||
<br /> | <br /> | ||
| + | '''Option 1: VEXnet or USB'''<br /> | ||
| + | With this option selected, ROBOTC will download programs to your Cortex using a VEXnet or USB connection. In this mode, when the Cortex is powered ON it will look for a VEXnet or USB connection for up to 15 seconds before running your program. (The Communication Port → Automatic Selection option in the ROBOTC Preferences should be selected if you plan on switching between VEXnet and USB as your download method.)<br /> | ||
| + | |||
| + | '''Option 2: USB Only'''<br /> | ||
| + | With this option selected, ROBOTC will download programs to your Cortex using only the USB connection. In this mode, when the Cortex is powered ON it will immediately run your program. This option will NOT work if you are using the VEXnet Joysticks to download to the Cortex, or remotely control it.<br /> | ||
| + | <br /> | ||
| + | '''Option 3: Competition (VEXnet)'''<br /> | ||
| + | This option disables the ROBOTC debugger, and is not recommended for classroom use. | ||
|} | |} | ||
<br /> | <br /> | ||
Revision as of 13:24, 17 May 2012
Contents |
Configuring the VEX Cortex for a WIRED connection using USB
| This is a guide for setting up the VEX Cortex using the USB A-to-A cable. These steps are required the first time you use your computer to program a specific VEX Cortex, or after you've upated ROBOTC to the latest verstion. Once you've successfully completed these steps you can download your own programs without revisiting them. Note: Administrative privileges are required for some of these steps. |
Note: Driver Installation
ROBOTC 3.05 and later automatically installs the necessary drivers for the VEX Cortex, VEXnet Joysticks, and USB-to-Serial Programming cable. If you need to download the drivers for troubleshooting purposes, you can still find them at www.ROBOTC.net/download/cortex:
|
Step 1: Connect the Cortex to your PC
Step 2: Platform Type and Communication Port
Step 3: Updating VEX Cortex Firmware
| Go to Robot → Download Firmware and select "Automatically Update VEX Cortex". |
| A message will appear, informing you that the software will update your Cortex to the latest Master CPU and ROBOTC Firmware files. Press OK to begin the process. |
| A Download Progress window will appear, showing the progress of the Master CPU Firmware download. |
| When the Master CPU Firmware download is complete, a ROBOTC Message will appear and inform you that it will now update the ROBOTC firmware, if needed. Press OK to continue the process. |
| Note: If this is the first time a VEX Cortex running the 3.x Master CPU Firmware has been connected to your computer, Windows will recognize it as a new device, and may prompt you to verify the new hardware installation. Press Continue or Continue Anyway to complete the installation. |
| If your ROBOTC Firmware is out-of-date, another Download Progress window will appear and begin the ROBOTC Firmware download. |
| When the download completes, another ROBOTC Message will appear. Press OK to complete the process. |
| Notes:
Once this step is complete, you should no longer need Administrative privileges on your computer; you should be able to download Master CPU Firmware, ROBOTC firmware, and ROBOTC programs in a permissions-restricted account. Only future updates to ROBOTC and the VEX Cortex Device Driver will require Administrative privileges. Exception: On some computers, Windows may prompt you to "install new hardware" each time the Cortex is plugged in on a different USB port. To alleviate the issue, connect the updated VEX Cortex on each USB port as an administrator (no need to redownload firmware), or dedicate one USB port for communication with the VEX Cortex. You only need to download the Firmware once, when you first start using a VEX Cortex with ROBOTC, or when you upgrade to a newer version of ROBOTC. You do not need to re-download the firmware every time you want to download code. If the download fails, disconnect the VEX Cortex from your computer and turn it off. Then reconnect it to the computer, allow a few seconds to ensure that Windows recognizes it, turn it on, and try downloading the firmware again. |
Step 4: Downloading and Running Code











