Go to Post I'm a zit. - Andy Baker [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 28-10-2003, 20:25
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
Linux and the New R/C and Strange ideas...

I have seen this question asked before, but I have not seen a fair answer...

Since the new PIC is considerably powerful, is it feasible to port the Linux kernel to it, and if one were to start porting, where would one start?

I only ask because it seems like a fun thing to do, not because there is any rational reason I can think of to do something like this.

__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
  #2   Spotlight this post!  
Unread 28-10-2003, 20:45
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,604
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
While the new pic is fast compared to the BS2, it can't handle linux.

First of all, it's not a 32 (or greater) bit cpu. Second, it's still slower then a 386. 3rd, linux requires megabytes of ram, we get 1800 bytes.
  #3   Spotlight this post!  
Unread 28-10-2003, 20:59
Jeremy_Mc's Avatar
Jeremy_Mc Jeremy_Mc is offline
GitHubber
no team
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Orlando, FL
Posts: 496
Jeremy_Mc will become famous soon enoughJeremy_Mc will become famous soon enough
If you did some considerable mods to the controller, then yes you could possibly run a TINY TINY embedded Linux (like the one from Japan that's the most popular OS on Earth). It wouldn't be anything that would do anything special that you couldn't use the PIC programming for, but it would be novel. You'd need to add some external EPROM and a few other things. I don't see it being possible (because of the way the board is made) but if your team has an extra controller for some reason then it might be something you could try...?

The reason I say this is even possible is that these processors are based on the RISC architecture...but I'm not sure if 10MIPS is enough to handle even the teeny embedded Linux.
__________________
GitHub - Collaborate on code, documentation, etc. - http://github.com
  #4   Spotlight this post!  
Unread 28-10-2003, 21:13
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,604
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
I would assume that you are talking about ITRON (which was featured on slashdot on the 19th). It is not based on linux in any way.

There are RTOS that are designed for the pic. Here are two that came up in the first two pages in google: http://www.testech-elect.com/hitech/salvos.htm http://www.realogy.com/realtime.shtml

It would still take a lot of work to port the IFI stuff to one of those RTOS.
  #5   Spotlight this post!  
Unread 28-10-2003, 21:21
Jeremy_Mc's Avatar
Jeremy_Mc Jeremy_Mc is offline
GitHubber
no team
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Orlando, FL
Posts: 496
Jeremy_Mc will become famous soon enoughJeremy_Mc will become famous soon enough
Quote:
Originally posted by Joe Ross
I would assume that you are talking about ITRON (which was featured on slashdot on the 19th). It is not based on linux in any way.
Aye that's the one...could've sworn that it was Linux based. That's probably because if /. ever makes mention of an OS other than Windows it's usually Linux.

Quote:
Originally posted by Joe Ross
It would still take a lot of work to port the IFI stuff to one of those RTOS. [/b]
More work than you could probably accomplish before they release a new, more powerful controller
__________________
GitHub - Collaborate on code, documentation, etc. - http://github.com
  #6   Spotlight this post!  
Unread 28-10-2003, 22:16
xplod1236's Avatar
xplod1236 xplod1236 is offline
Registered User
None #0818 (Genesis '02)
Team Role: College Student
 
Join Date: Mar 2003
Location: Sterling Heights, MI
Posts: 12
xplod1236 will become famous soon enoughxplod1236 will become famous soon enough
Send a message via AIM to xplod1236
Lightbulb

Would it be possible to run 2 or 3 pics in parallel? That will split up the amount of data each needs to process, and it will double or triple the available ram.
  #7   Spotlight this post!  
Unread 28-10-2003, 22:56
Jeremy_Mc's Avatar
Jeremy_Mc Jeremy_Mc is offline
GitHubber
no team
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Orlando, FL
Posts: 496
Jeremy_Mc will become famous soon enoughJeremy_Mc will become famous soon enough
Quote:
Originally posted by xplod1236
Would it be possible to run 2 or 3 pics in parallel? That will split up the amount of data each needs to process, and it will double or triple the available ram.
I suppose this might be possible if you were using a specialized board, but it's highly unlikely you could get anything like this to work with the IFI boards...

I'm not sure why you'd want to do that. The PIC's support adding external EPROM which would be a much easier process that trying to find a way to make a PIC array...
__________________
GitHub - Collaborate on code, documentation, etc. - http://github.com
  #8   Spotlight this post!  
Unread 28-10-2003, 23:54
Jeremy Roberts's Avatar
Jeremy Roberts Jeremy Roberts is offline
Coach 4026
FRC #4026 (Global Dynamics)
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1997
Location: Atlanta, Georgia
Posts: 229
Jeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant futureJeremy Roberts has a brilliant future
Send a message via AIM to Jeremy Roberts
One other RTOS for the pic is http://www.ucos-ii.com/

It comes with full source code for the OS and a port for the PIC18F852. I agree with Joe that it would be quite an effort to get it working with the IFI code.
__________________
Jeremy Roberts
GeorgiaFIRST Planning Committee | Peachtree Regional
Georgia Tech RoboJackets FIRST Co-Founder
Engineer/Mentor 4026
Former teams: 132, 608, 832, 1002, 1848
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


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

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