OCCRA
Go to Post Robotics is really preparing us for jobs at NASA. Look. We're past deadline, overweight, overbudget, and our project doesn't even work! - Oblarg [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Events   CD-Media   CD-Spy   FRC-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-12-2008, 05:16 PM
aeasson aeasson is offline
Registered User
FRC #2435
 
Join Date: Jan 2008
Location: Lawton, ok
Posts: 29
aeasson is an unknown quantity at this point
EasyC Question regarding simple program

I am a mentor for Team 2435 in Lawton, OK.
We are using EasyC for our software development for the microcontroller.
Today we tried to compile and download the While Loop sample code provided by Intelitek. This is a simple program that loops ten times and uses PrintToScreen to write a mesage to the terminal window.
The compile and build was successful.
The download appeared to be successful.
The terminal window launched.
However, no messages came back to the terminal.
All of the lights on the board worked as expected and the green light indicates that the processor is running.
Is there any other action required to start to program on the board?
Is there any additional step within EasyC necessary to start receiving messages from the microcontroller board?
Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 01-12-2008, 05:28 PM
JohnC's Avatar
JohnC JohnC is offline
my other name is nigel
FRC #0360 (360 Revolution)
Team Role: Programmer
 
Join Date: Mar 2005
Rookie Year: 2005
Location: user_routines.c
Posts: 100
JohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the rough
Send a message via AIM to JohnC
Re: EasyC Question regarding simple program

Make sure you have the crystal plugged into the RC and the joystick, the joystick's antenna is extended, and the joystick is on. As far as I know, it won't run without the controller present.
__________________
What place are we at? ... TODAI!
Reply With Quote
  #3   Spotlight this post!  
Unread 01-12-2008, 05:50 PM
rhoads2234's Avatar
rhoads2234 rhoads2234 is offline
Registered User
AKA: Erin
FRC #2234
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: PA
Posts: 80
rhoads2234 will become famous soon enough
Re: EasyC Question regarding simple program

Quote:
Originally Posted by JohnC View Post
Make sure you have the crystal plugged into the RC and the joystick, the joystick's antenna is extended, and the joystick is on. As far as I know, it won't run without the controller present.
this is a good step
also try turning the robot off and then back on
or try redownloading the code
if none of these work download the online code and make sure you can control a motor or something
after you download online code you sure redownload your code
__________________
ALWAYS a mechanical problem!
Reply With Quote
  #4   Spotlight this post!  
Unread 01-12-2008, 06:00 PM
Samuel H. Samuel H. is offline
Registered User
no team
 
Join Date: Dec 2005
Rookie Year: 1000
Location: World
Posts: 40
Samuel H. has a spectacular aura aboutSamuel H. has a spectacular aura about
Re: EasyC Question regarding simple program

Check and make sure you have a connection between the Operator Interface and Robot Controller - the Radio Modem light on the robot controller should be green. You can try tethering the operator interface to make sure.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-12-2008, 08:24 PM
Branden Ghena's Avatar
Branden Ghena Branden Ghena is offline
Previously: tawnos23
FRC #0240 (TEMPEST)
Team Role: College Student
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Houghton, Michigan (MTU)
Posts: 299
Branden Ghena has a spectacular aura aboutBranden Ghena has a spectacular aura aboutBranden Ghena has a spectacular aura about
Re: EasyC Question regarding simple program

Make sure you have the GD Mode button deselected, or no printed text other than graphic display text will appear.
__________________
Branden Ghena - Michigan Tech Student and Team 240 Alumnus
Working Towards: Electrical Engineering and Computer Engineering Double Major

"All we have to decide is what to do with the time that is given to us." - Gandalf
Reply With Quote
  #6   Spotlight this post!  
Unread 01-13-2008, 08:32 AM
aeasson aeasson is offline
Registered User
FRC #2435
 
Join Date: Jan 2008
Location: Lawton, ok
Posts: 29
aeasson is an unknown quantity at this point
Re: EasyC Question regarding simple program

Thanks for the responses.
I will try these suggestions tomorrow night at our next work session.
Reply With Quote
  #7   Spotlight this post!  
Unread 01-14-2008, 10:16 PM
aeasson aeasson is offline
Registered User
FRC #2435
 
Join Date: Jan 2008
Location: Lawton, ok
Posts: 29
aeasson is an unknown quantity at this point
Re: EasyC Question regarding simple program

Again, thanks for the response.
We hooked the OI up to our controller and the programm started executing.
Thanks for your help.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple question on MPLabs itsme Programming 7 01-19-2007 11:05 PM
EasyC Program For Camera? G1279 Programming 1 01-08-2007 06:00 PM
HELP writing simple delphi program! dave_macca Programming 1 03-24-2004 11:35 PM
simple question... answer it archiver 2001 1 06-24-2002 12:02 AM
simple engineering question Ben Mitchell Technical Discussion 2 11-07-2001 06:50 AM


All times are GMT -5. The time now is 05:11 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi