preenfm Forum

PreenFM => preenfm2 and preenfm3 => Topic started by: Xavier on November 19, 2013, 09:41:41 AM

Title: Firmware: PreenFM2 Bug report
Post by: Xavier on November 19, 2013, 09:41:41 AM
Please report here any bug you may find.
Don't forget to specify the firmware you use. It shows up when you switch on the PreenFM2.

Thanks
Title: Re: PreenFM2 Bug report
Post by: martindunne on November 19, 2013, 11:18:51 PM
hello getting quite a lot of glitches on lcd misspellings and the like, using 0.9c. also can load up dx7 patches but not the bank and combo patches from the pfm2 zip file.
Title: Re: PreenFM2 Bug report
Post by: Xavier on November 20, 2013, 07:36:51 AM
Hi Martin,

The LCD misspellings must be because of the tight timing i use that works with the LCD provided with Kit.
What LCD do you use ?
I'll upload today a version with larger delay.

For the bank and combo patches, i've just tried and it works.
What Usb drive do you use ?
What error do you get ?
And last question, can you read and save on bank created from the menu ? tools->create->bank  / combo ?
If you haven't try, I would suggest you to download again the zip file, format your USB stick (slow formating) and extract the zip again on it.

Xavier
Title: Re: PreenFM2 Bug report
Post by: martindunne on November 20, 2013, 11:10:23 AM
hello thanks for the reply, yes i can read and save files just cannot preview or select different sounds  ( always the same sound). i can now get the preen bank to work but not the combo or bank file
Title: Re: PreenFM2 Bug report
Post by: martindunne on November 20, 2013, 11:13:04 AM
hi sorry also used this lcd from mouser 992-LCD-20X4Y
many thanks great sounds
Title: Re: PreenFM2 Bug report
Post by: Xavier on November 20, 2013, 06:13:29 PM
Thanks for the information.

For your LCD problem :
Could you try the firmwares that are in this zip file : https://dl.dropboxusercontent.com/u/41654198/preenfm2/firmwares/fix_lcd.zip
In the order 35, 36, 37, 38.
And let me know the first one that fix your problem, if any.
Just extract them in "pfm2" on your USB drive and power the preenFM while pressing the "OP" button. Then select the one to flash. (but you may already know that ;-)

Regarding the banks, what you have is totally normal, "combo" and "bank" are here to allow you to save your presets. They all contains the same preset by default.

Thanks

Title: Re: PreenFM2 Bug report
Post by: martindunne on November 20, 2013, 07:02:04 PM
many thanks will try those later
Title: Re: PreenFM2 Bug report
Post by: martindunne on November 20, 2013, 10:11:53 PM
hi there 38 has worked the best it is normal in edit mode but when i enter flash mode with op button pressed it is still v glitchy. ok for now. cheers
Title: Re: PreenFM2 Bug report
Post by: Xavier on November 20, 2013, 10:23:32 PM

Thanks for the feedback.

What you describe is normal the bootloader (flash mode) still use the old 34 value.
I'll make some test under heavy load with 38 and if everything works fine, it will be the default value in the next firmware.

Xavier

Title: Re: Firmware: PreenFM2 Bug report
Post by: Altitude on November 23, 2013, 04:01:44 AM
The newhaven OLED has all sorts of issues as well.  It only displays something when the menu button is pressed (nothing on start up) and then instead of increment values, it scrolls everything left to right.  Everything is misaligned also and it made all sorts of noise (the display actually made noise) at the 34 setting.  If it's any help, I used the same display with the Preen 1 without issues
Title: Re: Firmware: PreenFM2 Bug report
Post by: Xavier on November 23, 2013, 09:31:39 AM
The newhaven OLED has all sorts of issues as well.  It only displays something when the menu button is pressed (nothing on start up) and then instead of increment values, it scrolls everything left to right.  Everything is misaligned also and it made all sorts of noise (the display actually made noise) at the 34 setting.  If it's any help, I used the same display with the Preen 1 without issues

Have you tried the other firmware in the zip above.
Could you confirm me that the firmware 38 does fix the problem with your LCD ?
If yes i'll release it as an official patch today.

Which Oled do you have  ?

Thanks,
Xavier
Title: Re: Firmware: PreenFM2 Bug report
Post by: Altitude on November 23, 2013, 01:42:14 PM
I tried all the alternate firmwares and all had the same behavior. This is the one I use: http://www.mouser.com/ds/2/291/NHD-0420DZW-AY5-30221.pdf
Title: Re: Firmware: PreenFM2 Bug report
Post by: Xavier on November 23, 2013, 03:23:20 PM

I plugged an OLED screen i had on a PreenFM1 and i confirm it does not  work. (Just realized it's exactly the same as yours).
Having it working is number one on my priority list. I'll work on that tomorrow.

Xavier

Title: Re: Firmware: PreenFM2 Bug report
Post by: Altitude on November 23, 2013, 03:59:03 PM
Outstanding. I appreciate it, your device deserves the OLED treatment
Title: Re: Firmware: PreenFM2 Bug report
Post by: Xavier on November 24, 2013, 03:36:25 PM
Outstanding. I appreciate it, your device deserves the OLED treatment

http://ixox.fr/preenfm2/0-9d-firmware-oled-compatibiltity/

You can try last firmware 0.9d + firmware 1.01 and let me know  ;)
http://ixox.fr/preenfm2/download/

Xavier
Title: Re: Firmware: PreenFM2 Bug report
Post by: Altitude on November 24, 2013, 07:08:04 PM
Woot!  Can you (in detail if you dont mind) explain exactly what you did to get this to work correctly?  I assume whatever the issue was here is the same issue on the MBsid (it runs in 4 bit as well) and hopefully this could solve that age old problem

(http://misw.us/preenOLED.JPG)
Title: Re: Firmware: PreenFM2 Bug report
Post by: Xavier on November 24, 2013, 09:24:29 PM
Cool  :D

All the details of my modification are here :
https://github.com/Ixox/preenFM2/commit/0ae07955dd0b4c26a654bea0a516b8ff36dd854b#diff-492c27123dd31b335dacdc57a166f56d

There were 2 problems :

1 . I used the LiquidCrystal code from the PreenFM1 that i modified a long time ago for 8 bits. So the init sequence was all wrong for 4 bits. Was my fault.

2.  With the correct init sequence, i could see something on the display but it was all corrupted...
The guilty command was the LiquidCrystal createChar() function that create custom chars.
It does not work with this OLED screen and put the display in a broken state.
I tried several modifications and finally found that the address has to be specified for each write.
As this modification also works with other Display it's now part of the code.

Working LiquidCrystal createChar function :
Code: [Select]
void LiquidCrystal::createChar(unsigned char location, unsigned char charmap[]) {
location &= 0x7; // we only have 8 locations 0-7
for (int i = 0; i < 8; i++) {
command(LCD_SETCGRAMADDR | (location << 3) | i);
write(charmap[i]);
}
}

Xavier
Title: Re: Firmware: PreenFM2 Bug report
Post by: martindunne on December 16, 2013, 03:57:32 PM
hi xavier just uploaded new firmware k but cannot see combo files preen 1 files working fine
Title: Re: Firmware: PreenFM2 Bug report
Post by: Xavier on December 16, 2013, 04:29:47 PM
cannot see combo files

Aouch... sorry, i know what's happening. Don't worry, you combo are still there they just don't show up.
Will upload a new firmware tonight.

Thanks a lot for the feedback,

Xavier
Title: Re: Firmware: PreenFM2 Bug report
Post by: Xavier on December 16, 2013, 06:46:15 PM

0.9l ready.
Thanks again for the quick notice.

Xavier
Title: Re: Firmware: PreenFM2 Bug report
Post by: martindunne on December 21, 2013, 06:49:07 PM
hello gain, would it be possible to allow the sequencer to trigger notes on the preen like a drum machine.
Title: Re: Firmware: PreenFM2 Bug report
Post by: Xavier on December 22, 2013, 10:26:30 AM
hello gain, would it be possible to allow the sequencer to trigger notes on the preen like a drum machine.

This is a good idea... I don't know how to do that properly right now, but I really keep this in mind.
Thanks,

Xavier
Title: Re: Firmware: PreenFM2 Bug report
Post by: martindunne on December 22, 2013, 01:55:03 PM
hi maybe you could have note as a destination in the matrix so source can be sequence.?
Title: Re: Firmware: PreenFM2 Bug report
Post by: Xavier on December 22, 2013, 11:43:27 PM
hi maybe you could have note as a destination in the matrix so source can be sequence.?

The Matrix is probably not the best way to do that as the sequencer values are "gated" and "filtered" when arriving in the destination to prevent audio clip in many case.
A kind of arpegiator as an aditional row in the engine where sequencers would be selectable as velocity and notes...

Don't hold you breath, not even sure i'll add this and it would take some time. But i agree it would be cool ;-)

Xavier
Title: Re: Firmware: PreenFM2 Bug report
Post by: martindunne on December 23, 2013, 05:08:21 PM
hi think i found a bug. when i have all 4 instruments loaded and playing a midi file from pc, if i alter IM in one instrument it changes others instruments IM too? hope that makes sense. also when i chain a shruthi from midi out in preen and play the same midi file from pc the shruthi loses sync over time.
Title: Re: Firmware: PreenFM2 Bug report
Post by: Xavier on December 23, 2013, 05:37:59 PM
hi think i found a bug. when i have all 4 instruments loaded and playing a midi file from pc, if i alter IM in one instrument it changes others instruments IM too? hope that makes sense. also when i chain a shruthi from midi out in preen and play the same midi file from pc the shruthi loses sync over time.

Hi Martin,

If you don't play midi file at the same time, the IM works correctly ?
Could be a midi loop between the preenFM and your sequencer with one PreenFM2 instrument listening on ALL midi channel or something like this.
Try to set "send" to OFF in the PreenFM setting. And let me know if it fixes the problem.
I would need to have more details about your PreenFM and sequencer midi in and out configuration.

Regarding the chaining and sync problem i'll give a try.

Thanks,

Xavier

Title: Re: Firmware: PreenFM2 Bug report
Post by: shwanton on June 15, 2016, 10:22:23 PM
The newhaven OLED has all sorts of issues as well.  It only displays something when the menu button is pressed (nothing on start up) and then instead of increment values, it scrolls everything left to right.  Everything is misaligned also and it made all sorts of noise (the display actually made noise) at the 34 setting.  If it's any help, I used the same display with the Preen 1 without issues

I'm having this same issue where the OLED screen will occasionally scroll from left to right. The screen will occasionally glitch as well but this might just be what the OLED does. It only happens after about 5 minutes of use and is very intermittent.

I've uploaded a video of this issue: https://www.youtube.com/watch?v=oMbAxpmNzdM

I bout this Kit: http://vandaal-electronics.com/product/preenfm-kit/
Current Firmware: 2.03o
Title: Re: Firmware: PreenFM2 Bug report
Post by: Xavier on June 19, 2016, 09:53:46 AM
That's happens when the OLED receives corrupted commands from the preenF405.
Please read the last message of this thread i just posted :
http://ixox.fr/forum/index.php?topic=69163.0

Xavier