Go to Post Only on CD would people debate calculus problems involving time and team numbers... - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-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 11-02-2013, 09:08
RonnyV's Avatar
RonnyV RonnyV is offline
All of the above
AKA: Ron Visser
FRC #4481 (Team Rembrandts)
Team Role: Coach
 
Join Date: Apr 2012
Rookie Year: 2012
Location: The Netherlands
Posts: 95
RonnyV has much to be proud ofRonnyV has much to be proud ofRonnyV has much to be proud ofRonnyV has much to be proud ofRonnyV has much to be proud ofRonnyV has much to be proud ofRonnyV has much to be proud ofRonnyV has much to be proud ofRonnyV has much to be proud of
Rookies need expert in flashing Crio

Hello CD community,

We're having big problems with flashing our Crio. We did it once, successfully. We were able in uploading a program, after that we try to delete the code from the crio since then we're struggling with everything.

We can't get it working anymore. We cannot flash the Crio properly anymore, windriver gives constant errors.. we've been working on it for a week now with no results.

We would like to have a skype call with someone that knows stuff about windriver and can help us with step by step flashing.

What we ultimate want is:

Crio Flash
Demo program compile
Upload

Help us
Thanks in advance..


My skype = ronvisserhcm
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2013, 14:57
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 157
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: Rookies need expert in flashing Crio

Hey Ron,
Your description of the problem tells me that possibly there is some confusion about the flashing of the crio versus uploading/deploying programs. Before going to a conversation about this, I figure I should say:
- cRio Imaging tool is usually done once at the beginning of the season to "catch up" with the latest flash version. This year, v47 is the version that should be on your cRio. You can verify this with the imaging tool. Just run it with the ethernet cable directly attached between the computer and the crio. The imaging tool is pretty good at discovering the crio and telling you on the UI what version is currently on the device. If it's v47, there's no need to re-flash again until FIRST says they have an update - which may or may not happen again this season.
- The cRio imaging tool has nothing to do with Windriver Workbench. Windriver workbench is the development environment for writing programs, compiling them, and 'uploading' or 'deploying' them to the crio. This is not the same as flashing the device. The deployment is simply ftp'ing a compiled program to the cRio so that it will be run the next time the cRio is rebooted.

With that couple of clarifications... let us know if you're on v47 or not and then let's talk about compilation, deploy, and reboot / diagnostic of whether things are healthy from there.

We'll get ya runnin'. I'm confident!

bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote
  #3   Spotlight this post!  
Unread 11-02-2013, 16:30
RonnyV's Avatar
RonnyV RonnyV is offline
All of the above
AKA: Ron Visser
FRC #4481 (Team Rembrandts)
Team Role: Coach
 
Join Date: Apr 2012
Rookie Year: 2012
Location: The Netherlands
Posts: 95
RonnyV has much to be proud ofRonnyV has much to be proud ofRonnyV has much to be proud ofRonnyV has much to be proud ofRonnyV has much to be proud ofRonnyV has much to be proud ofRonnyV has much to be proud ofRonnyV has much to be proud ofRonnyV has much to be proud of
Re: Rookies need expert in flashing Crio

We're having some time difference, it will make it a bit hard! I'm not into electronics/programming that much. I'm just the messenger.

What I do know is that they tried the whole day (today) to flash the crio. With a ethernet cable and the flashing tool. (We used crossover cable and normal cable) It was stuck at: Crio rebooting.

We decided on reflashing the CRIO because of the fact that windriver wasn't working anymore. We couldn't upload a code or anything, so we re-installed windriver and labview couple of times. (no succes)
Reply With Quote
  #4   Spotlight this post!  
Unread 11-02-2013, 20:57
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 157
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: Rookies need expert in flashing Crio

Thanks for the additional details - a few more questions...

Is it true that the imaging tool sees the crio and then the team has told it to 'format'? And after telling it to format, it gets stuck at 'crio rebooting' ?

If the team is able to turn off the crio, turn it back on, wait 2 minutes, then run the imaging tool, I would be interested to see a screen shot of the imaging tool at this stage to see what the device looks like from the imaging tool standpoint.

Also, have you ever had success in booting this crio or deploying code to it? If so, what changed to make it no longer able to deploy code to it?

I'll send you a friend request on skype and see what I can do.

**OTHERS** I'd appreciate other mentor/experience here as I'm starting to think that there may be a safe-mode-reformat required here and I'm not certain how to do that if this is a 4-port crio without a 'safe' dip-switch.

Thanks,
Bob Wolff
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote
  #5   Spotlight this post!  
Unread 12-02-2013, 07:38
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Rookies need expert in flashing Crio

If you are in the shop in the afternoon you can use phone support to NI technical support. You need to disable wireless and firewalls before imaging, and an earlier tool would have the side-effect of leaving a second IP setting on your wired network interface card, and that would confuse things as well. You find this in the Advanced button of the IPv4 properties.

If you need to put a 4 slot into safe mode, I believe you hold the reset button for a little over 10 seconds during power up.

Greg McKaskle
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


All times are GMT -5. The time now is 03:36.

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