preenfm Forum
PreenFM => preenfm2 and preenfm3 => Topic started by: Tenchi 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
-
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
-
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
-
JMP3 is unshorted, right ?
Here are the 3.3V in the attached png:
Check all the soldering point circled in orange.
Xavier
-
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
-
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
-
In device manager showing as unspecified STM32 Boot loader
I'm unable to run any of the cmd's from the build folder
Thanks
-
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
-
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
-
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
-
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
-
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
-
Hi Tenchi,
Any progress ?
Regards,
Xavier
-
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
-
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
-
I just noticed you didn't install last bootloader and firmware.
You should install them.
Specially the bootloader 1.10, that makes firmware from USB Stick possible without opening the PreenFM2.
Xavier
-
Also, did you remove JMP3?
Once flashed you remove that jumper so it boots as normal.
Does your USB stick flash as if it is being accessed? if you are in DFU mode the light tends to flash once and then go out. Mine flashes a few times upon normal bootup before going to an idle state.
Mine's a Sandisk like this one, it glows when idle. (I put some tape on the back as a safety precaution ;))
http://www.amazon.com/SanDisk-Cruzer-Titanium-SDCZ7-2048-A10-Package/dp/B000EWHH7I
-
Also, did you remove JMP3?
Once flashed you remove that jumper so it boots as normal.
Yes, he did that right, he has the midi and audio working.
That really is a LCD problem only now.
Xavier
-
Ah. It's not initialising right?
-
Hi Tenchi,
Here are all the LCD connections.
Please check them all.
(Sorry i changed the color signification since last picture).
Check green point are linked together and to the ground.
Check red ones are 5V.
And that the grey/blue one (LCD pin 3) change when you turn the variable contrast resistor.
Then your multimeter into shortcut detector.
Check every orange connection from the CERB40 pins to the LCD pins on the other side.
And let me know the result,
Xavier