|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problem running C samples for roboRio
I'm new to the roboRio and to feel my way around things I'm attempting to run the C samples found here http://www.ni.com/download/labview-r...-2015/5558/en/.
I can successfully build, deploy and execute a sample to the roboRio but the app fails when it attempts to initialise the FPGA. The exact error text is shown below. Code:
roboRio Hello ERROR: -61200 Could not Open FPGA! Quote:
Should the C samples be able to work with the FRC roboRio firmware? And if so how do I get the FPGA into the correct state to run them? |
|
#2
|
|||
|
|||
|
Re: Problem running C samples for roboRio
I was able to solve my own problem by renaming the .lvbitx file in /usr/local.frc/bitfiles. I guess that stops the default image being loaded into the FPGA which means the C samples can then run.
Is there a way to unload the FPGA image from a roboRio bash terminal? |
|
#3
|
||||
|
||||
|
Re: Problem running C samples for roboRio
|
|
#4
|
|||
|
|||
|
Re: Problem running C samples for roboRio
No it doesn't, that was one of the first things I tried as well
. |
|
#5
|
||||
|
||||
|
Re: Problem running C samples for roboRio
Quote:
) |
|
#6
|
|||
|
|||
|
Re: Problem running C samples for roboRio
Quote:
|
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
|||
|
|||
|
Re: Problem running C samples for roboRio
When attempting to create a new account on the TeamForge project I get the message below:
Quote:
|
|
#9
|
|||
|
|||
|
Re: Problem running C samples for roboRio
We're looking into it. I'll post again when we've resolved the issue (issue referring to the sign up limit).
Last edited by fsilberberg : 29-07-2016 at 21:11. Reason: Clarify issue |
|
#10
|
|||
|
|||
|
Re: Problem running C samples for roboRio
The Collabnet user issue has been fixed. However, something important to note: with the FRC image, this behavior is likely not a bug. The FRC Network Communications stack depends on the FPGA image, as the FPGA is disabled without an enable signal coming from a Driver Station. If teams were able to disable the image and load their own, they could bypass this behavior.
|
|
#11
|
||||
|
||||
|
Re: Problem running C samples for roboRio
Quote:
|
|
#12
|
|||
|
|||
|
Re: Problem running C samples for roboRio
The roboRIO and other NI RIO products are used for more than FRC, and that includes loading your own FPGA bit file like the original poster is attempting to accomplish. The setting in question on the web page is useful for folks who have built a startup FPGA bitfile and no longer want it to be loaded at startup. It is confusing because there is no feedback as to how the FPGA is being loaded, so this option sounds good, and works in the right situation, but it isn't the option you are looking for.
For FRC, the bit file is loaded by the comms process, so the for nonFRC experimentation, I'd probably turn off the FRCNetComm daemon, reboot, and you'll be able to load your own FPGA for offseason, non robot, safe experiments. You can turn it back on or reimage to get things ready for FRC use. Greg McKaskle |
|
#13
|
|||
|
|||
|
Re: Problem running C samples for roboRio
Quote:
Disabling the /etc/rc5.d/S88FRCNetComm did stop the FRC FPGA bit file loading and allowed the NI roboRio C samples to run. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|