Problem with downloading code to robot

I am trying to download a program from the Graphical RobotC to the physical robot but every time I get to the Select Communications Port For Platforms window it says “Selected COM port is not available.Check that your device is connected to the PC.Please select a COM port” even though it recognizes that the USB cable is connected and the software for that USB port has been downloaded.What do I do?

Have you downloaded the ROBOTC firmware to the Cortex?