Firmware upgrade issue

Discussions related to MegaDrum Hardware

Firmware upgrade issue

Postby PeterGJ » Mon Jul 17, 2017 4:53 pm

Hi

I have problems upgrading the firmware in my relatively new MD using the new MDMFX. It's the first time I try to upgrade the MD firmware so bear with me if I oversee something obvious.

Laptop OS: Windows10
Current firmware version: 20170503
MCU: STM32F205RCT6

I start MDMFX, connect to MD, select Main -> Firmware Upgrade, and follow the instructions.

I couldn't find a match for my MCU in the megadrum_20170628.zip file:

Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 2017-06-28 11:45 127760 megadrum1284_56_20170628.bin
-a---- 2017-06-28 11:45 127760 megadrum644_48_20170628.bin
-a---- 2017-06-28 11:44 159560 megadrumSTM32a_56_20170628.bin
-a---- 2017-06-28 11:44 160128 megadrumSTM32b_56_20170628.bin
-a---- 2017-06-28 11:42 242344 megadrumSTM32d_56_20170628.bin
-a---- 2017-06-28 11:43 191104 megadrumSTM32e_56_20170628.bin

(there is no ...STM32f... .bin file) so I use megadrumSTM32e_56_20170628.bin instead asuming this is closest match to my MCU version.

The process seems to run fine in MDMFX on the laptop and ends with a "Upgrade completed successfully".
On the MD the screen changes to black with the message:

FuSUpdaterSTM32d
StartUpdateOnPC

(note the d!) but do not react after that.
After a while when I restart the MD the version haven't changed (still is 20170503).

Could the MCU version mismatch be the problem?

cheers /// peter
PeterGJ
 
Posts: 4
Joined: Tue May 16, 2017 8:05 pm

Re: Firmware upgrade issue

Postby dmitri » Mon Jul 17, 2017 11:19 pm

You noted d in STM32d. Why did you select firmware with e instead of d?
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Firmware upgrade issue

Postby PeterGJ » Tue Jul 18, 2017 1:38 pm

dmitri wrote:You noted d in STM32d. Why did you select firmware with e instead of d?


My MD is a STM32F (STM32F205RCT6). But since there is no megadrumSTM32f_56_20170628.bin file in the megadrum_20170628.zip file, I used the megadrumSTM32e_56_20170628.bin instead when trying to upgrade using MDMFX.

EDIT:
OK, I get it now - there is no relation between the file names and the MCU version.
I used the megadrumSTM32d_56_20170628.bin file and then the upgrade worked for me - thanks dimitri.

In the future I suggest adding a README file in the firmware zip file with the naming scheme.

cheers /// peter
PeterGJ
 
Posts: 4
Joined: Tue May 16, 2017 8:05 pm

Re: Firmware upgrade issue

Postby dmitri » Wed Jul 19, 2017 4:15 pm

The naming scheme is actually described in the Latest MegaDrum firmware version topic where you download the firmware.

All firmware files in the archive after version 20110410 have the following naming scheme:
megadrumppp_nn_yyyymmdd.bin
where
ppp - MCU type. STM32a - for STM32F103RBT6, STM32b - for STM32F103RCT6, STM32d - for STM32F205RCT6, STM32e - for STM32F205LITE, 644 - for Atmega644, 1284 - for Atmega1284
nn - Maximum number of inputs for the firmware.
yyyymmdd - date(version) of the firmware.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Firmware upgrade issue

Postby bonellsoft » Wed Jul 19, 2017 6:33 pm

Hi.
I have similar problem with MCU: STM32F205RCT6 and the same update.
But used STM32d - for STM32F205RCT6. After update MD was turned off and can't turn it on.
Coul'd someone Help me fix it?
Thank you.
bonellsoft
 
Posts: 1
Joined: Mon Sep 12, 2016 6:29 am

Re: Firmware upgrade issue

Postby dmitri » Wed Jul 19, 2017 7:52 pm

Use viewtopic.php?f=3&t=1252 to recover firmware in case firmware upgrade in MDMFX doesn't work for any reason.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm


Return to MegaDrum Hardware

Who is online

Users browsing this forum: Google [Bot] and 80 guests