View unanswered posts | View active topics It is currently Tue Oct 21, 2014 3:09 am






Reply to topic  [ 4 posts ] 
Cortex microcontroller shutting off due to RobotC debugger 
Author Message
Rookie

Joined: Mon Jun 07, 2010 1:32 am
Posts: 6
Post Cortex microcontroller shutting off due to RobotC debugger
The new version of RobotC for Cortex (2.25) is great, but it seems to have a bug in the debugger (pun intended). After downloading my code, a fairly lengthy and variable-packed program, the debugger seems to drain the battery quite rapidly. With fresh batteries in the Cortex microcontroller, its power expander, and the joystick, the robot runs fine until I run the debugger. Though the Cortex battery light is green, operating the robot with the debugger causes the robot to turn off frequently and randomly. I believe this is due to the amount of values being transmitted; when I view the global variables panel, every single variable in the program shows up (not just the global and static ones). Even the parameters of functions are updated. The robot continues to shut off regardless of whether the Cortex and the joystick are connected via USB or WiFi. Thank you for all the support you have given me before! Please fix this issue quickly so I can test my new programming skills without being interrupted. Thanks once again! :)


Sun Oct 03, 2010 3:57 am
Profile
Site Admin
Site Admin

Joined: Tue May 15, 2007 9:02 am
Posts: 405
Post Re: Cortex microcontroller shutting off due to RobotC debugger
Can you post your code here, so that we can try it out on our end?

If you suspect that it's the debugger, one thing that you can do is disable it when you're not using it. Under View > Quick Setup Preferences > you can choose "Release" and the debugger won't transmit and receive values.

_________________
Jesse Flot
CMU Robotics Academy
ROBOTC Support


Mon Oct 04, 2010 11:11 am
Profile
Rookie

Joined: Mon Jun 07, 2010 1:32 am
Posts: 6
Post Re: Cortex microcontroller shutting off due to RobotC debugger
Could I send my code to an email address? I don't feel super comfortable with posting my code here.


Tue Oct 05, 2010 10:38 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3225
Location: Rotterdam, The Netherlands
Post Re: Cortex microcontroller shutting off due to RobotC debugger
try support@robotc.net.

- Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Wed Oct 06, 2010 12:51 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.