WDK, winusb, installing usb drivers for all ports [closed] - winusb

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Every time I insert my USB device in a new port, the OS keep asking me to provide a driver and this is quite annoying since this is the same device. I read some similar posts over internet but I don't understands quite sure how my device should present itself to Windows XP and get the driver automatically after it has installed once.
Perhaps this is about serial number in descriptor (which in my case is missing since I've read this needs to be absolutely unique and this falls in another problem)?

This is well known problem with Windows XP, which does not seem to have good solution (it is especially annoying if you use unsigned drivers).
However, Windows XP should only ask once per USB port - plugging in second time to the same USB port does not trigger driver reinstall sequence.
This issue is fixed in Windows 7 (provided you have signed drivers for your hardware).

Related

Monitoring CANBus into PC - RS232 - Touch Encoder [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I purchased this device for a hobby project
http://www.grayhill.com/touch-encoder/
It outputs as CANBus (via DB9 connector). I'm not very savvy with these types of serials, but I just want to be able to just sniff/monitor the data packets from this device into my PC.
I bought myself a PCI Serial COM (RS232), and hooked it all up, and downloaded multiple monitoring software, however no data appears to be coming from the Bus.
Again, I'm not too savvy with this, so I don't know if I have configuration correct? Such as Baud rate, Data bits, Parity, etc.
The software I'm using is 'Device Monitoring Studio 8.30' (trial version). The software can see my PCI Card with the Ports; Monitoring does not return anything.
Am I missing something here? My understanding is that CANBus works with RS232.
Thanks
CAN bus and RS232 don't understand each other at the physical level, they use different voltages. And they are not compatible at the higher network layers either.
You need to get yourself a CAN to RS232 converter.
There are some options but all I know of are expensive +100$ US.
I would rather go for one of these which you can plug directly on a USB port on your computer.
Note that I'm not affiliated with the developers and I have not tested this product myself. You should do your own research to make sure you're buying the product that fits your needs best.
You seem to be on Windows so you might want to check cangaroo.

How to find distance of mobile phone from wifi router it is connected? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I need to findout the distance between Wifi routers and devices connected in that Wifi. The Wifi is an open wifi, so there can be n connection.
The distance have to be tracked in wifi router not the device. Is it possible to do the same? If so then how?
Can we write a program and set the custom router for the same, if so, how can we achieve it?
Thanks,
Nikhil
If the router is linux-based, you may for example develop a simple C application periodically fetching iw dev <your_wlan_interface> station dump command output. this command lists all devices currently connected to "your_wlan_interface" and contains signal strength information as well.
Converting signal strength to the distance is another task to solve and in my opinion it is quite clearly described in the link provided

Communication between 2 GSM 900A modems [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am supposed to work on project which involves communication between 2 GSM 900A modems. The main idea is to acquire data in remote location through Arduino (Arduino Mega in my case) and transmitting the data to the Server which will be my laptop, in which that communication part i use 2 GSM 900A modems. I am new to GSM modems so could you please help me with your ideas for establishing communication between 2 modems..
I posted a blog on this topic which is given below. I think it may be helpful for you. link:http://www.jellyfishtechnologies.com/category/embedded/
GSM modems do not follow a common standard, although the command set does tend to be a superset of Hayes AT. You will need to refer to documentation and development kits for your particular devices.

How to determine the software used by the port 80 in windows? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How to find the software used by the port 80 in windows?
If you are looking for something as simple as knowing if a program is using a particular port on your computer, you can use the command netstat -b -a on Windows. If netstat is not enough, use TCPView
You may need some network analysis tools. It is fairly common to use a tool (or combination of tools) that perform port scanning as well as packet sniffing. By analyzing the packets, you can determine what is being communicated.
EDIT: Possible duplicates:
How can you find out which process is listening on a port on Windows?
What port is a given program using?

Does anyone have any sample code or suggestions to help me to interface my 100 pin uc3a1512to a device via RS-485? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am attempting to connect and control a device which only accepts RS-485 input. I wish to communicate to this device via my existing UC3A1512. Does anyone have any existing source code or examples that may help me to create this interface?
I need a method of outputting data via RS-485 format.
I do not need to establish round trip communication, I simply need the ability to send commands to the device.
I have looked at Atmel's website and also on AVRFreaks and I see nothing of value to my project.
Please review page 10 of this Adobe PDF from Lin Engineering to understand more about the device I need to communicate with.
RS-485 is just the electrical specification for a differential serial bus. There are many different data formats that can be used. To connect RS-485 to a microcontroller you need some hardware driver IC, there are plenty to choose from (a quick search at Farnell found 39).
The low level serial format may be 9600 8N1, if page 13 of the driver manual is any indication.
The higher level format (how to send commands to the motor) is not specified in the document, and I didn't find it elsewhere.
In the UC3A1512 you need to configure one of the USARTs to RS-485 operation, see Chapter 26 of the data sheet. Once the interface is configured the operation may be similar to RS-232, if a simple command format is used.
RS485 is a simple symmetrical serial bus. The data that you need to send over that serial link must be specified in the reference data sheet for your UC3A1512 device.
To create and debug your application (probably on an emulator it is useful that you can send it from your host PC before you try it from the embedded controller. This is easy, as RS485 allows multiple connections in contrast to RS232 which is point to point.
RS485 can be converted to regular serial RS232.
If your computer has no RS232 port anymore (most don't) you can get an USB to RS232 converter.
So far the most relevant answers have come from my question posted on electronics.stackexchange.com
Had I known this existed prior to posting my question on Stack I would have limited my question to Electronics & Robotics ONLY. As I had already asked the question and receive answers, I have opted to keep both questions open.
Thanks for your responses!

Resources