rbei-etas / busmaster

BUSMASTER is an Open Source Software tool to simulate, analyze and test data bus systems such as CAN. BUSMASTER was conceptualized, designed and implemented by Robert Bosch Engineering and Business Solutions (RBEI). Presently it is a joint project of RBEI and ETAS GmbH.
http://rbei-etas.github.com/busmaster/
GNU General Public License v3.0
929 stars 495 forks source link

Unable to connect with PCAN-USB device #14

Closed bigwally closed 12 years ago

bigwally commented 13 years ago

I've already update the latest driver from peak website http://www.peak-system.com/Produktdetails.49+M578cbdb898b.0.html?&L=1&tx_commerce_pi1[catUid]=6&tx_commerce_pi1[showUid]=16

and PCAN-USB device can be used with free PCAN-view normally.

But it can't be launched by busmaster and report error msg: "Driver selection failed"

ghunt commented 13 years ago

I see the same behaviour with PCAN USB and also ES581.2. With the PCAN USB, I have the red LED on so that means the driver has been recognised. With the ES581.2, again the red LED is on.

I get the same "Driver selection failed" message for both when I go to menu Configure->Hardware Interface.

I'm using it under windows 7.0.

RBEI-ArunKumar commented 12 years ago

For ES581.2, make sure the respective drivers are installed to your Windows 7 machine and system folder: SysWOW64 or System32 has a file named icsneo40.dll.

RBEI-ArunKumar commented 12 years ago

For connecting PCAN USB to BUSMASTER, Driver Interface for PEAKCAN.SYS i.e CANAPI2.DLL should be present in the machine. This DLL will be made as a part of next BUSMASTER installation release.

ghunt commented 12 years ago

Regarding ES581.2, I don't have file icsneo40.dll on my machine. Where do I find a valid version of this? From googling it looks like it's an intrepid control systems neo dll. Why isn't this in the install?

I know the ES581.2 is working o.k as the red LED is on and it's working with INCA 7.0 o.k.

For PCAN USB, does the CANAPI2.DLL need to be in any specific directory or can it be located anywhere?

thanks

rbei-ratnadip commented 12 years ago
  1. For ES581.2 you need to use the 'RP1210/J2534 API Installer'; the link to which has been provided under the page https://github.com/rbei-etas/busmaster/wiki/Hardware-support. This is a third party software and hence its best that we don't redistribute it.
  2. For PCAN USB, canapi2.dll should either be at system32 folder or in the working directory. Since it has been noticed that no present driver installer of PCAN USB provides the same, we'll make this as a part of BUSMASTER installation soon; at least as a makeshift solution until we get a holistic solution.
ghunt commented 12 years ago

Thanks for the pointers, I'll try the installer for ES581.2.

I've just looked on the wiki hardware support page for the P-CAN USB and your advice is to download the usb.zip file from the peak website. This package does not include the canapi2.dll so no use. Is this really the file we need or will another file do that is within this usb.zip file?

thanks

RBEI-ArunKumar commented 12 years ago

There is a new installer "https://github.com/downloads/rbei-etas/busmaster/BUSMASTER%20Installer_Ver_1.0.1.exe" available under "Downloads" section which comes with CANAPI2.DLL. Along with this, the drivers mentioned in "Hardware Support" page also needs to be installed to make PCAN USB device connect to BUSMASTER.

bigwally commented 12 years ago

Thanks for the update. My PCAN-USB works well on busmaster. But the configure->controller pop-up window is too small and can't be expanded.

ghunt commented 12 years ago

ES581.2 is now working o.k. RP1210/J2534 installer has added the neo dll in the sysWOW64.

thanks

etas-lorenz commented 12 years ago

As the original issue is solved, I'm closing this bug. No patch necessary. No new release necessary.

Background: We try to distribute the driver libraries (CANAPI2.dll, icsneo40.dll) whenever the license allows us to do so. In any case our hardware support page has links to the driver download sections of the hardware vendors: https://github.com/rbei-etas/busmaster/wiki/Hardware-support

Regarding the window size, I've enlarged the dialogs a bit: https://github.com/rbei-etas/busmaster/commit/a56c2b3fc44ed585a8582db47b00dc408e4babb4 It will be part of the next release.