Author Topic: Help  (Read 15067 times)

Tenchi

  • Team member
  • *
  • Posts: 9
    • View Profile
Help
« on: December 10, 2013, 11:08:42 PM »
Hi

I've constructed the PreenFM 2 as per instructions. I've got to the step where you press the OP button while switching the unit on and .......
nothing.
The screen is lighting up but thats all.
I feel i've followed the instructions to the letter and now i'm stuck.
Any help would be welcome

Thanks

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2257
    • View Profile
Re: Help
« Reply #1 on: December 10, 2013, 11:45:40 PM »

Hi,

And what do you see if you switch on without pressing "Op" button ? nothing either ?
The cerb40 you reveived with  your Kit is ready to use so it should boot normaly without any flashing.

Switch on the PreenFM, without pressing any button.
Have you tried to turn the LCD resistor contrast to the end in both direction while looking at the LCD ?
Have you tried sending midi notes to the Midi IN Jack ? Do you hear any sound on the audio jack ?

Let me know,
If nothing works, next step will be to check the 3.3V points on the PCB.

Xavier

Tenchi

  • Team member
  • *
  • Posts: 9
    • View Profile
Re: Help
« Reply #2 on: December 11, 2013, 12:19:06 AM »
Hi Xavier

what do you see if you switch on without pressing "Op" button ?

nothing

Have you tried to turn the LCD resistor contrast to the end in both direction while looking at the LCD ?

Yes

Have you tried sending midi notes to the Midi IN Jack ?

Yes

Do you hear any sound on the audio jack ?

No, no sound.

OK where are these 3.3v points?

Thanks






Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2257
    • View Profile
Re: Help
« Reply #3 on: December 11, 2013, 03:24:04 PM »
JMP3 is unshorted, right ?

Here are the 3.3V in the attached png:
Check all the soldering point circled in orange.

Xavier
« Last Edit: December 11, 2013, 03:25:56 PM by Xavier »

Tenchi

  • Team member
  • *
  • Posts: 9
    • View Profile
Re: Help
« Reply #4 on: December 11, 2013, 11:25:15 PM »
Hi

The JMP3 was shorted, i removed the jumper and tried again with no luck.
All voltages at the points shown are correct. The LCD dims and brightens when moving the trimmer.
I've re flowed all solder joints and still nothing.
Any further hints?
Thanks

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2257
    • View Profile
Re: Help
« Reply #5 on: December 11, 2013, 11:44:04 PM »
Hi

The JMP3 was shorted, i removed the jumper and tried again with no luck.
All voltages at the points shown are correct. The LCD dims and brightens when moving the trimmer.
I've re flowed all solder joints and still nothing.
Any further hints?
Thanks

Yep..
put JMP3 back and reflash bootloader.. instruction here :
http://ixox.fr/preenfm2/built-it/burn-firmware/
Last firmware version here : http://ixox.fr/preenfm2/download/

With booloader 1.02,  In bootloader mode (switch on + 1 of the 3 buttons), the led should light.

Let me know

Tenchi

  • Team member
  • *
  • Posts: 9
    • View Profile
Re: Help
« Reply #6 on: December 12, 2013, 01:16:19 AM »
In device manager showing as unspecified STM32 Boot loader
I'm unable to run any of the cmd's from the build folder

Thanks

Altitude

  • Team member
  • *
  • Posts: 34
    • View Profile
Re: Help
« Reply #7 on: December 12, 2013, 01:29:51 AM »
You need to use the correct driver (you have the wrong one).  I used Zadig as mentioned in the burn instructions.  You should have an extra "USB Device" category with "STM32 Bootloader" as the only entry
« Last Edit: December 12, 2013, 01:32:10 AM by Altitude »

Tenchi

  • Team member
  • *
  • Posts: 9
    • View Profile
Re: Help
« Reply #8 on: December 12, 2013, 01:42:35 AM »
Hi
Im on a Windows 7 machine
I'm used Zadig and downloaded the drivers in the given example. If it's not correct which file should i be using?

Thanks

Altitude

  • Team member
  • *
  • Posts: 34
    • View Profile
Re: Help
« Reply #9 on: December 12, 2013, 06:23:25 PM »
That's the right program but it looks like you didnt configure it correctly (I had to fiddle with it also), try changing the drivers for the STM bootloader device until it shows up in device manage like shown in the example

Tenchi

  • Team member
  • *
  • Posts: 9
    • View Profile
Re: Help
« Reply #10 on: December 12, 2013, 06:45:40 PM »
Hi Altitude

It looked just like the example shown.
I've brought the Preen into work for someone, who knows a lot more about  this side of things than I, to look at it and he has got no further than I did.
I think there is something very wrong somewhere.
My problems looks exactly like RyuX has except mine hasn't ever booted.
I've followed every step explicitly, multiple. times, everything looks like the examples, with the exceptions I've posted above, but nothing.
I'm no noob. I have electronics experience. I know my soldering is good. All voltages are where they should.
I'm at a loss of what I can do to get this thing working.

Thanks for your input


Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2257
    • View Profile
Re: Help
« Reply #11 on: December 12, 2013, 08:03:45 PM »
Hi Tenchi,

Your Cerb40 has been flashed by me through the USB cable and tested , it boots, sends info the the display and responds to the buttons ;-)
Wasn't the cerb40  plastig bag open with the firmware version written on it ? I ask because i may have missed one.

I asked you to flash it again because  you had your JMP3 shorted during some operations, and i cannot know what command dfu-util you sent.
Some may erase the PreenFM bootloader.

I read several times and not sure i understand at which point it blocks.

What does it mean :
"In device manager showing as unspecified STM32 Boot loader"
Does it show up with a yellow eclamation mark ?

If yes that's the problem to solve.

If not, have you tried uninstalling it with "remove driver from disk" (or something like this) checked.

Please let me know with as much details as you can,

From what i understood it's not the same problem as Ryux, because he does not see at all the device in the device manager.


Thanks,

Xavier
« Last Edit: December 12, 2013, 08:46:40 PM by Xavier »

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2257
    • View Profile
Re: Help
« Reply #12 on: December 23, 2013, 05:38:42 PM »

Hi Tenchi,

Any progress ?

Regards,
Xavier

Tenchi

  • Team member
  • *
  • Posts: 9
    • View Profile
Re: Help
« Reply #13 on: January 03, 2014, 02:40:04 AM »
Hi Xavier

Sorry for the long wait i've been busy with work and the holidays.

So, first of all my cerb40 was still sealed with no firmware version on the bag. Nevermind, these things happen.
Anyway after using an old netbook and a lot of fiddling i managed to load the bootloader and firmware
 
 Directory of C:\Documents and Settings\Peter\Desktop\preen\build

15/12/2013  12:10    <DIR>          .
15/12/2013  12:10    <DIR>          ..
15/12/2013  11:45               749 build-mingw32.sh
01/01/1980  00:00           525,536 COMBO.cmb
15/12/2013  11:45            38,605 dfu-suffix.exe
15/12/2013  11:45           113,227 dfu-util.exe
15/12/2013  11:31                66 install_bootloader.cmd
15/12/2013  11:31                60 install_firmware.cmd
15/12/2013  11:31                61 install_firmware_overclocked.cmd
15/12/2013  11:45           286,342 libusb-1.0.dll
15/11/2013  23:27           188,604 p2_09c.bin
15/11/2013  23:27           188,604 p2_09co.bin
15/12/2013  11:31           189,280 p2_09i.bin
15/12/2013  11:31           236,849 p2_09i.syx
15/12/2013  11:31           189,280 p2_09io.bin
15/12/2013  11:31           236,849 p2_09io.syx
15/12/2013  11:31            84,604 p2_boot_1.02.bin
01/01/1980  00:00           131,072 Preen.bnk
              16 File(s)      2,409,788 bytes
               2 Dir(s)  73,408,364,544 bytes free

C:\Documents and Settings\Peter\Desktop\preen\build>dfu-util -a0 -d 0x0483:0xdf1
1 -D p2_boot_1.00.bin -R -s 0x8000000
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

C:\Documents and Settings\Peter\Desktop\preen\build>dfu-util -a0 -d 0x0483:0xdf1
1 -D p2_boot_1.02.bin -R -s 0x8000000
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

Filter on vendor = 0x0000 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  /0
x08000000/04*016Kg,01*064Kg,07*128Kg"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
No valid DFU suffix signature
Warning: File has no DFU suffix
DfuSe interface name: "Internal Flash  "
Downloading to address = 0x08000000, size = 84604
..........................................
File downloaded successfully
can't detach
Resetting USB to switch back to runtime mode

C:\Documents and Settings\Peter\Desktop\preen\build>dfu-util -a0 -d 0x0483:0xdf1
1 -D p2_09l.bin -R -s 0x08040000
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

Filter on vendor = 0x0000 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  /0
x08000000/04*016Kg,01*064Kg,07*128Kg"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuDNLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
No valid DFU suffix signature
Warning: File has no DFU suffix
DfuSe interface name: "Internal Flash  "
Downloading to address = 0x08040000, size = 192064
................................................................................
..............
File downloaded successfully
can't detach
Resetting USB to switch back to runtime mode

C:\Documents and Settings\Peter\Desktop\preen\build>dfu-util -a0 -d 0x0483:0xdf1
1 -D p2_boot_1.02.bin -R -s 0x8000000

I have powered the synth, hooked up Audio and MIDI, played it from a keyboard and there is sound
but the display is not right

It ranges from the first jpeg at rest to the second jpeg which happens when i press a key on the keyboard


Thanks for your time

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2257
    • View Profile
Re: Help
« Reply #14 on: January 03, 2014, 12:14:36 PM »
OK thanks for the feedback.

2 possibilities :
1 . Your LCD does not work (i'll send you an other one if that's the case).
2 . You have bad connections between the CERB40 and your LCD.

Case 2 could be
.  a bad soldering connection: CERB40 DIN 40 socket, LCD connector on the PCB or connectors on the LCD.
.  or a problem with the PCB.
I'll upload tomorrow a picture with the connection you have to check.

After checking the connection if it still does not work, i'll send you an other LCD.

Xavier