ElectricMotorcycleForum.com

  • November 25, 2024, 07:53:32 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Electric Motorcycle Forum is live!

Pages: [1] 2

Author Topic: Internet firmware downloads  (Read 1334 times)

Richard230

  • Hero Member
  • *****
  • Posts: 9670
    • View Profile
Internet firmware downloads
« on: February 28, 2018, 05:08:48 AM »

I just know that I will regret this, but out of curiosity, I finally clicked on the "firmware update available" on my Zero app. The several page message advised me that my bike had BMS revision 26 (installed at the factory when the bike was built) and now there was a revision 30 available for download via the app. For the MBB the message showed that the current version as 19 and the new version is 23. So I bit my lip and allowed the download to commence.

Your bike needs to be turned on during the entire process, have at least 20% power remaining and it can not be connected to the charger. The app said that the download would require up to 30 minutes. Once it started, the contactor clicked on and the dash started flashing as it does when the ignition is booted up, but continues to flash during the entire download.  Unfortunately, after 30 minutes the app said that the download "timed out" and told me that I needed to cycle the ignition to allow it to continue.  I did that and the download continued for another 30 minutes and then timed out again.  So I gave up and plugged the charger in as I had just returned from a 90-mile ride and the power was down to 40%.  Once the bike is fully charged, I will try riding it around tomorrow and recheck the firmware revision number again. I sure hope my bike runs as well as it did today and that I don't regret not following my own advice to never allow a firmware update.   :o
« Last Edit: February 28, 2018, 05:29:51 AM by Richard230 »
Logged
Richard's motorcycle collection:  2018 16.6 kWh Zero S, 2020 KTM 390 Duke, 2002 Yamaha FZ1 (FZS1000N) and a 1978 Honda Kick 'N Go Senior.

JaimeC

  • Hero Member
  • *****
  • Posts: 1987
    • View Profile
    • Facebook page
Re: Internet firmware downloads
« Reply #1 on: February 28, 2018, 07:00:45 AM »

After all of the reports here of people having issues with the latest firmware revision, I have to ask:

Was alcohol involved?  Some other mind-altering substance??  What??
Logged
1999 BMW K1200LT
2019 Yamaha XMAX
2021 Zero SR

Richard230

  • Hero Member
  • *****
  • Posts: 9670
    • View Profile
Re: Internet firmware downloads
« Reply #2 on: February 28, 2018, 07:37:57 AM »

After all of the reports here of people having issues with the latest firmware revision, I have to ask:

Was alcohol involved?  Some other mind-altering substance??  What??

You know what they say about "curiosity".  :(  What is worse, I was notified by my daughter who is paying for my phone (which I use to talk to her via Google Hangouts) that the download apparently came via the cell phone system and sucked up 34 MB of her system's allocation. I thought it was being downloaded from the internet that was on at the time. And so far there is no indication that the download actually took.  ??? I just hope that it didn't disrupt the existing firmware because the download didn't complete and scrambled the BMS or MBB programming.  :o
Logged
Richard's motorcycle collection:  2018 16.6 kWh Zero S, 2020 KTM 390 Duke, 2002 Yamaha FZ1 (FZS1000N) and a 1978 Honda Kick 'N Go Senior.

JaimeC

  • Hero Member
  • *****
  • Posts: 1987
    • View Profile
    • Facebook page
Re: Internet firmware downloads
« Reply #3 on: February 28, 2018, 06:42:45 PM »

I'm going to make an assumption here (and you know what happens when you "assume") that you're going to be fine.  Standard best practices for this kind of thing is:

1) Download the data
2) Verify the download
3) Backup the existing system
4) Update the system
5) Verify the update

If the download didn't complete, I don't see how the other four steps could've run.  Then again, based on what I've seen with Zero's software QA, I don't know if I'd bet on it...
Logged
1999 BMW K1200LT
2019 Yamaha XMAX
2021 Zero SR

Richard230

  • Hero Member
  • *****
  • Posts: 9670
    • View Profile
Re: Internet firmware downloads
« Reply #4 on: February 28, 2018, 09:38:52 PM »

I plan on riding my Zero to the local grocery store today.  I'll let you know later if it still runs.   ::)
Logged
Richard's motorcycle collection:  2018 16.6 kWh Zero S, 2020 KTM 390 Duke, 2002 Yamaha FZ1 (FZS1000N) and a 1978 Honda Kick 'N Go Senior.

Doug S

  • Hero Member
  • *****
  • Posts: 1631
    • View Profile
Re: Internet firmware downloads
« Reply #5 on: March 01, 2018, 12:00:26 AM »

So actually your plans are to TRY to ride the bike to the store.   :P

The firmware/app experience for Zero riders has gone from sublime to ridiculous and beyond.
Logged
There's no better alarm clock than sunlight on asphalt.

Doctorbass

  • Battery tech
  • Hero Member
  • *****
  • Posts: 971
    • View Profile
    • Endless-sphere.com
Re: Internet firmware downloads
« Reply #6 on: March 01, 2018, 03:27:45 AM »

Richard, Thanks for sharing your experience with that FW update.

I heard that the new MBB from 2016 or 2017(not sure) had feature that can recover to the older firmware if any problem happen with a new FW upload. Can someone confirm?

Doc
Logged
Zero Drag racing bike: 12.2s 1/4 mile and 7.3s 1/8 mile

T w i t t e r  :     http://twitter.com/DocbassMelancon

Doug S

  • Hero Member
  • *****
  • Posts: 1631
    • View Profile
Re: Internet firmware downloads
« Reply #7 on: March 01, 2018, 04:07:22 AM »

I heard that the new MBB from 2016 or 2017(not sure) had feature that can recover to the older firmware if any problem happen with a new FW upload. Can someone confirm?

I can't confirm for the Zero firmware, but that is very standard for Linux upgrades. Download the whole package, test its integrity, try to boot on it, and if it fails (watchdog timeout or other malfunction), boot back up on the original image, which is never replaced. That way you ALWAYS have an image that can at least boot up, connect, and try the upgrade again.

We do deeply-embedded firmware on 8-bit microcontrollers where I work, and we try to follow the same protocol whenever we have enough memory to store two complete images. It really solves a world of problems.
Logged
There's no better alarm clock than sunlight on asphalt.

JaimeC

  • Hero Member
  • *****
  • Posts: 1987
    • View Profile
    • Facebook page
Re: Internet firmware downloads
« Reply #8 on: March 01, 2018, 04:22:07 AM »

The way I understand it, the reason you can update the firmware on the 2017 and later models yourself is because there is enough onboard memory to hold both the old and new versions of the firmware.  That way, if the new one doesn't update properly, you don't end up with a 400 lbs push scooter.  2016 and earlier must be done at the dealer because it doesn't have enough memory to do this.  If the update fails, it's still at the dealer where they can work with Zero to get it running again.

As far as not being able to reinstall an older version, all Zero would have to do is update the time/date stamp of the firmware that WORKED and reissue it.  It should install, as it would then be "newer" than the miserable version they've pushed out most recently.
Logged
1999 BMW K1200LT
2019 Yamaha XMAX
2021 Zero SR

Richard230

  • Hero Member
  • *****
  • Posts: 9670
    • View Profile
Re: Internet firmware downloads
« Reply #9 on: March 01, 2018, 04:44:24 AM »

So I rode my Zero for 20 miles today and it performed exactly as it did yesterday.  But then that makes sense as when I checked the app it said that I had the same firmware as I did before my attempted download of revisions 30 and 23 and that there are new firmware revisions available.  So apparently the download failed to install when it "timed out" on my cell phone.  I guess I will have to be happy with my original firmware that still works perfectly (except for the BMS that won't disconnect the charger circuit when the power cord is pulled without cycling the ignition key  :( ).
Logged
Richard's motorcycle collection:  2018 16.6 kWh Zero S, 2020 KTM 390 Duke, 2002 Yamaha FZ1 (FZS1000N) and a 1978 Honda Kick 'N Go Senior.

SebfromBE

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Internet firmware downloads
« Reply #10 on: March 05, 2018, 02:43:04 PM »

Hi,

I did a similar firmware update trial this week-end. Maybe it is worth sharing the experience

Model: Zero S 13kwh 2017 (no power tank).
Update through the app:
Battery: version 22 to 23
MBB: 29 to 30
(I had a firmware update at the dealer at bike delivery end-february).

The  firmware update goes in 2 steps (first battery, then MBB). During the process, the dash blinks (same as at the dealership).
For the battery it took ~5min (you see progress bar going on), afterwards 1/2 more minutes likely for checking.
Same then for MBB. However after the progress bar went to end (so like 100% finish, I waited then for the checking (thought it would take same time as battery update) but it obviously was stuck there 10 minutes (also, after the status bar completed, the dash finished blinking, indicating the process was actually finished). Anyhow after a while I pressed the end update button, and all was fine.

Afterwards, the app said firmware was up to date (anybody know where to check what is the current version of firmware?).

Test drive this morning, and all is good it seems.

Of course, thanks to zero, I have no chance to know whether there was a benefit to run this firmware update or not :-)
Logged

Richard230

  • Hero Member
  • *****
  • Posts: 9670
    • View Profile
Re: Internet firmware downloads
« Reply #11 on: March 05, 2018, 09:29:09 PM »

Hi,

I did a similar firmware update trial this week-end. Maybe it is worth sharing the experience

Model: Zero S 13kwh 2017 (no power tank).
Update through the app:
Battery: version 22 to 23
MBB: 29 to 30
(I had a firmware update at the dealer at bike delivery end-february).

The  firmware update goes in 2 steps (first battery, then MBB). During the process, the dash blinks (same as at the dealership).
For the battery it took ~5min (you see progress bar going on), afterwards 1/2 more minutes likely for checking.
Same then for MBB. However after the progress bar went to end (so like 100% finish, I waited then for the checking (thought it would take same time as battery update) but it obviously was stuck there 10 minutes (also, after the status bar completed, the dash finished blinking, indicating the process was actually finished). Anyhow after a while I pressed the end update button, and all was fine.

Afterwards, the app said firmware was up to date (anybody know where to check what is the current version of firmware?).

Test drive this morning, and all is good it seems.

Of course, thanks to zero, I have no chance to know whether there was a benefit to run this firmware update or not :-)

Thanks.  Maybe I will give it a try again sometime soon.  But be sure to let us know if your bike blows up in the meantime and I won't update mine if that happens.   ;)
Logged
Richard's motorcycle collection:  2018 16.6 kWh Zero S, 2020 KTM 390 Duke, 2002 Yamaha FZ1 (FZS1000N) and a 1978 Honda Kick 'N Go Senior.

Shadow

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1085
  • 130,000mi electric since 2016
    • View Profile
Re: Internet firmware downloads
« Reply #12 on: March 06, 2018, 09:10:41 PM »

...Afterwards, the app said firmware was up to date (anybody know where to check what is the current version of firmware?)....
Using app retrieve log files and decode with Zero Log File Tools; Versions are some of the first decoded text lines.
Logged

SebfromBE

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Internet firmware downloads
« Reply #13 on: March 06, 2018, 09:40:32 PM »

Thanks a lot! That sounds like a basic feature to know! :-)

Brian: Is it in your wiki? If yes guess I missed it. Else might be useful for newcomers!
Logged

BrianTRice@gmail.com

  • Unofficial Zero Manual Editor
  • Hero Member
  • *****
  • Posts: 4014
  • Nerdy Adventurer
    • View Profile
    • Personal site
Re: Internet firmware downloads
« Reply #14 on: March 07, 2018, 09:58:22 AM »

Tracking firmware is complicated and I'm still hesitant to even try. If I get enough firmware images that I can compare with development tools, we might stand a chance, but right now I have to leave it to the forums to sort this mess out.

That said, my last firmware update was from Harlan for my reverse gear mode and I haven't upgraded since just to be careful, so I'm not at risk yet.
Logged
Current: 2020 DSR, 2012 Suzuki V-Strom
Former: 2016 DSR, 2013 DS
Pages: [1] 2