Skip to main content
Associate
April 24, 2024
Question

Need a driver for USB to CAN for Windows 11 Arm

  • April 24, 2024
  • 5 replies
  • 5450 views

Hi I am new here. I am looking for a driver for Windows 11 Arm (parallels M1).

 

The chip on my board says STM32F105. The driver that worked for me last time on other Windows was:  dpinst_amd64

 

Can someone advise a driver for Windows 11 Arm (running Parallels Desktop on M1) Thanks 

5 replies

Tesla DeLorean
Guru
April 24, 2024

a) That's not a driver, but an installer

b) You have some third party CAN adapter using an STM32F105, ST didn't write the firmware the vendor put on there, you'll need to track down the vendor and the drivers they furnish for their USB-to-CAN adapter.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
grisomAuthor
Associate
April 25, 2024

Hey, Thanks for reply.

Vendor of the board send me here saying they didn't write any firmware. It is actually a 1 man company. So is it a way how to find something that will help me based on previous installer? I can send a file or tell details of the installer. 

 

BTW it is funny as this is required for Tesla work :)

grisomAuthor
Associate
May 6, 2024

So does anyone can advise driver for STM32F105 ?

grisomAuthor
Associate
May 6, 2024

OK, so I contacted with a manufacturer again, and he said: basically I am using a StarterKit stm32f105. The problem is with connection of this starter kit by USB on Windows 11 ARM when I use examples of your code for working with USB in VCP mode, which came with your kit.

Tesla DeLorean
Guru
May 6, 2024

https://github.com/STMicroelectronics/STM32CubeF1/tree/master/Projects/STM3210C_EVAL/Applications/USB_Device

A CDC would come up as a serial port, likely usable with USBSER.SYS, in years before you could munge the .INF files to associate the VID/PID with the USB Device

https://github.com/cturvey/RandomNinjaChef/blob/main/arduino_mbed_rp2040.inf

A MSC should come up as a Flash Stick

 

How CAN would work/manifest is anyone's guess, it's not a protocol/class inherently supported by Windows/Microsoft. The "firmware" would need to forward or translate USB traffic (URB) into CAN interactions.

How would this work on say a X86 Windows or Linux box?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
grisomAuthor
Associate
May 6, 2024

OK, I give up. Unfortunately I am not an IT guru. I need only this to be installed:

 

 

Screenshot 2024-05-06 at 18.48.25.png

Screenshot 2024-05-06 at 18.52.56.png

 

Thanks for the information above, but I am really can't understand it

Pavel A.
Super User
May 6, 2024

Is it this "starter kit"?  https://www.farnell.com/datasheets/2308485.pdf

The "USB serial device (COM3)" can be usbser.sys, not sure what is the "USB2CAN".

Using a normal Intel/AMD PC is the best, simple, cheap way to deal with this device. A custom Windows driver is possible but a Windows laptop may cost you less.

 

Tesla DeLorean
Guru
May 6, 2024

Well most of the Windows DDK tended to be C, with perhaps some C++ creeping in at the end of my tenure. I'd wager it would just need a recompilation as the driver stuff for USB would mostly be about managing data and whatever the USB Class needed, or funnelling requests from user space. So recompilation to ARM, MIPS, ALPHA, or whatever.

Now my guess would be there's some user space application that facilitates interaction with the driver, or USB, perhaps IOCTL's. Unfortunately CAN is of little functional utility on Windows, so beyond doing firmware updates, or a company doing "CAN Tools" as a business, or people in the modding / tuning scene, I don't suppose Microsoft's going to be facilitating much.

One can't readily make signed .CAT files, but the .INF are mostly about being a chameleon and formulate the script sufficiently to get the driver installed. One could do that directly via the registry and copying files, but that's obviously been complicated by all the AV and exploits over the last decade or two.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
grisomAuthor
Associate
May 7, 2024

Thanks everyone involved.  :)  I know that I might can be lucky with all the guides mentioned here, but for sure I will spend a lot of time for that knowledge I am not going to use anywhere else. Maybe if I would have computer 25 years ago I would be an IT guy, but I am in a Vehicle industry :)