Senselock EliteIV v2.x usb dongle dump or emulate? - usb

OK, I got a Senselock EliteIV v.2.x USB Dongle and I want to emulate the hardware so I can still run the LaserCut 5.3 Software without it ?
Here is the link from others which similar with mine :
http://binarydb.com/driver/Senselock-EliteIV-v2.x-24981.html
Senselock Elite IV v2.x.
Beijing Senselock Corp.
VID - 0471
REV - 0303
PID - 485d
How to dump its firmware image and make the virtual USB Port as Smart Card reader ?
PS :
2 years ago, another guy also asking the same question as me at :
http://www.reteam.org/board/showthread.php?t=4360
I already read the following post at :
Can i crack usb security dongle?
Programmable USB dongles
And I'm running my USB Dongle at Windows XP and Windows 7 64bit.

Related

Using WebUSB for a legacy USB device

I have an old SONY Minidisc player that has USB output for NetMD interfacing with a PC. I am searching for someone who can tell me how to use WebUSB on my Mac to access the files. The Mac does NOT recognize the device connected via USB.

STM32 USB connection problem on windows 7

I have a board based on stm32f103cb with a USB connection in CDC device mode to connect with PC.
On windows 10 this board is recognized as a virtual com port but in windows 7 it is not.
I used Keil IDE and CMSIS library to configure the project.
One pin is defined as output to connect USB D+ pin via a resistor to 3.3V.
I installed STM32 USB Virtual COM port driver Win7 but anyway it is not working.
Windows 7 throws error code 29.
Any ideas or info very much appreciated.

STM32373c Eval board - USB CDC does not enumerate

I have a STM32373c-eval board and just getting started.
I have installed Truestudio, CubeMX and ST flash utility on my ubuntu 16.04 cause I don't have access to Keil or a Windows PC.
Using CubeMX I generated a code for LED toggle and it worked fine.
Now I did the same for USB CDC - checked the Device(FS), RCC clock at High Speed (Crystal) and
under Middlewares I have set Communication Device Class (COM Port) for Class For FS IP and USB clock is at 48Mhz.
I did no modifications in the generated code just flashed it and connected the kit to my Ubuntu alas I don't see the enumeration.
I also checked for any jumper settings for USB but there ain't any.
Can any one help me out in this regard?
Thanks.

Is it possible to emulate windows 10 machine as a usb slave through type-c connector?

I am wondering if it is possible to emulate a windows 10 pc as a usb slave (client device) through a type-c connector when connecting to another PC/MAC(or even a cell phone), to be a usb storage device or HID etc.
You would have to have:
PC that has USB device mode controller
Windows 10 device mode driver - this resource, should be good starting point for looking into this further.

sending and receiving frames over RS485 with Raspberry Pi

My task at work is to use a Raspberry Pi 3 to controll a turntable.
The turntable has an internal RS485 serial port which can be accessed through a build in FTDI USB converter (USB-RS485-WE-1800-BT).
I am using Raspbian Jessie Lite on the Pi and have not jet decided, what programming language to use.
First of all it seems to me, the FTDI converter is properly installed. Please correct me if I am wrong:
pi#turntable_ctl1:~ $ dmesg | grep FTDI
[ 2.236219] usb 1-1.3: Manufacturer: FTDI
[ 5.085380] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 5.086330] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
[ 5.087760] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0
Also if I run minicom -D /dev/ttyUSB0 (there turn hardware flow control off and software flow controll on and set the baudrate to 19200 8N1) the red LED inside the USB plug of the converter is blinking with every of my keystrokes.
Unfortunately there is no complete documentaion for the turntable, because it is custom made for us by a company in france. The guys there have provided me with this graphic (half in english/half in french) along with the following information:
"When you send us a PC frame the board respond with a MT frame."
As far as I understand this, to get the table turning I now have to open an RS485 connection on the /dev/ttyUSB0 and then do something like:
sendChar(P)
sendChar(C)
sendChar(1)
sendChar(100) // for example
sendChar(1) // for example
But I have no idea how to do that in any programming language. And even worse, I was not able to find any sample of code that does this, allthough I expected this to be a rather standard task.
So if anyone could point me in the right direction or tell me where my train of thought went off the rail, I would be very grateful!
Thanks for your time!
Mark
If this may concern anyone other than me, here is my solution:
After some more searching and a lot of hints from friends I found this library that offers (among other helpfull tools for Raspberry Pi) a great simple toolset for serial communication on the Raspberry Pi.
WiringPi - Serial Library
Gordon has all the documentation and Tutorials on his website you will need.
Thanks to Gordon!
Mark