Author Topic: Question about USB  (Read 14654 times)

Mmarsh

  • Team member
  • *
  • Posts: 28
    • View Profile
Question about USB
« on: December 29, 2013, 09:51:32 PM »
Hi Xavier -

I have a question about USB. When I plug the FM2 into my iMac it id not recognized as a MIDI device.  Should it be? It's also not recognized on my PC.

One more: should the USB stick be visible to the Mac or PC as a drive? It would be convenient to have it work this way so that I don't have to partially dissasemble the case to get the USB stick out.

Thanks!

Mike

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: Question about USB
« Reply #1 on: December 29, 2013, 11:53:00 PM »
Hi Mike,

Your PreenFM2 should be recognized as a "PreenFM mk2" midi device on both mac an PC (and Linux and IOS).

First, Midi USB is disable by default and must be enable menu->Tools->Set->Usb Midi.

If it's still no recognized check with an aditional mini usb cable that you can plug between your computer and directly to the mini usb port of the CERB40.
If it works with this direct cable and not with the PCB->mini usb cable you built, then check the connection of the USB cable.

Making the USB stick visible from the computer is not easy at all as they are 2 different USB connection for the CERB40.
Don't forget that you can use sysex to upgrade firmware.
But I agree it would be better to see the USB stick from the computer.

Xavier
« Last Edit: December 29, 2013, 11:54:51 PM by Xavier »

Mmarsh

  • Team member
  • *
  • Posts: 28
    • View Profile
Re: Question about USB
« Reply #2 on: December 30, 2013, 12:23:32 AM »
Ah, I didn't know about the menu setting! Thank you!

Mike

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: Question about USB
« Reply #3 on: January 01, 2014, 04:16:17 PM »
One more: should the USB stick be visible to the Mac or PC as a drive? It would be convenient to have it work this way so that I don't have to partially dissasemble the case to get the USB stick out.

Implemented in bootloader 1.10.  :)

Xavier

Mmarsh

  • Team member
  • *
  • Posts: 28
    • View Profile
Re: Question about USB
« Reply #4 on: January 01, 2014, 08:32:16 PM »
Oh, excellent Xavier! And happy new yer to you and your family :)

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: Question about USB
« Reply #5 on: January 01, 2014, 10:36:09 PM »

Thanks, happy new year to you too  :)

dimifrag

  • Team Member
  • **
  • Posts: 52
    • View Profile
Re: Question about USB
« Reply #6 on: January 12, 2014, 10:50:47 AM »
Instructions to how can read/write usb storage from my mac ?

6581punk

  • Team Member
  • ***
  • Posts: 110
    • View Profile
Re: Question about USB
« Reply #7 on: January 12, 2014, 01:54:48 PM »
Hold a key when turning on the Preen to go into the booloader, then there's an option to mount the USB stick.

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: Question about USB
« Reply #8 on: January 12, 2014, 03:06:24 PM »
Thanks 6581punk for the answer  :)
I would just add that bootloader 1.10 is required.

To know what version you have just keep "OP" pressed while turning on the Preen (works with all version)

Xavier

dimifrag

  • Team Member
  • **
  • Posts: 52
    • View Profile
Re: Question about USB
« Reply #9 on: January 12, 2014, 07:15:31 PM »
how can i upgrade the boot loader because i have the 1.02 ?
i can't see the option for the usb!  :-\

6581punk

  • Team Member
  • ***
  • Posts: 110
    • View Profile
Re: Question about USB
« Reply #10 on: January 12, 2014, 07:39:58 PM »
You have to stick a jumper on JMP3 and power up the preen, then use dfu-util.

dfu-util -a0 -d 0×0483:0xdf11 -D p2_boot_1.10.bin -R -s 0×8000000


Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: Question about USB
« Reply #11 on: January 12, 2014, 08:31:36 PM »

More details here :
http://ixox.fr/preenfm2/built-it/burn-firmware/

1.10 will hopefully be the last one you need ;-)

Xavier

dimifrag

  • Team Member
  • **
  • Posts: 52
    • View Profile
Re: Question about USB
« Reply #12 on: January 12, 2014, 08:32:30 PM »
and put out the jump 2 and 3 ?
because the terminal write can't find the file!

dimifrag

  • Team Member
  • **
  • Posts: 52
    • View Profile
Re: Question about USB
« Reply #13 on: January 12, 2014, 08:33:33 PM »
sorry the 1 and 2?

dimifrag

  • Team Member
  • **
  • Posts: 52
    • View Profile
Re: Question about USB
« Reply #14 on: January 12, 2014, 08:37:56 PM »
I TAKE THIS MESSAGE:
dfu-util 0.7

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
Please report bugs to dfu-util@lists.gnumonks.org

Filter on vendor = 0x0483 product = 0xdf11
Opening DFU capable USB device... ID 0483:df11
Run-time device DFU version 011a
Found DFU: [0483:df11] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash  /0x08000000/04*016Kg,01*064Kg,07*128Kg"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
p2_boot_1.10.bin: No such file or directory