Which Linux Microcontroller?
Author
Discussion

mystomachehurts

Original Poster:

11,669 posts

281 months

Wednesday 8th August 2007
quotequote all
Possiblilty of a contract to develop a 'black box'.

Requirements are still sketchy, but it is essentially an intelligent Ethernet router that will need a module adding to enable it to control a satellite modem and bring up a connection if the primary route goes down.

So, needs 3 Ethernet ports:
1 to Customer LAN.
2 to Primary Router
3 to Satellite Modem.

Needs to be configured via a web interface and also keep logs of switching the routes and provide these via the web interface.

Anybody got any suggestions for hardware and a development kit that we could try for a prototpye?

ETA: Possibility of sub-contracting this 3 month project if anyone is interested (it's a little out of our current skill set but not impossible for us)

Edited by mystomachehurts on Wednesday 8th August 17:34

Plotloss

67,280 posts

301 months

Wednesday 8th August 2007
quotequote all
I take it you're aware of www.linuxfordevices.com ?

mystomachehurts

Original Poster:

11,669 posts

281 months

Wednesday 8th August 2007
quotequote all
Plotloss said:
I take it you're aware of www.linuxfordevices.com ?
aye... found that place and got lost very quickly....

As said, it's a bit out of our experience, though I have programmed PICs etc, I'm a 4-5 years out of this arena, hence thought I'd give a shout on here t osee what people recommend.

dilbert

7,741 posts

262 months

Wednesday 8th August 2007
quotequote all
Sounds like you've got 3 months to get back in again! smile

It never ceases to amaze me the number of these contracts where the requirement is a bit sketchier than a charcoal line on an expensive drawing pad, but it has to be complete yesterday. Can anyone make money and a decent job of these things?

Wouldn't they be better off with a rackmount PC and a hub?


LivinLaVidaLotus

1,626 posts

232 months

Wednesday 8th August 2007
quotequote all
Check out www.pcengines.ch - they have nice boards and links to various OS designed for things like you're trying to do.

mystomachehurts

Original Poster:

11,669 posts

281 months

Wednesday 8th August 2007
quotequote all
dilbert said:
Sounds like you've got 3 months to get back in again! smile

It never ceases to amaze me the number of these contracts where the requirement is a bit sketchier than a charcoal line on an expensive drawing pad, but it has to be complete yesterday. Can anyone make money and a decent job of these things?

Wouldn't they be better off with a rackmount PC and a hub?
Unfortunately this needs to be colocated with the sat modem, so think IP45/oil rigs/ships etc.

I also think they missed a zero of their expected budget expenditure, but that's another story!

hab1966

1,126 posts

243 months

Wednesday 8th August 2007
quotequote all
You might want to take a look around the following -

www.digi.com
www.netburner.com

if you go to chip level. Otherwise i'd be looking at a PC/104 and multiple ethernet boards for the hardware.

Whats the target cost?

mystomachehurts

Original Poster:

11,669 posts

281 months

Wednesday 8th August 2007
quotequote all
Thanks
hab1966 said:
Whats the target cost?
rofl








wait for it......





































$100/unit
rofl

hab1966

1,126 posts

243 months

Wednesday 8th August 2007
quotequote all
Excellent, nearly as good as a project im currently scratching my head over - embedded datalogger with wireless lan connectivity. Initially client wanted £20 per unit, in an IP rated box.

How i wished i still worked for the govt. with limitless budgets!

dilbert

7,741 posts

262 months

Wednesday 8th August 2007
quotequote all
I'm not sure the govenment has projects that have limitless budgets.

It just seems like poor project management to me though. It's totally clear that whoever is defining the requirement hasn't put any thought into what they're asking for. I guess that's O.K. if you have access to the real dependency tree, and can work out if you're going to be in the deep and brown, even if they can't tell you.

Otherwise you're in the dark about what you're letting yourself in for. Could be a contract that balloons, or one that drags you through court. If they all last for three months you're going to hit a bad one sooner than if they last eighteen.

Something I noticed a while ago was that project timescales were generally getting shorter. Ten years ago people talked about eighteen month projects, these days you only hear about three month ones. There are exceptions I'm sure, but I wonder if there isa correlation between the overall success rate and the reduction in project timescales.

Personally I think that if you blatently pare down the project resources with the intent to maximise return on investment the product ends up being pap. What's worst is that there is increasing evidence that countries like China are learning this. Somehow we're fighting to produce the pap that China used to, and they're fighting to produce the worthwhile stuff that we used to.

Anyway, hope it works out for you. If it's any help, I think there is a PIC with onboard Ethernet hardware. http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2507&param=en027905  and they do a dev board for it. Looks like there is only a single channel available, but they also do an SPI ethernet controller so you could use three of them with virtually any microcontroller you wanted.

Edited by dilbert on Wednesday 8th August 23:14

mystomachehurts

Original Poster:

11,669 posts

281 months

Wednesday 8th August 2007
quotequote all
dilbert said:
I'm not sure the govenment has projects that have limitless budgets.

It just seems like poor project management to me though. It's totally clear that whoever is defining the requirement hasn't put any thought into what they're asking for. I guess that's O.K. if you have access to the real dependency tree, and can work out if you're going to be in the deep and brown, even if they can't tell you.

Otherwise you're in the dark about what you're letting yourself in for. Could be a contract that balloons, or one that drags you through court. If they all last for three months you're going to hit a bad one sooner than if they last eighteen.

Something I noticed a while ago was that project timescales were generally getting shorter. Ten years ago people talked about eighteen month projects, these days you only hear about three month ones. There are exceptions I'm sure, but I wonder if there isa correlation between the overall success rate and the reduction in project timescales.

Personally I think that if you blatently pare down the project resources with the intent to maximise return on investment the product ends up being pap. What's worst is that there is increasing evidence that countries like China are learning this. Somehow we're fighting to produce the pap that China used to, and they're fighting to produce the worthwhile stuff that we used to.
Indeedy... There is a lot more to it than what I've mentioned, but that is just adding to the cost. And even with COTS and Packaging there is a lot of other software development required. I fail to see how anyone could do it for the price they're offering.

Perhaps I could tell them how to do it, but there's no way I could resource it at their costings.

Worse still, they want to own all the IP, so even if I wrote the software I couldn't even license it on a per unit basis, which is a shame as I can see where they want to take this and there could be a lot of units shifted.

I'm tempted to call them tomorrow and enquire as to whether they accidently left a zero off the contract price!

LivinLaVidaLotus

1,626 posts

232 months

Thursday 9th August 2007
quotequote all
As a thought as well, you could try contacting STMicro - they make lots of embedded linux kit along with their own release of linux for it as well - www.stlinux.com - the distro and it should list somewhere what hardware it supports from them.

cyberface

12,214 posts

288 months

Thursday 9th August 2007
quotequote all
mystomachehurts said:
Worse still, they want to own all the IP, so even if I wrote the software I couldn't even license it on a per unit basis, which is a shame as I can see where they want to take this and there could be a lot of units shifted.
Cake and eat it huh?

Unless you know something they don't and can churn these devices out independently and resell, I can't see this leading anywhere other than over-budget, slippage and acrimony. The first 3 months could easily be eaten up just nailing the requirements down and getting legally signed off contracts, let alone starting bespoke hardware development.

hab1966

1,126 posts

243 months

Friday 24th August 2007
quotequote all
I'm wondering what the outcome of this was? I've been interviewing software engineers who are versed in ARM processors, RTOS and ethernet. It might be that we could be in a position to offer you a solution?

dilbert

7,741 posts

262 months

Friday 24th August 2007
quotequote all
I asked exactly the same question on another thread.
http://www.pistonheads.com/gassing/topic.asp?h=0&a...

Zad

13,026 posts

267 months

Saturday 25th August 2007
quotequote all
On time. On spec. On budget. Pick any 2. That's engineering...

The crucial factor would probable be what you have experience in. Personally I would go for a modular system based around one of the ARM7 cores. PICs just won't have enough horsepower or resources to deal with this.

If you really want to get the hardware sorted quickly and at the same time give the software people a heart attack, just hang some RAM, Flash and 3 of these http://microcontrollershop.com/product_info.php?cP... off an FPGA. FPGAs are incredibly cheap now and enable you to decide on what processor and hardware architecture you want at a later date (the FPGA effectively houses your chosen CPU). They also have the potential to allow you to do in-depth remote hardware diagnostics. The Xilinx FPGA dev kits can be rather spiffy (at a rather spiffy price unfortunately). If nobody there understands VHDL/Verilog then it rules that option out.

I'm an electronics developer (mostly hardware though) and the thought of getting that thing to fly inside 3 months would make me a gibbering wreck.




spants

1,090 posts

258 months

Saturday 25th August 2007
quotequote all
have a look at www.dd-wrt.com - load the base code on a linksys/buffalo router or even magicbox http://www.magicbox.pl/en/index.php and tinker away.... lots of help in the forums

regards
Tony

mystomachehurts

Original Poster:

11,669 posts

281 months

Friday 7th September 2007
quotequote all
Ahhh Hahhhhh.... smell my cheese!

This has raised it's delicious head again, mainly I think because I sent an email back to procurement indicating that I believed their costing was a bit out. *snigger*

Anyhoo... this time we've been asked to submit a solution based upon our cosings *yum yum*

So, I'm still stuck for a platform.

In hindsight I think the 3 Ethernet connections was overkill, in fact there appears to be a scenario where a single muliti-homed Ethernet port would work, but for safety's sake we'll go for two!

I'm looking at OpenWRT etc, in fact, if LinkSys were still delivering V3/4 of their WRTs I reckon we could could run the whole app on that and add lots of value by providing wireles access, NAT, QoS, Firewalling, oooo so many built in goodies!

BUT, I'm still stuck for a platform. It needs to be sub £50, I don't mind ripping it out of a box and repackaging it to IP-45, but it's got to be the cheapest Linux box around that we can hack and resell the box & formware.

I've looked at some here on this thread, but I need to get the cost/unit right down.

Any more sugestions?

biggrin

Zad

13,026 posts

267 months

Friday 7th September 2007
quotequote all
How many units a year are you looking at moving?

dilbert

7,741 posts

262 months

Friday 7th September 2007
quotequote all
mystomachehurts said:
Ahhh Hahhhhh.... smell my cheese!
Nice!
smile

What's their tradeoff between NRE and unit cost?

Edited by dilbert on Friday 7th September 20:28