dmitri wrote:el-dr wrote:So, does this mean that if I upgrade a 20MHz fw file with a 20MHz crystal, but with the wrong clock speed selection in the menu, it can cause these symptoms?
You won't be able to upgrade with the wrong clock selected. The thing that you are not able to select the right clock tells that there is something wrong with the buttons. When you press the UP button the voltage on the pin 6 of Atmega must go from +5 to 0.
Something very nasty is going on here and I'm totally clueless and frustrated. Here's what I tried:
I have an Atmega32, so I downgraded the clock to 16MHz and tried this one. I worked perfectly well and the clock was selectable with the UP button on the fw update page.
Then I tried to update to the newest version with this MCU. The fw erase sysex worked fine, the md displayed the "erased" msg. Then I sent the 32_16_32 sysex file and the result was the same with the other MCU: it seems as if no sysex data arrived to the md. However, this cannot be the case, because the fw eraser can be rerun successfully at any time with both MCUs.
Then I thought, maybe it's MIDI-OX or the computer, so I tried to:
- receive and send sysex dumps from and to the Yamaha DTS70 without any problem, so MIDI-OX is probably OK and so is my MIDI interface.
- then I tried the same setup with md, so this time it was connected through the MIDI In instead of USB, but the result was the same.
-then I changed the computer and tried everything again, but it made no difference (fw erase worked, the update didn't, the Up button for clock selection worked on fw update with the Atmega32, but didn't with the Atmega644)
- then I tried to replace MIDI-OX with Cubase, the result was the same.
- then I noticed the output monitor of MIDI-OX doesn't show F7 at the end. The last 10-15% of the file was not displayed and probably was not transmitted either (and it was the same on both computers!!!).
I have MIDI-OX 7.0.0.365, I tried various output buffer settings (60000-64000 bytes/2-4-16 buffers).
So I tried: multiple MCUs, multiple softwares to send the sysex (MIDI-OX/Cubase), multiple computers and multiple ways to connect (MIDI/USB) firmware erase works everywhere, the update doesn't and I couldn't even locate where the problem can be. To make things even worse: last week I could update to fw 090528 in a minute with the exact same setup (same md, computer and MIDI-OX settings).
And to make the whole story even worse: there's difference between how the two MCUs behave:
The Atmega32 displays "Fw updater 16MHz Down-ok.Up-clock", while the 644 says something like "Firmware updater Press Down", the Atmega32 reacts to the Up button on the fw screen, the Atmega 644 doesn't.
????????