Programming instructions
Reference
Project Lead The Way
©
and Carnegie Mellon Robotics Academy
©
/ For use with VEX
®
Robotics Systems
Troubleshooting ROBOTC with Cortex • 8
Troubleshooting ROBOTC with Cortex
4.ChecktheVEXCortexDownloadMethod.
• VerifythattheRobot>VEXCortexDownloadMethodissetto“DownloadusingVEXnetorUSB”or
“DownloadusingUSBOnly”
• IfitwassetforCompetition:
o Downloadtheprogram
o TurnCortexOFF
o DisconnecttheCortexfromthecomputer
o ReconnecttheCortextothecomputeroverUSB
o Turn the Cortex On
o Retrydownloadingtheprogramtoopenthedebugger
Problem: Motors and/or Sensors Debug windows not functioning correctly
1.IstheCortexturnedonandconnectedtoachargedbattery?
• Swapinafullychargedbattery
• TurntheCortexon
• Observethedebugwindowdata
2.Hasaprogramthatcorrectlyconguresthesensorsbeendownloadedtotherobot?
• Downloadaprogramthatcorrectlyconguresthesensorsontherobot.
• Runtheprogram
• Stoptheprogram
• Observethesensordata
3.IstheProgramDebugwindowsettoprovide“Continuous”updates?
• Downloadtheprogramtotherobot
• Underthe“RefreshRate”section,verifythatabuttonisnotlabeled“Continuous”
• Ifabuttonislabeled“Continuous”,pressittoreceivecontinuousupdates
• Observethesensordata
4.HavetheMasterCPUandROBOTCFirmwarebeendownloadedsuccessfullytotheCortex?
• Dotheyneedtobere-downloaded?
o DownloadtheMasterCPUFirmware .........................
o DownloadtheROBOTCFirmware
o PowerCycletheCortex
o Re-downloadtheprogram
o Observethesensordata
5.DoestheCortexneedtobepowercycled?
• StartwiththeCortexTurnedOFF
• ConnecttheCortextothecomputeroverUSB
• TurntheCortexOn
• Re-downloadtheprogram
• Observethesensordata
6. Restart ROBOTC.
• CloseROBOTC
• OpenROBOTC
• Re-downloadtheprogram
• Observethesensordata
Go to Reference Links