Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

BIOS update to remove FRC BIOS from cRIO

Solved!
Go to solution

Hello Kyle,

 

That's the crux of the matter.  I'm only running this simple math vi.  It's not using any I/O.  Even after formatting the hard drive on the cRIO and reinstalling all the software, I still have this issue with the outputs being on when I'm not connected or running a vi.  This is why I think it must have something to do with the BIOS or firmware.

 

When I run the simple math vi, the outputs are off.

 

Hope this helps clarify my problem and look forward to some possible solutions.

 

Thank You,

 

Michael

0 Kudos
Message 11 of 30
(4,922 Views)

Did you see my last post Kyle?

I am seeing the indicator lights on the module come on when no code is running; power cycling does not affect this.  When I run the simple math VI, the indicator lights go out.  As soon as I disconnect from the target, the lights come back on.

 

0 Kudos
Message 12 of 30
(4,883 Views)

Hey Jeepers,


Sorry don't know how I missed your update. Can you send me your whole project? (.lvproj, vis (host, rt, and fpga)) I'll see if I can track down a FRC setup. 

I'll see if I can reproduce it with your project. That will cue us into if its a hardware or software issue. You may want to try swapping out the 9472 so see if that resolves the issue. Or even moving the modules around and resetting up the project.

Kyle Hartley
Senior Embedded Software Engineer

0 Kudos
Message 13 of 30
(4,876 Views)

Hello Kyle,

 

I've attached the project and the one and only fpga VI.  I did change it from the basic math VI to a VI accessing one of the DIO on the NI 9472 module.

 

When I run this VI, all the IO is off on the module and using the IO control in the VI, I can turn the output on and off.  I verified this with a simple electric fan wired to the module and it comes on and goes off when it should.  No other IO are on when I run the VI.

 

I also moved the module to each slot in the chassis with varied results.  In slots 1 and 4, IO 3, 4, and 5 are on when not connected to the cRIO or after a power cycle.  In slots 6 and 7, IO 3 and 5 are on.  In the other slots, no IO are on.

 

I don't have another 9472 module to swap in and see if the results are the same though to narrow down the issue.

 

Thanks again.

 

Michael

Download All
0 Kudos
Message 14 of 30
(4,853 Views)

Jeepers,

 

Can you take a video and post a link?


Can you show you executing your simple math vi running it and then stopping it an disconnecting toggles the ouputs on the module. 

I just want to clarify if you set the channel to true and run other code the channel will remain true until you run code to ***** the channel to false or you powercycle the controllers. 

Kyle Hartley
Senior Embedded Software Engineer

0 Kudos
Message 15 of 30
(4,834 Views)

Hello Kyle,

 

Yes.  I'll post links to videos this weekend.  I did a little more troubleshooting with the system last evening.

 

I noted if I turn on the no app dip switch, the conditions don't change.  I was thinking if something was set to run as a startup VI that controlled those outputs and resinstalling all the software didn't remove that startup VI, the no app switch should keep it from running.

 

Thank You.

 

Michael

 

0 Kudos
Message 16 of 30
(4,827 Views)

Hey Jeepers,


I just tried out your code on my hardware and I couldn't reproduce the issue. I can toggle the dio channel and when I disconnect from the chassis the module preserves the last value I wrote to the channel. So the channel don't turn on. Check to make sure you are assign the value to false before you disconnect. 

Kyle Hartley
Senior Embedded Software Engineer

0 Kudos
Message 17 of 30
(4,818 Views)

I really don't think the issue is related to my code.  This condition of the DIO being on was in place before I deployed anything to the hardware.  If you are using an FRC or a 9074, would it be possible to create a backup image that I'd could try on this hardware?

 

I'll post links to a couple short videos of what's happening.

 

Thanks

Michael

0 Kudos
Message 18 of 30
(4,812 Views)

Ok.  I posted the videos to YouTube and the link is below to one of them; you should be able to select the other videos I posted from there.  Keep in mind I'm not a videographer nor is my work space set up for video recording 🙂

 

http://youtu.be/kyfnPorbXWU?list=UUHXyknunZu7Gl6JBUNQWpKw

 

Thanks

 

Michael

0 Kudos
Message 19 of 30
(4,811 Views)
Solution
Accepted by topic author jeepers52004

Hey Jeeprs,

 

I didn't realize the values also set when you first turn on the device. You may also have a bitfile loaded on the FPGA flash. 

 

http://digital.ni.com/public.nsf/allkb/4789525480C3B78C8625714000746BFD

 

Kyle Hartley
Senior Embedded Software Engineer

0 Kudos
Message 20 of 30
(4,793 Views)