Hi.
I’m trying to build MidiBox SEQ V4 and I am confused with MIOS. Could anyone help me to understand what am I doing wrong with it?
So, I got my STM32 F4 (it says STM32F407VGT6 on the chip) connected it via ST-LINK and succesfully uploaded the mios32_bootloader_v1_018/MBHP_CORE_STM32F4/project.hex on it with STM ST-LINK utility using SWD port.
To be sure, I compared the .hex vs. board memory with the same utility and no differences was found.
At this stage if i connect MIDI_IO to core, connect USB cable to CN5 of STM32F4, start MIOS studio without pressing any buttons and select SB X-FI MIDI port for MIDI IN and MIDI OUT and hitting RESET I get on the lower text field:
[10869.030] ====================
[10869.039] Bootloader 1.018
[10869.049] ====================
[10869.052]
[10869.063] Checking Bootloader…
[10869.340] No mismatches found.
[10869.353] The bootloader is up-to-date!
[10869.369] You can upload another application now!
[10869.390] Or type ‘help’ in MIOS Terminal for additional options!
I connected second USB cable to CN5 and while holding down blue USER I pressed black RESET button.( From now on I keep BLUE button held down.)
Now, when I start MIOS studio 2.4.6 to upload the actual sequencer program and select “MIOS 32 Bootloader” for MIDI IN and MIDI OUT, I get:
Operating System: MIOS32
Board: STM32F4DISCOVERY
Core Family: STM32F4xx
Chip ID: 0x10016413
Serial: #320025000347333234333738
Flash Memory Size: 1048576 bytes
RAM Size: 196608 bytes
MIOS32 Bootloader
(c) 2014 T. Klose
I select BROWSE and open midibox_seq_v4_089/MBHP_CORE_STM32F4/project.hex and get:
Reading project.hex
project.hex contains 393288 bytes (1537 blocks).
Range 0x08000000-0x08003fff (16384 bytes) - BL excluded
Range 0x08004000-0x080041ff (512 bytes) - STM32 Flash
Range 0x08010000-0x0806beff (376576 bytes) - STM32 Flash
Press start button to begin upload.
By pressing start i get:
Upload of 377088 bytes completed after 7.99s (46.08 kb/s)
1 ignorable errors during upload solved (no issue!)
then the board resets and i get exactly same text on left screen as above.
Questions:
Should i see at this point or after resetting the board something else on left text area of MIOS studio or on LCD if I hook up it up? (LCD stays blank. Only backlight is on)
Why if I get back to the ST-LINK utility and compare .hex vs memory I get: Error. 1st difference found @: 0x8004004 ? Looks to me that application is overwriting part of the bootloader. Still the bootloader seems to work?
What is that 1 ignoreable error? Is there some kind of logfile that MIOS studio writes?
Tried all above with GM5 driver also. Result are the same.
Using Windows 7 ultimate 64bit.