Bootloader / Upgrade firmware

To enter into bootloader mode you must press a key while powering on the PreenFM2.

The bootloader allows you to upgrade your PreenFM2 firmware and to access your USB drive from your computer.
PreenFM2 firmwares are available from the download page.

The fastest way to upgrade your firmware is to use (1) to upload your firmware on the USB drive then (2) to flash it.

 

PreenFMDoc

Once you are in the bootloader, the display offers you several option.

(1) : Access Usb Stick.

Pressing this button will allow you to access your Usb Stick from your computer. I should be accessible as a regular mass storage device (read regular usb drive).
Each I/O access goes to the ARM MCU that responses as a mass storage device and redirect to the actual USB stick all low level I/Os.
The performance is really slow compared to if you were pluging directly your usb stick in your computer. But it can be usefull to copy last firmware or banks on the drive.

(2) : Upgrade from the firmware in the USB Key.

Once the firmware is copied in your  »/pfm2/ » directory, you’ll want to flash it.
This is the option to use.
Press (1),(2),(3),(4) or (5) to select next firmware.
Pree (6) or (7) to flash.

(3) : Upload sysex through the DIN5 midi IN connector

Under windows, Elektron has a sysex utility that works perfectly: C6.
Go at the bottom of this page : http://www.elektron.se/support-and-downloads
Deploy « Applications » and download C6 sysex manager.
It’s a zip file, no need to install, nice :-)
Launch C6 BEFORE switching on your preeFM.
« Configure » the right Midi interface to use BEFORE switching on your preenFM.
Now click on « Load » and select you Sysex file :

C6

Power you preenFM while pressing the button 2.
Confirm « Erase Firmware » by pressing on « Inst » or « Menu »
Then in C6 press « Send » and wait… yes it’s not fast.
At the end, as written on your LCD, reboot.

(4 ): DFU (device firmware upgrade)

This mode is the only one that will allow you to update your bootloader… Do you really need to update your bootloader ?

The code used to upgrade through DFU is contained inside the STM32F4 microcontroller and have been writen by STMicroelectronics. So you cannot brick your PreenFM.

I you press the button 3 while powering on your PreenFM it will display a message on the screen than jump to integrated DFU mode.
The process is then the the same as when jmp3 is shortcut so  see burn firmware for more information.