Go to Post So yeah, everyone please remember that lathes are one of the most dangerous machine tools you'll encounter. And keep your hand on the chuck key whenever it's in the chuck. If you never let it go till it's out of the chuck, it's stupendously less likely to take flight. - Kevin Sevcik [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Spotlight this post!  
Unread 03-08-2015, 17:22
CodeYeti's Avatar
CodeYeti CodeYeti is offline
FRC Addict
AKA: Matt Coffin
FRC #0662 (Rocky Mountain Robotics)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Colorado
Posts: 81
CodeYeti is an unknown quantity at this point
Re: Custom roboRIO HAL: Where to find C library for roboRIO fpga?

Quote:
Originally Posted by Thad House View Post
The header files here are what are provided to the WPILib. When compiling the libraries for that, they might use the C stuff, but I don't know. We only have access to what was found in that folder.
Alright, I guess I'll inquire of NI if they plan on providing something like these C bindings in future years as well. Thanks for your help, I'll be sure to report back with results if/when I get this working.

Any idea of a good way to contact them?

EDIT: Also: is there any documentation on the operation of the registers for the FPGA or is that all fairly secretive as well?

EDIT2: I'm thinking I could write a parser to parse the lvbitx file and dump out my necessary register definitions for zinc's ioreg macro. This way I can access libNiFpga directly instead of having to go through the roborio-specific frontend. I was able to get some rudimentary parsing done with a crappy python script.
__________________
Team 662 - Student/Programming VP/Driver - (2011-2013) - 43-31-2
Team 662 - Mentor - (2015-present) - 0-0-0

Last edited by CodeYeti : 04-08-2015 at 00:49. Reason: Add EDIT2 line
 


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 08:50.

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