DM41X libusb problem

Discussion around the SwissMicros DM41X calculator
Post Reply
HP-2021
Posts: 3
Joined: Sat Mar 13, 2021 8:15 pm

DM41X libusb problem

Post by HP-2021 »

I studied all topics here but did not found the right answer to my problem.
My calculator does not connect to my pc (win10).
The driver cannot be installed.
The usb sign on my calculator appears when connecting to the pc via usb cable.
On the pc it is invisible. Ok
I Set the calculator with setup,System,bootloader in connecting Status.
Next i Start inf.wizard.exe to create the libusb Installation.
The program should now show STM32 BOOTLOADER in the list.
But it is not shown.
I tried it with another win10 pc, but the same.
Wo can help me?
Thank you.
Michael
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: DM41X libusb problem

Post by grsbanks »

Hi there.

Two things.

Firstly, there is no need to install the libusb drivers to use the DM41X (or DM42 with firmware later than V3.5) with a PC. The only thing that this was needed for was to update the firmware, and that is now done by simply copying the relevant binary to the root directory of the calculator's FAT drive. No need to engage bootloader mode or anything like that.

Secondly, are you sure of your cable? Don't forget that many microUSB cables supplied with devices that only draw power from a USB port (and don't transfer data) are power-only USB cables that don't have the TX- and TX+ lines in them. If your cable is one of these then it will never work.

If you are sure that it is indeed a data-carrying cable then this topic might help (the DM41X and DM42 are identical from a hardware perspective): viewtopic.php?f=18&t=290
There are only 10 kinds of people in the world: those who understand binary and those who do not.
User avatar
Over_score
Posts: 160
Joined: Fri May 05, 2017 9:37 pm
Location: France

Re: DM41X libusb problem

Post by Over_score »

HP-2021 wrote:
Sun Mar 14, 2021 10:43 am
The usb sign on my calculator appears when connecting to the pc via usb cable.
AFAIK the USB sign on the calculator indicates only USB power, at least on DM42.
DM42 SN00284 & SN03835 running C47, HP34C, HP41CV, HP42S, HP35s, WP34S, HP Prime
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: DM41X libusb problem

Post by grsbanks »

Over_score wrote:
Sun Mar 14, 2021 10:51 am
AFAIK the USB sign on the calculator indicates only USB power, at least on DM42.
This is correct.
There are only 10 kinds of people in the world: those who understand binary and those who do not.
HP-2021
Posts: 3
Joined: Sat Mar 13, 2021 8:15 pm

Re: DM41X libusb problem

Post by HP-2021 »

Secondly, are you sure of your cable? Don't forget that many microUSB cables supplied with devices that only draw power from a USB port (and don't transfer data) are power-only USB cables that don't have the TX- and TX+ lines in them. If your cable is one of these then it will never work.
Thank you so much for your fast replay and help.
But how do i know that the usb cable is the right data cable and not only a charger cable?
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: DM41X libusb problem

Post by grsbanks »

HP-2021 wrote:
Sun Mar 14, 2021 11:31 am
But how do i know that the usb cable is the right data cable and not only a charger cable?
You can try the cable with another device that allows you to transfer data through a microUSB connection. Alternatively, you can procure a microUSB cable that is known to have data lines in it.
There are only 10 kinds of people in the world: those who understand binary and those who do not.
HP-2021
Posts: 3
Joined: Sat Mar 13, 2021 8:15 pm

Re: DM41X libusb problem

Post by HP-2021 »

You are the best!!!

I found a micro usb data cable somewhere in my fundus.
Now i can see my Calculator on the pc!

Thank you so much for your help!!!

I didnt know that there mostly usb micro cables do have powering only.

Best regards
Michael
Post Reply