From: Mark J. <hel...@gm...> - 2010-03-01 16:19:07
|
Hi Frans, here's a new link for that image: http://img651.imageshack.us/img651/7246/824noprogrambootloader1.png I've also tried installing the software package in a Sun VirtualBox guest, (Windows XP Pro x32), where it does seem to install well, however (unrelated to UsbPicProg) the VirtualBox USB filter does not pickup the UsbPicProg device at all, so does not pass it to the VM guest. I'm assuming this is due to the type of USB device it is, since other USB devices can be connected successfully (mouse, keyboard, camera, etc.) I'd be interested to hear if others have gotten VirtualBox to work with UsbPicProg; it could be an issue with the latest version of VirtualBox, as their forums have several posts about USB devices no longer working. Regards, Mark |
From: Frans S. <fra...@gm...> - 2010-03-02 07:08:41
|
Dear Mark, I think I have fixed the problem in revision 834. The problem had nothing to do with libusb-1.0, but with the fact that we switched from the mingw compiler to microsoft virtual C++. Thank yo for your report. Kind regards, Frans Schreuder On Mon, 2010-03-01 at 11:13 -0500, Mark Jones wrote: > Hi Frans, here's a new link for that image: > http://img651.imageshack.us/img651/7246/824noprogrambootloader1.png > > I've also tried installing the software package in a Sun VirtualBox > guest, (Windows XP Pro x32), where it does seem to install well, > however (unrelated to UsbPicProg) the VirtualBox USB filter does not > pickup the UsbPicProg device at all, so does not pass it to the VM > guest. I'm assuming this is due to the type of USB device it is, since > other USB devices can be connected successfully (mouse, keyboard, > camera, etc.) I'd be interested to hear if others have gotten > VirtualBox to work with UsbPicProg; it could be an issue with the > latest version of VirtualBox, as their forums have several posts about > USB devices no longer working. > > Regards, > Mark > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Usbpicprog-technical mailing list > Usb...@li... > https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical |
From: Mark J. <hel...@gm...> - 2010-03-04 02:38:21
|
Thank you Frans, the changes in r836 allow the UPP to work again in Windows 7 32-bit. Soon I'll have a chance to actually test the UPP on a few projects. In my parts box are three chips which are not on the verified list. They will be tested soon. :) Regards, Mark |
From: Mark J. <hel...@gm...> - 2010-03-06 03:38:12
|
Hi, the r834 was installed successfully in a Windows XP x32 VM, however it seems to be confused about libusb. The libusb-1.0.dll file is loaded, but UPP responds with "Could not initialize libusb!" http://img693.imageshack.us/img693/7118/834winxpx32.png |
From: Frans S. <fra...@gm...> - 2010-03-06 08:01:44
|
Hi, I think you do need to reinstall the driver from Program Files\UsbPicProg\driver Regards, Frans Schreuder On 03/06/2010 04:37 AM, Mark Jones wrote: > Hi, the r834 was installed successfully in a Windows XP x32 VM, > however it seems to be confused about libusb. The libusb-1.0.dll file > is loaded, but UPP responds with "Could not initialize libusb!" > > http://img693.imageshack.us/img693/7118/834winxpx32.png > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Usbpicprog-technical mailing list > Usb...@li... > https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical > |
From: Mark J. <hel...@gm...> - 2010-03-06 18:34:30
|
>On Fri, Mar 5, 2010 at 10:37 PM, Mark Jones <hel...@gm...> wrote: >> Hi, the r834 was installed successfully in a Windows XP x32 VM, >> however it seems to be confused about libusb. The libusb-1.0.dll file >> is loaded, but UPP responds with "Could not initialize libusb!" >> >> http://img693.imageshack.us/img693/7118/834winxpx32.png >> > > Hi, > > I think you do need to reinstall the driver from Program > Files\UsbPicProg\driver > > Regards, > Frans Schreuder > Good day Frans, when I run the DPInst.exe file in \UsbPicProg\driver (or right-click either .INF files and choose "Install", the drivers seem to install properly, and the DPInst.log file looks ok. I must be missing something, the r834 version of UPP no longer requires libusb-win32, correct? To test, I installed that also, and even after a reboot of the VM and reinstall of UPP, it still reports the same message. When this happened before (in earlier versions of UPP which required libusb-win32), I remember copying libusb0.dll into the UsbPicProg folder would allow it to run, but this no longer works, as UPP only has imports from libusb-1.0.dll. Kind regards, Mark http://img689.imageshack.us/img689/5836/834winxpx32b.png |
From: Frans S. <fra...@gm...> - 2010-03-06 19:10:32
|
Dear Mark Jones, I think the sollution might be to completely uninstall libusb-win32 since this is an incompatible version with 1.0 (it's still 0.1.12 as far as I know). Regards, Frans Schreuder On 03/06/2010 07:34 PM, Mark Jones wrote: >> On Fri, Mar 5, 2010 at 10:37 PM, Mark Jones<hel...@gm...> wrote: >> >>> Hi, the r834 was installed successfully in a Windows XP x32 VM, >>> however it seems to be confused about libusb. The libusb-1.0.dll file >>> is loaded, but UPP responds with "Could not initialize libusb!" >>> >>> http://img693.imageshack.us/img693/7118/834winxpx32.png >>> >>> >> Hi, >> >> I think you do need to reinstall the driver from Program >> Files\UsbPicProg\driver >> >> Regards, >> Frans Schreuder >> >> > Good day Frans, when I run the DPInst.exe file in \UsbPicProg\driver > (or right-click either .INF files and choose "Install", the drivers > seem to install properly, and the DPInst.log file looks ok. I must be > missing something, the r834 version of UPP no longer requires > libusb-win32, correct? To test, I installed that also, and even after > a reboot of the VM and reinstall of UPP, it still reports the same > message. When this happened before (in earlier versions of UPP which > required libusb-win32), I remember copying libusb0.dll into the > UsbPicProg folder would allow it to run, but this no longer works, as > UPP only has imports from libusb-1.0.dll. > > Kind regards, > Mark > > http://img689.imageshack.us/img689/5836/834winxpx32b.png > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Usbpicprog-technical mailing list > Usb...@li... > https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical > |
From: Francesco <f18...@ya...> - 2010-03-07 22:11:35
|
Hi Mark, I suggest you to take the following steps: 0) uninstall the UsbPicProg application, if you have it installed 1) go in Control Panel -> system -> device manager 2) plug-in the upp hardware 3) right click on the upp icon of the device manager and choose "Uninstall" 4) unplug and plug the upp hardware again; Windows should ask you for a driver 5) click cancel and unplug the hw 6) download and install the latest release: http://usbpicprog.org/downloads/UsbPicProg-x86-r848-release.exe 7) plug the hw; Windows should _still_ ask you for a driver; point it to the Programs\UsbPicProg\driver folder 8) run usbpicprog; it should start and work fine (hopefully ;)) HTH, Francesco > On 03/06/2010 07:34 PM, Mark Jones wrote: >>> On Fri, Mar 5, 2010 at 10:37 PM, Mark Jones<hel...@gm...> wrote: >>> >>>> Hi, the r834 was installed successfully in a Windows XP x32 VM, >>>> however it seems to be confused about libusb. The libusb-1.0.dll file >>>> is loaded, but UPP responds with "Could not initialize libusb!" >>>> >>>> http://img693.imageshack.us/img693/7118/834winxpx32.png >>>> >>>> >>> Hi, >>> >>> I think you do need to reinstall the driver from Program >>> Files\UsbPicProg\driver >>> >>> Regards, >>> Frans Schreuder >>> >>> >> Good day Frans, when I run the DPInst.exe file in \UsbPicProg\driver >> (or right-click either .INF files and choose "Install", the drivers >> seem to install properly, and the DPInst.log file looks ok. I must be >> missing something, the r834 version of UPP no longer requires >> libusb-win32, correct? To test, I installed that also, and even after >> a reboot of the VM and reinstall of UPP, it still reports the same >> message. When this happened before (in earlier versions of UPP which >> required libusb-win32), I remember copying libusb0.dll into the >> UsbPicProg folder would allow it to run, but this no longer works, as >> UPP only has imports from libusb-1.0.dll. >> >> Kind regards, >> Mark >> >> http://img689.imageshack.us/img689/5836/834winxpx32b.png >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Usbpicprog-technical mailing list >> Usb...@li... >> https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical >> > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Usbpicprog-technical mailing list > Usb...@li... > https://lists.sourceforge.net/lists/listinfo/usbpicprog-technical > |
From: Mark J. <hel...@gm...> - 2010-03-08 23:00:52
|
Hello Francesco, I have tried your recommendations (and the new r848 installer) on the Sun VirtualBox Windows XP x32 virtual machine. This results in "Usbpicprog Error: Could not initialize libusb: Operation not supported or unimplemented on this platform". Note that the r778 software will run, on a new XP x32 VM, even without libusb-win32 installed, but only if the libusb0.dll file was copied into the same folder as usbpicprog.exe. HOWEVER... I am not convinced that it is even possible to run UsbPicProg in a Sun VirtualBox VM, because the VirtualBox USB filter is not passing the connected UPP hardware to the VM. (It doesn't "see" it.) Thus, even if the UPP software would install properly in the VM, at this time, the hardware cannot be accessed. I will gladly help in testing the installer further, however. Kindest Regards, Mark P.S. The uninstall.exe file will work to uninstall UPP if manually executed, but so far, I have not seen any uninstall entries created in Control Panel --> Add/Remove Programs. This is for both the Win7 x32 host and XP x32 guest OSes. |
From: Francesco <f18...@ya...> - 2010-03-08 23:50:39
|
Hi Mark, 2010/3/9 Mark Jones <hel...@gm...>: > Hello Francesco, I have tried your recommendations (and the new r848 > installer) on the Sun VirtualBox Windows XP x32 virtual machine. This > results in "Usbpicprog Error: Could not initialize libusb: Operation > not supported or unimplemented on this platform". good. At least this gives a clear indication of what's failing inside the windows_init() function of libusb; the relevant snippet of code corresponding to the LIBUSB_ERROR_NOT_SUPPORTED code (which in turns corresponds to the error description you got) is: // Detect OS version memset(&os_version, 0, sizeof(OSVERSIONINFO)); os_version.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); windows_version = WINDOWS_UNSUPPORTED; if ((GetVersionEx(&os_version) != 0) && (os_version.dwPlatformId == VER_PLATFORM_WIN32_NT)) { if ((os_version.dwMajorVersion == 5) && (os_version.dwMinorVersion == 1)) { windows_version = WINDOWS_XP; } else if (os_version.dwMajorVersion >= 6) { windows_version = WINDOWS_VISTA_AND_LATER; } } if (windows_version == WINDOWS_UNSUPPORTED) { usbi_err(ctx, "This version of Windows is NOT supported"); r = LIBUSB_ERROR_NOT_SUPPORTED; goto init_exit; } this means that your system seems not supported by WinUSB (or incorrectly detected maybe). If you open an MSDOS prompt and type "ver", what do you get? Are you sure that your virtual machine is WinXP and not Win2000 ? > Note that the r778 software will run, on a new XP x32 VM, even without > libusb-win32 installed, but only if the libusb0.dll file was copied > into the same folder as usbpicprog.exe. ok but this doesn't help now since we have completely moved away from libusb-win32 0.1 and the libusb-1.0 (which is what we're using now) windows support was written from scratch and uses a completely different approach from libusb-win32 0.1. > HOWEVER... I am not convinced that it is even possible to run > UsbPicProg in a Sun VirtualBox VM, because the VirtualBox USB filter > is not passing the connected UPP hardware to the VM. (It doesn't "see" > it.) strange. Btw I'm using Vmware Player (which is free) and under that system UsbPicProg works fine in a virtual WinXP SP3 and is also able to connect to the hardware since Vmware can forward the USB traffic to the virtual machine. > Thus, even if the UPP software would install properly in the VM, > at this time, the hardware cannot be accessed. I will gladly help in > testing the installer further, however. ok, many thanks! > P.S. The uninstall.exe file will work to uninstall UPP if manually > executed, but so far, I have not seen any uninstall entries created in > Control Panel --> Add/Remove Programs. good point. An entry is missing. I'll look into fixing this. > This is for both the Win7 x32 > host and XP x32 guest OSes. ok, so you can confirm that it works under a Win7 x32 ? ;) Thanks, Francesco |
From: Mark J. <hel...@gm...> - 2010-03-10 05:36:15
|
Hi Francesco, > [code snippet] > this means that your system seems not supported by WinUSB (or > incorrectly detected maybe). > If you open an MSDOS prompt and type "ver", what do you get? In the Win XP x32 VM, ver reports "Microsoft Windows XP [Version 5.1.2600]" and it is XP Pro (2004) /w SP3. The only C compiler I have setup is Pelle's C (ANSI C) so that's of little help. >> HOWEVER... I am not convinced that it is even possible to run >> UsbPicProg in a Sun VirtualBox VM, because the VirtualBox USB filter >> is not passing the connected UPP hardware to the VM. (It doesn't "see" >> it.) > strange. Btw I'm using Vmware Player (which is free) and under that > system UsbPicProg works fine in a virtual WinXP SP3 and is also able > to connect to the hardware since Vmware can forward the USB traffic to > the virtual machine. Interesting, yes I think this is an issue with the current build of Sun VirtualBox. I can't downgrade it to a previous version at the moment, so am waiting for their next release. > This is for both the Win7 x32 > host and XP x32 guest OSes. ok, so you can confirm that it works under a Win7 x32 ? ;) Yes, I just cloned two clean and freshly updated Windows 7 32-bit (and 64-bit) VMs, and the latest UPP builds install and run successfully on both. :) Oh, one last thing, it looks like the uninstaller does not remove the start menu shortcuts yet. Regards, Mark |
From: Francesco <f18...@ya...> - 2010-03-14 21:34:42
|
Hi, 2010/3/10 Mark Jones <hel...@gm...>: > Hi Francesco, > >> [code snippet] >> this means that your system seems not supported by WinUSB (or >> incorrectly detected maybe). >> If you open an MSDOS prompt and type "ver", what do you get? > > In the Win XP x32 VM, ver reports "Microsoft Windows XP [Version > 5.1.2600]" and it is XP Pro (2004) /w SP3. strange... in that case libusb should set windows_version = WINDOWS_XP; and skip the return LIBUSB_ERROR_NOT_SUPPORTED... I'll test on more Windows XPs btw... > ok, so you can confirm that it works under a Win7 x32 ? ;) > > Yes, I just cloned two clean and freshly updated Windows 7 32-bit (and > 64-bit) VMs, and the latest UPP builds install and run successfully on > both. :) great ;) > Oh, one last thing, it looks like the uninstaller does not > remove the start menu shortcuts yet. I think I've just fixed this. As soon as Frans says he's ready for a new release I can produce updated installers (for both 32 and 64 bit Windows).... Francesco |