Gechologic Support Forum
STM32F4 Development ("Classic" Gecho v1) => Firmware - Expanding and updating => Topic started by: istone on October 20, 2017, 08:50:15 PM
-
Hi,
I don't use Windows. Is there a means to flash the firmware without having to use the exe?
Thank you,
Chris
-
Hi Chris,
Yes there are other options, for example https://sourceforge.net/projects/bootstm32/
- What system do you use?
- Is your unit fully mounted box or a board (so you can access SWD connector?)
- Alternatively, are you familiar with some kind of DOS emulator, so you could run a simple command-line update utility instead?
Cheers,
Mario
-
Mario,
I am on a mac. My bit is mounted, but I can pull it out to do the update, and put a pigtail on it for the future.
C
-
That's great. Do you have ST-Link v2 (SWD adapter) too?
There surely is a way to upload firmware with or without it, via USB only - many other devices use the same or compatible architecture, for example modules from Mutable Instruments, ST Demo boards or various Arduino-compatible boards.
Does this guide (http://grafixmafia.net/updated-using-the-stm32f4-discovery-board-with-mac-osx-10-9-mavericks/) apply to your system/version? You only need to install the st-util, then download the latest binary from here (http://gechologic.com/gechologists) and flash it.
The alternative route without SWD adapter:
First install drivers (https://kig.re/2014/12/31/how-to-use-arduino-nano-mini-pro-with-CH340G-on-mac-osx-yosemite.html), then upload binary using serial bootloader (https://www.espruino.com/Serial+Bootloader).
"Enabling the Bootloader" step is on Gecho achieved by switching off and pressing reset - you should see LEDs glowing in this pattern (http://gechologic.com/upload/manual/board_programming_mode.jpg).
As not a Mac user, I cannot help you with more exact or verified steps, but hope this points you in the right direction.
-
That should be enough. Thank you.
-
I was able to flash the firmware using the serial drivers and the python script. Thank you for the help.
-
That's fantastic, happy to hear it worked for you!
I'm afraid you'll need to do it again as a new version went out this evening :D
-
No worries, it is easy enough to do. I’ll write up the steps and post them in case there are any other Mac users out there who need help.
-
That would be great, many thanks! :)
-
Man, I have a Mac and absolutely no skills in any of this flashing firmware business. I hate the thought of my Gecho leaving the nest but can i send it back to you Mario for the firmware update? Mark
-
Hi Mark, if you can't find a windows PC around then of course you can - just pack it well (I learned the hard way that 2 layers of bubble wrap won't do - so using bubble wrap + pizza cardboard :) I remember you wanted MIDI cables so I will be shipping a parcel to you anyway. Sorry for the trouble, I had a Mac developer's promise to port the updater utility but he seems too busy... :/
-
If i download the gecho app on a windows PC then what kind of usb adaper do i use?
-
worst case scenario what is the address to mail Gecho to for update/Midi cables? Thanks
-
You only need a "mini-B" USB cable - it's the one commonly used with cameras or GPS devices:
https://images-na.ssl-images-amazon.com/images/I/51M9tRLIWfL._SX355_.jpg
I'll send you my address via email (it's still the same as from where your package arrived).