Author Topic: PreenFM2 USB issues.. (Windows 7 / 64bit)  (Read 27081 times)

RyuX

  • Team member
  • *
  • Posts: 21
  • Trapped in the 80's
    • View Profile
PreenFM2 USB issues.. (Windows 7 / 64bit)
« on: December 11, 2013, 03:54:37 PM »
Hey Guys
Finished my built some time ago, everything worked, but never got USB to work. So i decided to try again today.
I opened up the device, connected the CERB40 directly... nothing.. I tried to install the WinUSB Driver with the Zadig Tool for Windows Vista or later, "Driver installation failed"..
So i wanted to try the XP Version of the Tool, which installed the driver !
After that i used DFU-UTIL with no luck. Not listing anything. Tried connecting to different ports, Driver is working correctly, no listing still.
I read on other Forums that there are issues with CERB40 and Windows 7. Was not able to find a solution yet...
Drives me nuts. Too bad i dont have any other Windows XP PC around.

Someone got USB working on a Windows 7 / 64 bit Machine here ?
Thx guys
http://www.soundcloud.com/ryu-x/  [my soundcloud]
http://chipmod.blogspot.com/    [my electronics blog]
http://ryuxblog.tumblr.com/      [my photography blog]

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: PreenFM2 USB issues.. (Windows 7 / 64bit)
« Reply #1 on: December 11, 2013, 07:17:45 PM »
 
First, try with the PreenFM2 powered and with the CERB40 mini-USB connected to your computer directly, to be sure your CERB40->PCB cable is not faulty.

There are 2 totally different usage of the USB.

1 . DFU mode : to upgrade firmware (and bootloader).
     This code is integrated to the STM32F4 microcontroller.
     The PreenFM jump to this code if you switch on the PreenFM while pressing the "Mtx" button or switch on with JMP3 jumper shorted.
     "dfu-util -l" should list the microcontroller as 4 different devices.
      The Zadig tools driver is required. So if you cannot install it, it cannot work.
      If it does not work you won't be able to update the bootloader but the firmware can be updated by 2 other methods. Flashing from USB stick is the easiest and fastest one.

2. Midi over USB
    Disable by default : Must be enable through the settings : Tools->Set->Usb midi. Then the PreenFM2 must be rebot.
    The PreenFM implements the regular MidiStreaming interface.
    It should be seen as a midi interface named "PreenFM mk2". No driver needed.
    I tested it on Windows 7 (64 bits), MacOS 10.8, different Linux/Ubuntu releases  and on a ipad with IOS 6.
   
Do you have both not working ?

RyuX

  • Team member
  • *
  • Posts: 21
  • Trapped in the 80's
    • View Profile
Re: PreenFM2 USB issues.. (Windows 7 / 64bit)
« Reply #2 on: December 11, 2013, 07:23:32 PM »
None of them works.

I tried to reflash the newer bootloader in DFU Mode.. got the WinUSB Driver installed with Zadig etc. but never got a listing with DFU-UTIL.

Tried different cables and ports, also the Midi Over USB doesnt work because the PreenFM2 doesnt get recognized, not even as a Unknown Device, just nothing.

Maybe its a Win7 problem.
http://www.soundcloud.com/ryu-x/  [my soundcloud]
http://chipmod.blogspot.com/    [my electronics blog]
http://ryuxblog.tumblr.com/      [my photography blog]

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: PreenFM2 USB issues.. (Windows 7 / 64bit)
« Reply #3 on: December 11, 2013, 07:27:49 PM »
Maybe its a Win7 problem.

No it should work. I did many times on my windows 7 64 bits.

Are you on a USB hub ? Try to plug the CERB40 mini USB cable directly behind your computer.

RyuX

  • Team member
  • *
  • Posts: 21
  • Trapped in the 80's
    • View Profile
Re: PreenFM2 USB issues.. (Windows 7 / 64bit)
« Reply #4 on: December 12, 2013, 03:47:49 PM »
Hey xavier

I tried that already.. 2 different powered USB Hubs, 4 different direct usb ports, no luck.
Maybe my CERB40 has some kind of defect.
http://www.soundcloud.com/ryu-x/  [my soundcloud]
http://chipmod.blogspot.com/    [my electronics blog]
http://ryuxblog.tumblr.com/      [my photography blog]

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: PreenFM2 USB issues.. (Windows 7 / 64bit)
« Reply #5 on: December 12, 2013, 08:13:25 PM »
I don't think it's your CERB40, it was flashed when you recevied it through the mini USB port.

What do you see in your device manager while in DFU mode ? (PreenFM plugged (USB or DC in), JMP3 shorted and direct computer to CERB40 mini usb).
Unplug the PreenFM, open the device manager then plug it... nothing move ?

Xavier
« Last Edit: December 12, 2013, 09:03:45 PM by Xavier »

RyuX

  • Team member
  • *
  • Posts: 21
  • Trapped in the 80's
    • View Profile
Re: PreenFM2 USB issues.. (Windows 7 / 64bit)
« Reply #6 on: December 13, 2013, 01:35:04 PM »
After installing the driver with Zadig i saw a Device called STM Bootloader in the device manager, but like i said before i was not able to list it with the DFU Tool.

http://www.soundcloud.com/ryu-x/  [my soundcloud]
http://chipmod.blogspot.com/    [my electronics blog]
http://ryuxblog.tumblr.com/      [my photography blog]

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: PreenFM2 USB issues.. (Windows 7 / 64bit)
« Reply #7 on: December 13, 2013, 02:14:30 PM »

OK not as bad as i thought.
Your computer see the device. At this point there were already a lot of USB communication between both.
But can you post a picture of the device manager ?
Even without the driver installed by zadig there is a device called "STM bootloader", so i'd like to see what you see.

Uninstall the driver (with removing local files) from the device manager - right click->properties->driver->unistall.
After, you should see a yellow exlamation mark beside "STM booloader".
And install again with zadig.
(Altitude said in a other post that didn't work for him the first time. Don't know if he had to change the default driver selected.)
Once the" STM32 Bootloader" shows up again properly try the dfu-util -l.
Also could you copy the output of "dfu-util -l". The version should show-up... v0.7 works. I don't know about the others.

Xavier



[attachment deleted by admin]
« Last Edit: December 13, 2013, 02:16:24 PM by Xavier »

RyuX

  • Team member
  • *
  • Posts: 21
  • Trapped in the 80's
    • View Profile
Re: PreenFM2 USB issues.. (Windows 7 / 64bit)
« Reply #8 on: December 13, 2013, 02:28:17 PM »
Hey Xavier.. well it just looks like yours, i installed, uninstalled several times etc. never got a listing with DFU-UTIL whatsoever..
there is only 0.6 available for windows. I did not find 0.7 for windows.

Quote
dfu-util 0.6

Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY

[attachment deleted by admin]
« Last Edit: December 13, 2013, 02:30:41 PM by RyuX »
http://www.soundcloud.com/ryu-x/  [my soundcloud]
http://chipmod.blogspot.com/    [my electronics blog]
http://ryuxblog.tumblr.com/      [my photography blog]

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: PreenFM2 USB issues.. (Windows 7 / 64bit)
« Reply #9 on: December 13, 2013, 03:25:37 PM »
"But can you post a picture of the device manager ?"
 ;)

With the STM32 folder open...
I'll check my version of dfu-util under windows when i'm at home.

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: PreenFM2 USB issues.. (Windows 7 / 64bit)
« Reply #10 on: December 13, 2013, 03:28:07 PM »
Version 0.7 is here :
http://dfu-util.gnumonks.org/releases/
Should be in dfu-util-0.7-binaries.7z.
« Last Edit: December 13, 2013, 03:31:39 PM by Xavier »

RyuX

  • Team member
  • *
  • Posts: 21
  • Trapped in the 80's
    • View Profile
Re: PreenFM2 USB issues.. (Windows 7 / 64bit)
« Reply #11 on: December 13, 2013, 05:21:59 PM »
Also no listing with the 0.7 version..

Here the pic


[attachment deleted by admin]
http://www.soundcloud.com/ryu-x/  [my soundcloud]
http://chipmod.blogspot.com/    [my electronics blog]
http://ryuxblog.tumblr.com/      [my photography blog]

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: PreenFM2 USB issues.. (Windows 7 / 64bit)
« Reply #12 on: December 13, 2013, 05:37:46 PM »

Can you try with dfu-util-static.exe from the same folder ?

RyuX

  • Team member
  • *
  • Posts: 21
  • Trapped in the 80's
    • View Profile
Re: PreenFM2 USB issues.. (Windows 7 / 64bit)
« Reply #13 on: December 13, 2013, 05:41:05 PM »
Same thing with the dfu-util-static

Has to be the CERB40 itself, dont know what else could be the problem.
I read on some forums that some CERB's just dont work with Win7
http://www.soundcloud.com/ryu-x/  [my soundcloud]
http://chipmod.blogspot.com/    [my electronics blog]
http://ryuxblog.tumblr.com/      [my photography blog]

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: PreenFM2 USB issues.. (Windows 7 / 64bit)
« Reply #14 on: December 13, 2013, 05:44:36 PM »

I don't have many ideas left  :(

Any link to the forums where they talk about that ?

Xavier