Questions tagged [hardware]

Programming questions related to the physical components of a computer. Please specify the model of your hardware in your question.

Computer hardware is the collection of physical elements that constitutes a computer system. Computer hardware refers to the physical parts or components of a computer such as the monitor, mouse, keyboard, computer data storage, hard drive disk (HDD), system unit (graphic cards, sound cards, memory, motherboard and chips), etc. all of which are physical objects that can be touched. Source: Wikipedia

Hardware by itself is very broad and there are many tags for specific hardware version which may be more appropriate. Eg, flash-memory, etc.

Tags related to implementing hardware,

  • - a language to create digital logic hardware.
  • - another language to create digital logic hardware.
  • - generic tag for digital logic programming languages.
  • - tag for software that simulates hardware (especially CPUS).
2966 questions
1
vote
1 answer

timing mechanisms in computer systems

I've read this link on Measure time in Linux - getrusage vs clock_gettime vs clock vs gettimeofday? which provides a great breakdown of timing functions available in C I'm very confused, however, to how the different notions of "time" are maintained…
Joney
  • 309
  • 1
  • 2
  • 8
1
vote
2 answers

iOS Share Extension opens on simulator iPad; does not open on hardware iPad running iOS 8

I'm currently making a share extension using Xcode 6.5. I was previously testing with only simulators and everything was working great. Today I tried running on a hardware iPad running iOS 8 and discovered my share extension does not even open. I am…
arcticmatt
  • 1,956
  • 1
  • 19
  • 36
1
vote
1 answer

VHDL: Signal cannot be synthersized, bad synchronous description

I am trying to implement something like an SPI interface in VHDL, to use with an FPGA. My understanding of VHDL is limited, as I have only been using it for 2 days, and I think I haven't understood how the flow of data is controlled using clock…
FreelanceConsultant
  • 13,167
  • 27
  • 115
  • 225
1
vote
1 answer

How a 10GB movie running in limited Primary memory?

As far as I know, when we run some program, the process or files stored in secondary memory (Hard Disk) comes to primary memory (RAM) and then only program runs. My question is if, a movie file is around 10 GB and I have a RAM of 1 GB then, we can…
1
vote
2 answers

Can I Configure GPIO pins after disabling high-impedance mode?

I have the following sample program for the MSP430 and I wish to rearrange it so that the line PM5CTL0 &= ~LOCKLPM5; comes before P2SEL1 |= BIT0 | BIT1;. Would there be a problem if I did so? I. e. would there be a problem if I configure the GPIO…
necromancer
  • 23,916
  • 22
  • 68
  • 115
1
vote
1 answer

Software setup for hardware enabled application

I have a Raspberry PI that is tightly coupled with a device that I want to control. The desired setup I want to have would look something like this: The physical device with interactive hardware controls on the device (speaker, mic, buttons) A…
Besi
  • 22,579
  • 24
  • 131
  • 223
1
vote
2 answers

How to simulate PCIe to debug my fpga endpoint

Im working on an fpga controller connected through pcie. The only way i can debug the hardware is using chipscope. So i execute commands through my driver and check out the signals from the fpga. The problem is that it takes a lot of time to build…
yonigo
  • 987
  • 1
  • 15
  • 30
1
vote
1 answer

Searching for a drive bay LED/LCD with buttons hardware and API

My colleagues and I have got an interesting little prototype hardware/software project that would follow these loose requirements/specs/implementation details: Hardware: Take simple user input from a couple of buttons, maybe a dial Give some…
Stu Thompson
  • 38,370
  • 19
  • 110
  • 156
1
vote
1 answer

FTDI Android - create new activity

This code is able to make the android device as a USB host for the hardware model. It also can read data from the hardware correctly in Main Activity. However, as soon as I moved it to another activity, everything still works but the data reading is…
1
vote
2 answers

Use of a manufacturer's DLL to control a stepper controller via USB using C++

INTRODUCTION I'm reteaching myself C++ after having taken a college class. I recently acquired an Arcus Performax PMX-4EX-SA-TB9 stepper motor controller that has a USB connection which I plan to use. The company provides software to control the…
user2701295
  • 53
  • 1
  • 5
1
vote
1 answer

Is there a way to test a program's hardware requirements without just using it on a bunch of different computers?

Is there a program out there or some other thing that will run some kind of virtualization for me or something, to test the hardware minimums for a program I write? Something I can do locally without install testing on, say, a 33 mhz 64kb ram IBM or…
Matt
  • 11
  • 1
1
vote
1 answer

Flushing writes in buffer of Memory Controller to DDR device

At some point in my code, I need to push the writes in my code all the way to the DIMM or DDR device. My requirement is to ensure the write reaches the row,ban,column of the DDR device on the DIMM. I need to read what I've written to the main…
hit.at.ro
  • 306
  • 3
  • 11
1
vote
1 answer

Generating A Consistent ID For A Given Computer In Flex/Air

In C++ I Can Read The MAC Address Of The NIC and Use It To Generate A Unique Identifier For Each Computer That Interacts With My Web Service. Even If The User Deletes Their Cookies, And Temporary Internet Files, Reformats Their HardDrive And…
Joshua
  • 6,643
  • 15
  • 55
  • 76
1
vote
2 answers

Is Hardware Breakpoint able to write memory?

I have this ASM Code which i would like to do a Hardware breakpoint on it, however I'm wonder if I could use Hardware Breakpoint to write the memory. Can anyone advice? [ASM] 41A8BA - 68 12345678 [PUSH 78563412] Is there anyway I can write it on…
Wei Chen
  • 35
  • 5
1
vote
1 answer

what does 3'bzzz stands for in verilog?

I have the following code but I don’t know what the 3'bzzz stands for: `timescale 1ns / 1ps module reg_tercer_estado(entrada,hab,salida); input [2:0] entrada; input hab; output [2:0] salida; reg [2:0] auxsalida; always @(entrada) begin case…
user1884389
1 2 3
99
100