Go to Post Sweeeetttt.....Thats all that needs to be said. :D - george56 [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-11-2010, 07:52
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,748
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: Assembly On The cRIo

Quote:
So in theory I can, with the use of Vertigo or some other HDL, make the cRio "multi core". The FPGA can be split into seperate "modules" that can be used to do some pseudo parallel processing.
Pretty much any task the FPGA performs is true parallelism, not pseudo. In the FIRST usage, it generates PWMs, counts encoder transitions, accumulates gyro deltas, and performs all of its duties in parallel and independent of the PPC. Can you generate a core to have an additional full-fledged CPU? Yes, but that takes lots of gates, and this wouldn't be a cost-effective way to build a PS3.

Quote:
Might seem redundent since a small micro controller like the CMUs can handle images fine, the Cell Processor might be an over kill.
Image processing on a small micro is impressive when it works, but image processing has the ability to absorb as much processing as you can throw at it. For a good example, the PR2 from Willow Garage has numerous cameras in its head and others in its arms. It has 2 quad-core Xeon processors in each server, and two servers on the robot, each with 24GB of memory. With all that , you can see some pretty cool algorithms that enable it to do what a four or five year old child can do. I'm not knocking it, but just pointing out that image processing is in its infancy, and today, will easily consume as much CPU as you can throw at it.

If you decide to program a PS3, write fully auto for the robot, or any other project, I encourage you to focus on the follow through. Starting projects is fun, easy, and exposes you to new things, but finishing them shows true character.

Greg McKaskle
  #2   Spotlight this post!  
Unread 22-11-2010, 18:18
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 328
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: Assembly On The cRIo

If you're really interested in assembly on the cRIO, then any of the PPC "green" books on the 603e instruction sets would work. Even though the architecture has been expanding, the basics (including the instruction set) are the same. The WRS tools include gas (the GNU assembler) that can be used to assemble files into machine code.

Of course, if you open the host shell in Workbench (the button that looks like an "i" with an arrow pointing to it) you'll be able to interact with the cRIO in assembly. The commands "s, so, l, and b" all work at the assembly level. And, the GNU debugger is capable of showing mixed C/C++ and assembly. It can be really interesting to look at the C/C++ source and the assembly that was produced by the compiler.

However, I'd suggest that the GNU inline capability is likely all you'll need (if you even need that). The better investment of your time would be to look at the underlying O/S and its capabilities. VxWorks is a powerful O/S that's been used for hard real-time systems for over 20 years. You can do a lot to speed up your robots by taking advantage of the services that VxWorks provides.

HTH,

Mike
  #3   Spotlight this post!  
Unread 22-11-2010, 21:55
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Assembly On The cRIo

Thank you all of you.

I found what I need all online I LOVE MIT and Stanford for their lectures for free on iTunes. Who would have thought, a class on multicore programming with the PS3, and a Machine learning course in Stanford and a programming Paradigm course. Now I just need like extra 78 hours of my life just dedicated to watching those lectures and taking notes... Which I do not have.
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[OCCRA]: Assembly on the cortex Fireball9199 OCCRA Programming 3 04-10-2010 21:35
How do you run the pneumatics through the CRio w/o using the Jaguars and the Spikes brreadd Pneumatics 3 20-11-2009 15:35
Reimaging the cRio Issues there are no cRio devices on the subnet Stuart FRC Control System 2 25-02-2009 23:41
Assembly of the AndyMark gearbox in Pro/E? jholland Pro ENGINEER / Creo 6 09-01-2009 17:59
Importing assembly into an assembly... James Green Inventor 8 22-01-2004 22:17


All times are GMT -5. The time now is 13:31.

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