Go to Post ... One of the things I happen to like about the Chief Delphi community is that at every competition I go to, someone recognises me and comes over to say hi ... I meet someone new, they meet someone new, and it's win/win. - EddieMcD [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2009, 13:33
KRibordy KRibordy is offline
Registered User
FRC #1000 (Cybearcats)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2006
Location: Valparaiso, IN
Posts: 36
KRibordy is an unknown quantity at this point
Re: Downloading code DS says "No Code"

When we download the code, we download it with WindRiver and then reset the robot. Then, on the DS, it should display "Battery: No Comms" for about ten seconds. Then, for another few seconds, it will display "Battery: No Code". Then it displays "Battery: 0.0V" for us. When that message is up, the joysticks start working.
  #2   Spotlight this post!  
Unread 24-01-2009, 13:37
jnutzmann jnutzmann is offline
Nutzy
FRC #2606
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Rosemount High School
Posts: 5
jnutzmann is an unknown quantity at this point
Re: Downloading code DS says "No Code"

Quote:
Originally Posted by KRibordy View Post
Then it displays "Battery: 0.0V" for us. When that message is up, the joysticks start working.
For us it just stays on "No code" and never displays a Battery voltage and the joysticks dont work.
__________________
Jonathan Nutzmann
Team 2606 Mentor
Institute of Technology
University of Minnesota
Undergraduate
  #3   Spotlight this post!  
Unread 24-01-2009, 13:52
KRibordy KRibordy is offline
Registered User
FRC #1000 (Cybearcats)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2006
Location: Valparaiso, IN
Posts: 36
KRibordy is an unknown quantity at this point
Re: Downloading code DS says "No Code"

You are resetting the robot after downloading the code, right?

And you're downloading the .out file to the robot, not the .cpp file, right?
  #4   Spotlight this post!  
Unread 24-01-2009, 13:54
jnutzmann jnutzmann is offline
Nutzy
FRC #2606
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Rosemount High School
Posts: 5
jnutzmann is an unknown quantity at this point
Re: Downloading code DS says "No Code"

Yes we're resetting the robot and downloading the correct file
__________________
Jonathan Nutzmann
Team 2606 Mentor
Institute of Technology
University of Minnesota
Undergraduate
  #5   Spotlight this post!  
Unread 24-01-2009, 17:05
C222's Avatar
C222 C222 is offline
Computer Science Major
FRC #0852 (Athenian Robotics Collective)
Team Role: Alumni
 
Join Date: Mar 2007
Rookie Year: 2007
Location: California
Posts: 22
C222 is on a distinguished road
Re: Downloading code DS says "No Code"

We've had this problem a few times with our bot. It's usefull to have a serial connection to a terminal on the programming computer. During boot-up, if it says it "unloads" your code, there is probably part of the code the cRio didnt like. Generally, for my team, it was because of an "inline" function.
__________________
--=====|-----====|-------====|-------====|----
--=|--------------==|----------==|---------==|---
--=|---------------==|----------==|---------==|--
--=|------------==|----------==|---------==|-----
--=====|-----======|-----======|----======|-
  #6   Spotlight this post!  
Unread 24-01-2009, 19:20
Analog's Avatar
Analog Analog is offline
Registered User
AKA: Bob Most
FRC #2619 (The Charge)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Midland, Michigan
Posts: 53
Analog will become famous soon enoughAnalog will become famous soon enough
Re: Downloading code DS says "No Code"

Quote:
Originally Posted by C222 View Post
We've had this problem a few times with our bot. It's usefull to have a serial connection to a terminal on the programming computer. During boot-up, if it says it "unloads" your code, there is probably part of the code the cRio didnt like. Generally, for my team, it was because of an "inline" function.
Is there a document that tells how to use the serial interface, and what information the interface yields?
  #7   Spotlight this post!  
Unread 24-01-2009, 19:28
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Downloading code DS says "No Code"

Directions are found in the Control System Manual Chapter 5 Configuration in section 5.4.1, cRIO Console Serial Connection to Laptop
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #8   Spotlight this post!  
Unread 24-01-2009, 20:49
Analog's Avatar
Analog Analog is offline
Registered User
AKA: Bob Most
FRC #2619 (The Charge)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Midland, Michigan
Posts: 53
Analog will become famous soon enoughAnalog will become famous soon enough
Re: Downloading code DS says "No Code"

Quote:
Originally Posted by Mark McLeod View Post
Directions are found in the Control System Manual Chapter 5 Configuration in section 5.4.1, cRIO Console Serial Connection to Laptop
Thanks. There is also a more detailed account at NI for those following this thread:

http://zone.ni.com/devzone/cda/tut/p/id/6537
Closed Thread


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
Downloading code- DS says "No Code" Bryan Herbst Programming 6 05-01-2009 19:46
"Battery: No Code" after uploading .out file to cRIO knine143 FRC Control System 1 20-12-2008 22:14
Screenshot of "code not understood" or similar error needed! Elgin Clock Programming 3 17-02-2006 22:06
Modified default code gives "code violation" scottmso Programming 8 10-02-2006 23:17
Code error on RC after downloading "bells and whistles" version of Kevins camera code DanDon Programming 6 10-01-2006 18:07


All times are GMT -5. The time now is 02:26.

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


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