View Single Post
  #10   Spotlight this post!  
Unread 10-01-2010, 17:38
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: Problems Interfacing '10 Control System w/ Classmate

We formatted the CRio to work in C/C++. When we tried to connect to the cRio using the real time target server in Windriver, here is the error:

Code:
Sun Jan 10 17:25:24 2010
    Target name is 10.0.25.2
tgtsvr (VxWorks6x_10.0.25.2@1951-44U): Sun Jan 10 17:25:24 2010
    WTX Library version: 4.1.1.22
    Tgtsvr core version: 4.1.1.17
     Wind River Target Server: Win32 version
    Connecting to the target agent ...
    ... switching to WDB4 mode ...    ... succeeded !
    Loading plug-in for VxWorks... succeeded.
     Checking License... OK
    VxWorks plugin version: 4.1.1.11
    Attaching elf OMF reader for PPC CPU family... succeeded.
    
Differences for module "vxWorks" segment's address 0x100000:
     Offset        Target Value    Host Value
     0x152        0x9c        0x9d
      0x153        0x84        0xd0
     0x49d        0x0d        0x09
      0x49e        0x03        0xaf
Stopping dump. Other errors might exist.


     Error: The systems running on the target and loaded into the target server memory are different.
Either wrong core file is selected on the host or text section is corrupted on target side.
Error during target server core initialization
 Target Server will exit
After that, we connected the cRio directly to HyperTerminal and recorded the output. I have attached a text file populated with errors. The last line (FTP Server Connection thread error) occured when we tried to deploy code using WindRiver.
Attached Files
File Type: txt CAPTURE.TXT (21.0 KB, 43 views)
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
Reply With Quote