FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot download code, FTP apparently failing

I believe we have put in all the updates (v19, bla, bla). We were able to flash the cRio so we have communications.

We are using C++ but we are still unable to download a program.

When we download we get a very quick progress bar (1/4 sec) then it goes away and then nothing.

Window >> Preferences has our team number and is pointing to the .out file we build.

C:\windriver\workspace\BuiltinDefaultCode\BuiltinDefaultCode.cpp

 

When we boot the cRio we get...

* Loading StartupDlls: nivissvc
task 0xec2b48 (PAL00f93ee8) deleted: errno=0 (0) status=0 (0)
NI-RIO Server 3.2 started successfully.
task 0xc3df98 (NiRioRpc) deleted: errno=0 (0) status=0 (0)
* Loading StartupDlls: nivision
* Loading StartupDlls: niserial
* Loading StartupDlls: FRC_FPGA
* Loading StartupDlls: FRC_NetworkCommunication
FRC_NetworkCommunication was compiled from SVN revision 2064
FPGA Hardware GUID: 0xAD9A5591CC64E4DF756D77D1B57A549E
FPGA Software GUID: 0xAD9A5591CC64E4DF756D77D1B57A549E
FPGA Hardware Version: 2010
FPGA Software Version: 2010
FPGA Hardware Revision: 1.3.0
FPGA Software Revision: 1.3.0
* Loading StartupDlls: FRC_UserProgram
...FRC_UserProgram failed to load.

Welcome to LabVIEW Real-Time 8.6.1f2
task 0x1d552a0 (t2) deleted: errno=0 (0) status=0 (0)

NI-VISA Server 4.5 started successfully.
task 0xe41170 (t1) deleted: errno=1835009 (0x1c0001) status=1 (0x1)

The last line there concerns me.

When we try to downlaod a program we get...

task 0x13193a8 (FTP Server Connection Thread) deleted: errno=35 (0x23) status=0
(0)

It looks like the FTP is failing.

Any help is appreciated.

0 Kudos
Message 1 of 7
(6,110 Views)

Hello,

Thank you for the detailed information in your post.  Does this occur when just trying to just deploy default code?

Have you seen this behavior on multiple computers or only one?  I am wondering if this may be an issue with the installation on this one computer.

We will make sure to discuss this in more detail with R&D tomorrow.  If you have any updates or further questions please make sure to post them here.

Thanks!

Bob H

NI FIRST Support

Thanks!
Bob H
Applications Engineer
National Instruments
0 Kudos
Message 2 of 7
(3,390 Views)

Hello,

I have gotten in touch with some of our WindRiver contacts.  I have notified them of this post and hopefully they should be posting soon.  If they have not posted by tomorrow afternoon I will make sure to follow up with them so that you get the information that you need as soon as possible.  Thank you very much for you patience on this issue.

Thanks!
Bob H

NI FIRST Support

Thanks!
Bob H
Applications Engineer
National Instruments
0 Kudos
Message 3 of 7
(3,390 Views)

I tried once again. It fiald in the same location. This time I was able to find the file FLarki000_SuiteLog.txt mentioned in the abort message. It was not planely viewable. I had to search for it. It was hidden as it was in my temp folder under my user name which you cannot see without searching. Why I do not know, maybe a feature.

When I opend the file I see.

<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
<record>
  <date>2010-01-17T21:41:27</date>
  <millis>1263782487625</millis>
  <sequence>0</sequence>
  <logger>com.windriver.installer.services.logging</logger>
  <level>SEVERE</level>
  <class>com.windriver.installer.controller.internal.ishield.InstallShieldOutputHandler</class>
  <method>notifyDone</method>
  <thread>10</thread>
  <message>InstallShieldOutputHandler:notifyDone procesExitValue is 4, error message is InstallShield process can't start due to corrupt install image.
</message>
</record>
<record>
  <date>2010-01-17T21:41:30</date>
  <millis>1263782490390</millis>
  <sequence>1</sequence>
  <logger>com.windriver.installer.services.logging</logger>
  <level>SEVERE</level>
  <class>com.windriver.installer.ui.internal.wizard.WRIStandardInstallPage</class>
  <method>done</method>
  <thread>10</thread>
  <message>An exception occurred during installation of an install set</message>
</record>
</log>

As I thim I said this is happening on both my original disks and the backup disks.

0 Kudos
Message 4 of 7
(3,390 Views)

The "FTP Server Connection Thread" message is not necesarily an error and it occurs after an FTP download finishes.

Did you happen to see a progress bar show up for a second or two after you did the "FIRST / Download" menu item? If you did, then that would indicate that the program was downloaded. You can verify the download by running an FTP client (I like filezilla) and connecting to the cRIO using your team number IP address, for example, 10.1.90.2 for team 190. After you Download the program you should notice the file, "FRC_UserProgram.out". This file is your program, regardless of what you called it - it's renamed on download. When you Undeploy the program it will be deleted. But be careful because some FTP clients cache the directory.

If you are seeing the program downloaded, then there may be an error in the program preventing it from starting when the robot boots.

0 Kudos
Message 5 of 7
(3,390 Views)

The first time I try to download the progress bar flashes for about 1/10 second.The file is not downloaded.

We loaded Windiver on a virgin computer and all is working. But it is one of the students so it is the only dev machine we have. I need it on mine.

If you look a my previous posts I think the problem is with the Windriver install. On machines that had a previous version we are having problems. On a new machine we are not.

The Windriver install tools do not completly uninstall Windriver. They don't really do much of anything except make it so you cannot run the programs anymore or reinstall with the new FRIST license.

0 Kudos
Message 6 of 7
(3,390 Views)

NI-Bob any luck with Windriver? I sent in a question to their website.

Any help is appreciated.  If you have no more options please let me know so I will stop bothering you.

Thanks

0 Kudos
Message 7 of 7
(3,390 Views)