If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
Well, this all makes me happy that I didn't use XP embedded.
I saw a LeCroy scope that ran Windows 2000 and decided to start asking for a login user name and password! But it didn't have a keyboard to enter them, even if anybody in the lab had known what they were.
Our instruments have the registry, indeed all of the OS files, read-only. No matter how bad you screw them up, you can always get back to a known good state by cycling the power.
Registered Member #65
Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
@2Spoons Usually, modern exploits use a multi-vector approach. It is quite common to have reinfection routines given that windows update is usually a trusted process by most firewalls, and payloads will evolve over time to better suit the targeted machine.
@Patrick You may find your "EE degree" will get you pigeonholed into a maintenance career if you are not careful.
@Steve Unfortunately, a "read only partition" is usually just a suggestion to the hardware. Typically write protected storage is the only way to ensure a power cycle will purge the problem code. Yet in true exotic fashion, some modern boards are vulnerable to having their security-module or GPU re-purposed to bypass the storage devices and hide from the OS.
The new secure boot model Microsoft has suggested is actually very old (1990s IBM), and has some inherent design problems that could make secure recovery impossible. The EFF group is actually making a very important observation about open hardware.
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
Carbon_Rod: The OS is stored as an image in flash ROM that isn't even accessible to the OS, as it's not mounted and not in a format the OS has a filesystem driver for anyway. When you turn the power on, the bootloader copies it into RAM and it executes from there.
It needs to do that anyway because the flash isn't fast enough to run code out of, but it makes it pretty bombproof as a side effect. Every time you turn the thing on you get a factory fresh OS "install".
You can't be careful enough where Microsoft junk is concerned!
Registered Member #72
Joined: Thu Feb 09 2006, 08:29AM
Location: UK St. Albans
Posts: 1659
The time to market logic behind having a standard operating system on an instrument, at least on a high-end complex instrument, is inescapable. Why that OS has to be windows rather than Linux is a different argument. Just as you wouldn't write in assembly code but compiler, and wouldn't place FPGA gates by hand but would use VHDL (or something higher these days), you wouldn't write your own OS, comms stack, etc etc for an instrument.
We are wall to wall windows equipped in the labs, and we are just introducing several new embedded windows based products. What it means is I can run a hardware module on my bench with exactly the same drivers that are in the instrument, and then write my own debug code to use the same API, maybe from Matlab or Python, whichever is more approrpiate. When an instrument plays up, I can run debug tools on it from my stick. If I'm home and get a call, I can remote desktop into any instrument anywhere in the world. When I'm working on the instrument, I can save results to a printer, or a company NAS box.
There's an argument that says you get these extra facilities for "free" when you put a standasrd OS on the customer box. That's true, as long as you define free as ff'ing expensive, restrictive, flaky and slow. We spend a lot of our time trying to work around the limitations of the OS. Yes sir, you do have to wait three minutes before it's ready, and that's just the easy one to explain.
Why windoze rather than 'nux? I guess that just as nobody got fired for buying IBM, an IT manager that undertook to maintain a linux facility would be taking a huge gamble. If a new windows version causes problems, he can blame microshaft. If a new linux distro causes problems, his reputation is on the line, he has got to fix it. Arguments about which OS is more likely to drop him in the brown stuff are moot, we are talking career insurance here.
Windows on isntruments is a logical evil that was inevitable, like derivative financial products.
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
When we were designing our instrument platform, we spent a good deal of time arguing over whether we should use Linux or WinCE. What did it in the end was, the Linux distro for the single board computer module we intended to use had no window manager, it was console only. The vendor waved their hands and said it would be easy to bolt on the window manager from the Angstrom project or whatever. I never believe a salesman who tells me that, if it was easy why didn't they do it themselves?
The situation was similar for other vendors of SBCs based on the XScale chip that we'd identified as the best match for our project.
CE on the other hand has a graphics and windowing API pretty much identical to desktop Windows. And when you plug it into a desktop Windows PC it pops up as "My Mobile Device", which is very useful. You can drag and drop the results files to your desktop, or if you're a developer, run Visual Studio and debug the code on the instrument. (I did provide another way to get results out of the thing, in case we ever come across a user who doesn't have Windows.)
You do have to pay a licence fee, but it's £4 per unit.
Registered Member #65
Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
@Steve Yep, having to write the GUI to support cross platform GTK/Qt code can be a task. However, I typically use the VNC style loopback protocol to dump a full JPG of the "headless" virtual desktop session, rescale it to match the output dimensions, and drop it strait into the screen's buffer. It took about 2 weeks to implement, and works on just about any SPI based screen (no kernel driver updates needed).
The "pushed" refresh rates are good enough to play Doom... I would like to see a GPL version of the adapter daemon for LCD/LED/E-Ink at some point.
Sales people usually rip-off whatever they see as a market, and generally never show anything useful.
Registered Member #96
Joined: Thu Feb 09 2006, 05:37PM
Location: CI, Earth
Posts: 4061
Having wasted many an hour on the monstrosity known as Windows, I can sympathize.
Microsoft may be the world leaders in desktop software, but they really need to work on customer support. Crashing the OS because someone didn't check for a buffer overflow is IMHO unacceptable.
Registered Member #2901
Joined: Thu Jun 03 2010, 01:25PM
Location:
Posts: 837
Win Ce is a defensible choice, Windows proper? No way, you're just introducing way too many additional failure modes. For what? Slightly easier development? These are boutique items, you don't go cheap on components ... don't go cheap on development either. Management might forgive you, but as a customer I'd curse you after the first blue screen/virus/etc.
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.