hardware

Determining failing sectors on portable flash memory

I'm trying to write a program that will detect signs of failure for portable flash memory devices (thumb drives, etc). I have seen tools in the past that are able to detect failing sectors and other kinds of trouble on conventional mechanical hard drives, but I fear that flash memory does not have the same kind of predictable low-level ...

VERILOG : Can we have an array of custom modules ??

Can we have an array of instances for a custom module. eg : we can have -> input [15:0] a; this creates a bus can we do same thing for custom modules -> DFF [15:0] d; where DFF = custom module . Here I intend to create 16 instances of the DFF module.. Thanks for any help in advance.... ...

In Blend 3 how do I design a user interface for external hardware running in real time?

How do I design a user interface for external hardware which is running in real time? Is this possible with Blend 3? I need to design a two way interface for a piece of external hardware and it would be great if I could twiddle it's knobs while designing as opposed to continually building, running, trying etc. The GUI is a lot more invo...

Is it possible to reprogram a keyboard?

I mean the real USB keyboard, not a software keyboard driver. I know that keybords differ, but in general is it easy/possible to reprogram / rewire it? Maybe there are models that are easier to do that? And yes, I can use soldering iron / hardware flash reprogrammer. ...

High scalability technology stack

I'm building a webservice that is going to be under ridiculous load (thousands to ten-thousands of queries per second). My normal stack of apache, PHP, memcache and some DB will be able to handle it with a nice load balancer infront and lots of machines, but I'm wondering if there are better solutions. The endpoint will be hit by a beac...

How to use PHP to control on or off of light and air conditioner?

Is it possible even to do this kind of things? EDIT Can someone provide a "hello world" demo to try out? ...

Why aren't Floating-Point Decimal numbers hardware accelerated like Floating-Point Binary numbers?

Is it worth it to implement it in hardware? If yes why? If not why not? Sorry I thought it is clear that I am talking about Decimal Rational Numbers! Ok something like decNumber++ for C++, decimal for .NET... Hope it is clear now :) ...

What's the difference/relationship between avr and Arduino?

I've been interested in hardware programming recently but not started yet. I did some searching working,and have a vague idea: Arduino is a combination of both chip and breadboard. avr is a single chip,and need to buy a breadboard to get started. Can someone ensure or deny this? ...

How to read an intermittent hard drive consistently?

I have a faulty hard drive that works intermittently. After cold booting, I can access it for about 30-60 seconds, then the hard drive fails. I'm willing to write a software to backup this drive to a new and bigger disk. I can develop it under GNU/Linux or Windows, I don't care. The problem is: I can only access the disk for some time, ...

Is there a way to trigger a hardware refresh (aka Device Manager) using .NET?

I don't mind if it's only possible in the latest version of Windows, but I am wondering if there is a way to trigger this using .NET: ...

Windows print screen with Mac Keyboard

Can anyone out there tell me how to do a screen capture in Windows with a Mac keyboard plugged in? I have my Mac keyboard and mighty mouse plugged into a KVM switch that controls both my MacbookPro and my WinXP desktop. I'm having a terrible time trying to do certain things that require those extra keys like insert and print screen. Even...

Hardware recognition in user space Linux

I want to be able to inspect my Linux machine hardware in C. How do I get the information that appear in dmesg in C ? For example, for keyboard the message is input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 I want to get in my program the label, AT Translated Set 2, and the path, /devices/platform/i8042...

What is the benifit of ATCA besides reliability?

We are a small team going to build a Video Manager System. It get videos from IP camera and store them on storage. It also distribute live video and video record on user demand. It's not a very complicated system but we are trying to make it support more than 500 IP camera. One of my colleague fervently suggest we should use ATCA ins...

Which easy programming language to use for parallel port programming under Linux?

My father would like to use Ubuntu for LPT programming (via a relay card). He is used to QBasic and PowerBasic but willing to learn a new (simple) language for his goals. What recommendations can you give me for this task? Python would be my favourite if the module pyParallel worked. If there are other modules available for Python, let...

Programmable stand alone Button (hardware+software)

I need to have a physical button that when pressed will be noticed by my program. There are many types of usb-buttons that are preprogrammed to open a website, shutdown the computer and so on. And I have seen some projects using buttons and serial port. But none of them "have it all", an easy description of how to put togheter the hardw...

Arm Board Bring Up

Can anybody tell me where I can find information related to How to Bringup any arm board? I am looking for an overview as I am novice in ARM related stuffs. Any link/document will do ...It will be gr8 help if i can look for a case-study any arm based board can be considered..I am looking for just a case study...simple in few steps?? ...

Ethernet - USB communication

I have a piece of hardware that sends USB data over ethernet (only the data stored in the package will be send). On a remote PC the data is recieved via ethernet. How can I send this data to the USB driver so it translates the data into commands applications can use? ...

Looking for Hardware that will easily interface with my .NET code.

I'm a .NET C# developer looking to do some hardware interfacing/programming. I just want something super simple to mess around with. I have done one of those basic stamp projects, but I want something with less electrical work. A self-contained piece of hardware would be fine. I'm not really looking to do embedded programming... but...

How to calculate computer speed

I have a high-speed ADC data capture/analysis program which performs poorly on older computers. This was discovered in beta testing in my customer's lab when one test engineer reported the application was hanging. It turns out that she had an old computer in her lab (single core P4), and the 'hang' was the computer taking a very long tim...

Tool for drawing timing diagrams

Recently as I am working with the hardware design group developing an ASIC. And I am drawing a lot of timing diagrams for which I am using Microsoft EXCEL to draw them, as it is easy to import to word document. But, things are getting more and more difficult with EXCEL. My question? How do you guys draw timing diagrams? Is there any eas...