|
Thanks for answer
I am now on the msdn website and I am looking for it but I get confused if there any book give it to me
thanks...
|
|
|
|
|
Seriously? You do know that Amazon has a search function, right? Try "Windows Driver Development".
|
|
|
|
|
|
I am currently using a dsPIC33FJ128MC802 [^] on a DM300027[^] (starter) board to read data from the ADAS1000[^] evaluation board (for ECG) via the J4 SPI pins. I have the SPI pins (SCLK, MOSI, MISO and CS) of both boards connected correctly according to the ADAS1k documentation.
I am having trouble getting the two (ADAS1k and dsPIC) to talk to each other. I set up the uProc's SPI and then tried to configure the ADAS1k by sending based on an example in the ADAS1000 documentation.
These commands should configure the ADAS1k to send out a 150Hz Test Tone Sine Wave on each channel.
The MOSI is enveloped by a CS, and it is sent as 4 bytes, for example 0x8500000B is sent as 0x85 followe[]d by 0x00, 0x00, 0x0B.
To read data on the MISO, the SPI sends out four 0x00 bytes to generate clock signals for the MISO.
Writing 0x55555555 followed by 0xAAAAAAAA shows a signal on the MISO, which looks like a 0x0050. I haven't been able to get signals on MISO in other cases. I tried writing to a register and reading it back after a few ms delay, but nothing showed up on the MISO.
I've captured the scope of the SPI (MOSI, SCLK and CS) signals on both boards and they seem to be fine. The MOSI signal seems as expected. I'm still unable to see anything on MISO though.
Any suggestions on what else I can do to troubleshoot this issue? Thank you.
|
|
|
|
|
Based on sorting out other busses e.g. I2C, CAN I'd recommend:
Build in, or use, some logging facility to record what's happening on each chip, even if its only a count or letter stored to show where you're code is going.
Use a USB to SPI converter or something you know works to prove each work individually - it's much easier when one end is a 'known' rather than with and 'unknown' at each end of the wire.
Read the manuals on the chips and on the SPI bus - I know it's obvious, but chip manuals tend to focus on how the chip works - not on the bus. Get the manual on the bus protocol.
Have someone else look at it and show them, OK perhaps you wouldn't be posting here if you could do that but it really helps. I saw someone debug for days without turning power on to a stepper motor he was trying to step.
Try and scope the interaction signals, and work through them, after all there should show exactly what's happening: which chip is not responding or signalling as expected.
Don't handle just the happy path, handle the error cases as well - e.g. set timeouts and set sone code to log if the time out occurs even if its just to log what the error was.
|
|
|
|
|
I get confused between these two definitions. What is the difference between architecture and micro-architecture?
|
|
|
|
|
micro-architecture is smaller.
Try making use of Google for questions like this. There is a wealth of information available on the internet if you look for it.
Veni, vidi, abiit domum
|
|
|
|
|
I took out my 5 years old laptop to re-install and give it to my daughter.
As she's working with Windows in the school I intend to install Windows 7 (Professional).
As the laptop has 4 GB memory I'm not sure what would be better, install 32 bit and loose some memory range or install 64 bit and loose - maybe - some performance?
Any suggestions?
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).
|
|
|
|
|
You don't have a choice. If the hardware is 64 bit then install the 64 bit version, if it is 32 bit then install the 32 bit version.
Veni, vidi, abiit domum
|
|
|
|
|
Of curse it's 64 bit - otherwise i really had no choice...
But as I see the fact you have 64 bit doesn't mean to use all them up
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).
|
|
|
|
|
Richard MacCutchan wrote: You don't have a choice.
Not quite - it's perfectly possible to install a 32-bit OS on 64-bit hardware. It's the other way round that's problematic!
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I know, I was over simplifying.
Veni, vidi, abiit domum
|
|
|
|
|
If you only have 4GB of memory, I'd go with 32bit... most programs out there are still only 32bit binaries anyway.
|
|
|
|
|
You didn't said about the processor. still based on your question,
Win 7 (Any version except Basic) x32 bit can not use more then 3.25 GB of RAM (even if you have 16 GB RAM)
while Win7 x64 bit can use any amount of RAM, So as you have 4GB and if you want to use full of it you have to load Windows 7 x64bit - or any O/S x64bit it may Vista/Win8 Anything.
Performance : x64bit will support almost every application that developed for a x32bit machine. And there will be no performance issue. I m using x64bit in my Home PC (that have 8GB) and in my Laptop (4GB)
Only drivers will not support x64bit if they made for x32bit.
Here is a link where you can get all Laptop and other components drivers in one page.
|
|
|
|
|
I bought a DELL PC and replaced the Win 7 Home Edition OS with Windows Server 2008 R2.
Now, with the exception of the keyboard and mouse, none of the USB ports responde when I plug something in.
Anyone know what could cause this?
Thanks
If it's not broken, fix it until it is
|
|
|
|
|
Kevin Marois wrote: Anyone know what could cause this?
WIndows?
Take a look in the BIOS, make sure they are enabled for more than low speed devices, enable full at least and preferably high.
The hosts might have installed badly, check in device manager and update the drivers as needed.
After that it should be OK,, unless your devices are all dead.
|
|
|
|
|
maybe usb is off to setup
please check it
|
|
|
|
|
Are those 3.0 USB? Some USB 3.0 do not work if drivers not installed.
|
|
|
|
|
Hi, I'm trying to interface a gap sensor with pic micro-controller but I'm not winning. I wanna design a barcode reader. Can anyone help me with the circuit that I can use to interface the gap sensor with a PIC16F series please.
|
|
|
|
|
I've always wondered if it was possible to take an old 6502 or 65816 microprocessor, which run in the 1-3 MHz range, and get it to run in the GHz range. I know I can run an emulator of an Apple II machine at high speed, but has anyone ever done it with the real hardware?
Something about a blazing fast computer with a simplified instruction set (only 256 opcodes!) that really appeals to me!
|
|
|
|
|
Isnt the speed a CPu can run at governed by its size so that the electrical state cant vary across the CPU for a given clock speed?
|
|
|
|
|
Simplistically speaking, so long as you can get rid of the heat you're going to generate by running at higher clock speeds, yes, it's possible, but only to a certain limit. Internal timing structures will eventually prohibit you from going faster.
But, you have a bigger problem. The supporting chipset for the CPU will not be able to keep up with your higher clock speeds and you'll run into all kinds of timing problems there too, probably much sooner than you run into problems with the CPU alone. The stuff simply wasn't designed to go that fast.
Oh, I wouldn't be surprised if you needed a liquid nitrogen cooler to get rid of the heat you'll generate by clocking a 6502 into the GHz range.
Running an emulator is VASTLY different from running actual hardware.
|
|
|
|
|
These CPUs are heavily CISC in nature, and originally had been implemented (supposedly) as multi-cycle FSMs. In order to get the modern high clock rates and high IPCs, such CPUs have to be reimplemented as RISC, superscalar pipelines, adding a complex instruction decoder (as in x86) to get away from CISC restrictions. It does not make much sense to do so - much easier to synthesise a simple MIPS core of a comparable complexity.
|
|
|
|
|
how to get the manufacturer,model and serial number details of windows server using SNMP
|
|
|
|
|
AGAIN, considering that Windows Server has it's SNMP clients turned OFF by default, and NOBODY turns them on, you can't.
|
|
|
|