|
|
| Line 4: |
Line 4: |
| | | | |
| | == Getting Started with the VEX CORTEX == | | == Getting Started with the VEX CORTEX == |
| − | === Download Master Firmware === | + | === Configuring the VEX Cortex for a WIRED connection using USB === |
| | {|width="740px" | | {|width="740px" |
| | |- | | |- |
| − | |The Master Firmware for the VEX 2.0 Cortex is sperate from the ROBOTC Firmware. The Master firmware controls all of the lower-level controls of the VEX 2.0 Cortex controller (such as VEXnet Communication). This firmware is supplied by Innovation FIRST and has not been modified by ROBOTC. Every VEX 2.0 Cortex Microcontroller is preloaded with a version of the master firmware, but downloading the latest version will ensure that your robot is compatible with the latest hardware available. | + | |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.''' |
| | + | |} |
| | + | <br /> |
| | | | |
| − | '''To download and update the VEX 2.0 Cortex Master Firmware:'''
| + | ==== Driver Installation ==== |
| − |
| + | {|width="740px" |
| − | '''Place your VEX Cortex in "Bootload" Mode'''
| + | |- |
| − | Placing your VEX Cortex in "Bootload" mode is necessary before downloading the Master CPU Firmware. Keep the Cortex powered OFF.
| + | |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. |
| − | Plug one end of the USB A-to-A Cable into a USB port on your computer. Do not plug the other end into the Cortex. Note: The order detailed in these steps is crucial. When the Cortex is powered on, it immediately tries to determine how it is connected (over VEXnet, USB, or no connection). Some power is provided to the Cortex over USB, which will allow it to determine that it is connected to your computer.<br />
| + | |
| − | [[File:01.png]]
| + | |
| − | | + | |
| − | | + | |
| − | Use a paperclip or a 5/64 Allen Wrench to press and hold in the CONFIG button on the Cortex.<br />
| + | |
| − | [[File:02.jpg]]
| + | |
| − | | + | |
| − | | + | |
| − | While pressing in the CONFIG button, connect the other end of the USB A-to-A cable to the USB port on the VEX Cortex. Keep the CONFIG button pressed in for an additional 5 seconds.<br />
| + | |
| − | [[File:03.jpg]]
| + | |
| − | | + | |
| − | | + | |
| − | Remove the Allen Wrench or paperclip, releasing the CONFIG button. After a few seconds, the ROBOT and GAME lights should blink green.<br />
| + | |
| − | [[File:04.jpg]]
| + | |
| − | | + | |
| − | | + | |
| − | Make sure a 7.2V Robot battery is connected and move the POWER switch on the Cortex to the ON position. Your setup should resemble the one in this picture, with the USB A-to-A cable connecting your computer and the VEX Cortex, and the 7.2 Volt Robot Battery powering the VEX Cortex. Note (Optional): You can connect two motors to MOTOR Ports 2 and 3 for testing a sample program later in the sequence. You can connect 3-wire motors directly, or the newer 2-wire motors using Motor Controller 29 cables.<br />
| + | |
| − | [[File:06.jpg]]
| + | |
| − | | + | |
| − | | + | |
| − | '''Platform Type and Communication Port'''<br />
| + | |
| − | Specify that you are using the Cortex and how it is connected to your computer in ROBOTC. Go to Robot > Platform Type > Innovation First (IFI) and select "VEX 2.0 Cortex" or "Natural Language (VEX Cortex)".<br />
| + | |
| − | [[File:platform.png]]
| + | |
| − | | + | |
| − | | + | |
| − | Then go to View and choose Select Communication Port.<br />
| + | |
| − | [[File:comm_port.png]]
| + | |
| − | | + | |
| − | | + | |
| − | A new window will appear. From the Communications Port dropdown list, make sure that "Automatic Selection" or the "USB Wired Cable" option are selected. If you plan on programming your robot wirelessly over VEXnet, keeping "Automatic Selection" chosen is recommended. Press OK to save your choice.<br />
| + | |
| − | [[File:comm_port_select.png]]
| + | |
| − | | + | |
| − | | + | |
| − | '''Downloading Master Firmware'''<br />
| + | |
| − | Go to Robot > Download Firmware > Master CPU Firmware and select "Standard File" to download the latest Master CPU Firmware to your robot.<br />
| + | |
| − | [[File:master.png]]
| + | |
| − | | + | |
| − | | + | |
| − | A Download Progress window will appear and begin the download process.<br />
| + | |
| − | [[File:download_master.png]]
| + | |
| − | | + | |
| − | | + | |
| − | When the window closes, the firmware download is complete. A ROBOTC Message will appear, and remind you to also download the ROBOTC Firmware.<br />
| + | |
| − | [[File:master_success.png]]
| + | |
| − | | + | |
| − | | + | |
| − | Note: You only need to download the Master CPU Firmware once, when you first start using a VEX Cortex with ROBOTC, or when you upgrade to a newer version of ROBOTC. Switching programs or download methods does not require a re-download.
| + | |
| − |
| + | |
| − | Once the Master CPU Firmware finishes downloading, the Cortex will be recognized as a new device, and Windows may ask you to verify the software installation for the Cortex. Press Continue or Continue Anyway to complete the installation.<br />
| + | |
| − | [[File:new_hw.png]]
| + | |
| − | | + | |
| − | | + | |
| − | Note: Once the device driver installation 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 theVEX Cortex Device Driver will require Administrative privileges.
| + | |
| | |} | | |} |
| | <br /> | | <br /> |
| − |
| |
| | | | |
| | === Download ROBOTC Firmware === | | === Download ROBOTC Firmware === |