Lost Control

I was initially unable to download a program to the cortex using the USB cable so I did a cortex firmware update. That allowed me to download my program and successfully run it. Then I deleted the program from the cortex using the file management tool. I then turned on my cortex and controller. Successfully paired the controller to the cortex through Vexnet, but now I have no control over the bot. It won’t drive. It just sits their. Completely puzzled? Any ideas anyone?

Thanks,

Gord

did you forget to redownload the program

Did you redownloaded the program in the cortex?

Are you asking if I re-downloaded the cortex firmware?

Any of my programs that I have written in RobotC download to the cortex brain with no problem. The programs run as expected.

However, after I have deleted the programs from the cortex brain, and I try to reconnect my controller via VEXnext, the controller pairs successfully, but the robot won’t respond.

I have reinstalled the firmware, but nothing has changed. Not sure why this is so difficult. FRUSTRATING! I am trying to teach students how to code, which should be the more complicated learning process. This part should be TRIVIAL!!!

Thanks again for any feedback.

Gord

they mean re install the program

If you delete the program from the brain then pair the controller the robot doesn’t have a program to respond to.

Hi Dan. Reinstall what program? Sorry this makes no sense to me?

I believe he’s talking about re downloading the program to the cortex after you deleted it.

You said you deleted the code from the cortex, then turned it on and re-paired it. Sounds like you need to re-download the code you deleted, because with no code to tell the cortex what to do, it will just sit there

So here’s a chart to explain

this is what you are doing

  1. Download program no problem.
  2. you say you delete the program.
    3.Controller pairs but, doesn’t respond

edit: by program I am referring to your robot c program.

step 2 is the the issue. After you delete the program the cortex has nothing to do.
Fix: re download the program.

Thanks for being patient with me guys. Obviously I am not understanding something here.

I have a standard Clawbot. I can use my VEX controller to operate the robot.

I write a program in RobotC, upload it to the cortex, and it runs as expected. Then I want to simply go back to operating my robot as usual with the controller. So I delete the program I uploaded so that I can go back to running the Clawbot as usual.

Should I not be able to do this? Or did I erase the factory code that allows me to manipulate my robot when I uploaded my own program?

I really hope I am making sense.

Gord

Wouldn’t the program let you control the robot ?
If you would like to you can upload your program and I’m sure some people on the forum can check it.
Also what do you mean as usual?

When you buy the standard clawbot, assemble it, and pair the controller with the cortex, you can operate the bot right out of the box. No coding is necessary.

So it seems to me that by uploading my own program I have deleted the code that came with the factory settings. Does that make sense?

That’s seems to be it. The cortex can only store one program so if you didn’t save the original that might be the cause.

I might not be able to help with this as my team never used the claw bot kit.

That has to be it. Because I can still pair the controller with the cortex, just nothing happens!!

To clarify, your program works?

Plus, I can upload any program I have written, and it executes as expected. So I think that must be it.

Thanks Dan, I appreciate your help. :))

Then problem solved. :slight_smile: