Author Topic: How to update the firmware?  (Read 112 times)

istone

  • Newbie
  • *
  • Posts: 5
    • View Profile
How to update the firmware?
« 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

mario

  • Administrator
  • Newbie
  • *****
  • Posts: 48
    • View Profile
Re: How to update the firmware?
« Reply #1 on: October 21, 2017, 10:14:01 AM »
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

istone

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: How to update the firmware?
« Reply #2 on: October 21, 2017, 08:08:46 PM »
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

mario

  • Administrator
  • Newbie
  • *****
  • Posts: 48
    • View Profile
Re: How to update the firmware?
« Reply #3 on: October 22, 2017, 01:31:27 AM »
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 apply to your system/version? You only need to install the st-util, then download the latest binary from here and flash it.

The alternative route without SWD adapter:

First install drivers, then upload binary using serial bootloader.

"Enabling the Bootloader" step is on Gecho achieved by switching off and pressing reset - you should see LEDs glowing in this pattern.

As not a Mac user, I cannot help you with more exact or verified steps, but hope this points you in the right direction.

istone

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: How to update the firmware?
« Reply #4 on: October 22, 2017, 02:18:26 AM »
That should be enough. Thank you.

istone

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: How to update the firmware?
« Reply #5 on: October 22, 2017, 03:38:25 PM »
I was able to flash the firmware using the serial drivers and the python script. Thank you for the help.

mario

  • Administrator
  • Newbie
  • *****
  • Posts: 48
    • View Profile
Re: How to update the firmware?
« Reply #6 on: October 23, 2017, 12:54:03 AM »
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

istone

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: How to update the firmware?
« Reply #7 on: October 23, 2017, 03:09:46 AM »
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.


mario

  • Administrator
  • Newbie
  • *****
  • Posts: 48
    • View Profile
Re: How to update the firmware?
« Reply #8 on: October 23, 2017, 11:53:30 AM »
That would be great, many thanks! :)