meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:firmware [2021/09/14 17:32]
dmitry
en:firmware [2022/01/20 17:22] (current)
dmitry [30 December 2021]
Line 5: Line 5:
 **Do not downgrade firmware that was installed by the manufacturer! You may get a brick** </WRAP> \\ **Do not downgrade firmware that was installed by the manufacturer! You may get a brick** </WRAP> \\
  
-Each device has its own firmware and is updated separately from different menus. The order in which the firmware is updated does not matter.\\+Each device has its own firmware and is updated separately from different menus. It does not matter in what order you update the firmware of the devices. If you have older firmware, you can install the latest firmware at once, without having to install the firmware one by one.\\
 1. [[en:display:start#firmware_update|Description]] of the On-Board Computer update menu.\\ 1. [[en:display:start#firmware_update|Description]] of the On-Board Computer update menu.\\
 2. [[en:controller:setup#firmware_update|Description]] of the Controller update menu.\\ 2. [[en:controller:setup#firmware_update|Description]] of the Controller update menu.\\
Line 15: Line 15:
 3. [[en:ulight#device_information|Information]] about the firmware version of the uLight.\\ 3. [[en:ulight#device_information|Information]] about the firmware version of the uLight.\\
  
-The list of actual firmware to be downloaded:+The list of actual firmware to be downloaded: \\ 
 +===== 20 January 2022 =====
  
-|**Display** |**Controller** |**Release notes** | +Critical update for new controllers and hotfix for controllers 6F/12F and old 24F. Export config before the update, load defaults after the update, and import your config. \\  
-|v0.60B [[https://drive.google.com/open?id=1t3RWRRvL1RXPV7PmtLbE3XSfVM8-fswz|{{:en:firmware:file.png?nolink&23x32|Download}}]] \\ <WRAP><hidden onHidden="Show change log">+ 
 +**Controller v0.8.5** [[https://drive.google.com/file/d/1RymXEmpfeqX2pidFOEWLzLv3JJD0O104/view?usp=sharing|{{:en:firmware:file.png?nolink&23x32}}]] \\   
 + 
 +<WRAP><hidden onHidden="Show change log"> 
 + 
 +Save system updated, added unit tests. \\ 
 +Added clutch shutdown when brake pressed. \\ 
 +Added option to enable MTPA. \\ 
 +USB for computers disabled by default, will be removed in the future 
 +Fixed P1 P2 PWM mode.\\   
 +Lifetime temperature now calculates only when motor powered.\\  
 +Added hall pullup disable option.\\  
 +Various save system fixes.\\  
 +Fixed NaN for resistance detection.\\  
 +Fixed import of 1st parameter in every section.\\  
 +\\ 
 +Hotfix for 6F/12F and old 24F. 
 +</hidden></WRAP> 
 +\\ 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 +===== 18 October 2021 ===== 
 +First need to update all devices but display. Because menu protocol is new and old devices will not be visible in menu. After update finished hold left button few seconds to exit updated device menu. If button does not work you may need to reset power supply or replug CAN cable in display. \\ After everything updated - update display. \\ Make a controller reset (load defaults) after update. \\ I recommend to run motor detect again on controllers. \\ Detection of throttle/brake connected to display should be done in display menu. \\ 
 + 
 +**Display v0.71B** [[https://drive.google.com/file/d/1ovS69DDlp8CWkGI_f8p2SqxJ34OMwFQ-/view?usp=sharing|{{:en:firmware:file.png?nolink&23x32|Download}}]] \\ <WRAP><hidden onHidden="Show change log">Menu redesigned. \\ All display settings moved to separate menu. \\ Added port input state in port settings. \\ Added port functions: disable backlight, lock screen. \\ Added separate hotkeys while charging. \\ Added option to use hotkeys with short click. \\ Added throttle/brake settings which are connected to display. \\ Added global odometer setting. \\ Global stats reset will not reset odometer now. \\ Added parameters import/export. \\ Added icons on main screen (brake, brake limit, turtle mode, motor/controller fault, battery fault). \\ With new controllers update speed is 6 times faster now. \\ Logger speed should work faster too. \\ Added text scroll in menu. \\ Logo updated. \\ Added more informative messages for resets with password request. \\ Added parameters that could be requested from display on CAN bus. \\ === v0.71 \\ Fixed some parameter editing. \\ Updated import/export. \\ Odometer now can be imported, value is not decimal now. \\ Fixed button blinking while typing password. \\ Fixed charge screen, button blinking fixed. \\ Fixed info-lines names. \\ Fixed header for password message.</hidden></WRAP> \\ 
 + 
 +**Controller v0.8.2** [[https://drive.google.com/file/d/1YSXYo-rFaoJGbonGJ67kvWs_ExoZz5vH/view?usp=sharing|{{:en:firmware:file.png?nolink&23x32|Download}}]] \\ <WRAP><hidden onHidden="Show change log">Added glitchy USB to controller (needs a USB cable connected to PWM port). \\ Completely new LEVCAN parameters protocol with more possibilities. \\ Added trip statistics menu to controller: \\ -Wh regen/used/total. \\ -Ah regen/used/total. \\ -Estimated motor efficiency realtime and average. \\ -Calculated motor torque (on shaft). \\ Temperature measurement now calculates t-sensor resistance. \\ Improved kV detection. \\ Fixed 'bug' with long brake response on slow current change speed for acceleration limit. \\ Defaults for all ports now OFF. \\ Added brake button % (percentage of brake phase current for button-brake). \\ Added brake on released throttle (brake phase current). \\ Motor inductance and resistance detection for MTPA. \\ MTPA logic (works good only with IPM motors). \\ Fixed FOC FW to be triggered at stop when braking. \\ Added more control CAN commands. \\ Added more parameters that could be requested from controller on CAN bus. \\ Added more logger parameters. \\ Added hall filter settings to debug stuttering. \\ Added prefix selection for controller name. \\ === v0.8.2 \\ Added log header option. \\ Added translation for some messages (RU). \\ Added error messages for throttle/brake detection.</hidden></WRAP> \\ 
 + 
 +**uLight v0.6.1** [[https://drive.google.com/file/d/1o9B2Rp_icaKo9ZB6FUlDLZCm2CMNcFtG/view?usp=sharing|{{:en:firmware:file.png?nolink&23x32|Download}}]] \\ <WRAP><hidden onHidden="Show change log">New LEVCAN parameters protocol. \\ Fixed PWM IO settings,  now they do work. \\ Added temperature sensor thresholds, they work as virtual button for functions. \\ Added ability to send button inputs to CAN bus. \\ Main program source code published on GitHub: \\ https://github.com/Nucular-tech/uLight</hidden></WRAP> \\ 
 + 
 +===== 31 August 2020 ===== 
 +Use configuration export before update, reset defaults after update and import configuration. \\  
 +**Display v0.60B** [[https://drive.google.com/open?id=1t3RWRRvL1RXPV7PmtLbE3XSfVM8-fswz|{{:en:firmware:file.png?nolink&23x32|Download}}]] \\ <WRAP><hidden onHidden="Show change log">
 Fixed throttle drop. \\ Small menu fixes. \\ LEVCAN updated. \\ Button setup simplified, by default all set to CAN mode. \\ Added exFAT support (but display still can be updated only from FAT32). \\ Added charge screen. \\ Added fast statistics type selection. \\ Added wider event window. \\ Mph stats fixed. Fixed throttle drop. \\ Small menu fixes. \\ LEVCAN updated. \\ Button setup simplified, by default all set to CAN mode. \\ Added exFAT support (but display still can be updated only from FAT32). \\ Added charge screen. \\ Added fast statistics type selection. \\ Added wider event window. \\ Mph stats fixed.
-</hidden></WRAP>|v0.7.18 [[https://drive.google.com/open?id=1WrKhLdjaPhV9bVOsywYRIUo4UPyyqCl7|{{:en:firmware:file.png?nolink&23x32}}]] \\  <WRAP><hidden onHidden="Show change log">Experimental logger added. \\  Fixed many charger glitches, however still have few. \\  Added soft start to charger and more safe phase detect. \\  Completely reworked field weakening, now should not have any hard braking after release. \\  Added minimum speed reference for speed PID. \\  Added RC PWM control on P1 port (throttle/brake). \\  Added more logger parameters. \\  Few important FOC control fixes, DC current should be calculated better under field weakening. \\  Fixed one weird ultra-rare bug in square mode. \\  LEVCAN operates on queues now, log time 2x faster when display updated. \\  Decreased DCi Ki default from 500 to 200. \\  Slightly decreased FW start point. \\  Added full debug info export. \\  Added logger mode selection and tuned logger start. \\  Removed first line from log for easy datazap upload. \\  Throttle / brake curves added (8 point configuration) with presets. \\  PAS extra scale added for additional modes. \\  Soft acceleration for cruise added, more shutdown triggers. \\  Cruise logic updated - phase current limited by selected mode, not throttle position. \\  Minimum cruise speed - limits cruise activation. \\  Cruise increment/decrement - control cruise speed with buttons ( port = CR+/CR-) \\  Cruise restore - recovery last saved cruise speed with button, activated only above min cruise speed. (port = CRr) \\  Power limit added to modes and battery configuration. 0 = power limit disabled. \\  Small menu fixes. \\  CAN inputs increased to 16. \\  Parameters export / import fixes. \\  12V shutdown fix.</hidden></WRAP>|31 August 2020 \\ Use configuration export before update, reset defaults after update and import configuration.| +</hidden></WRAP> \\  
-|v0.59B [[https://drive.google.com/open?id=1_qsufu1Xr6UQd-7GQBOX6ZCTGvvCfgOh|{{:en:firmware:file.png?nolink&23x32|Download}}]]| |18 March 2020 \\ HOTFIX for display speed sensor| +**Controller v0.7.18** [[https://drive.google.com/open?id=1WrKhLdjaPhV9bVOsywYRIUo4UPyyqCl7|{{:en:firmware:file.png?nolink&23x32}}]] \\  <WRAP><hidden onHidden="Show change log">Experimental logger added. \\  Fixed many charger glitches, however still have few. \\  Added soft start to charger and more safe phase detect. \\  Completely reworked field weakening, now should not have any hard braking after release. \\  Added minimum speed reference for speed PID. \\  Added RC PWM control on P1 port (throttle/brake). \\  Added more logger parameters. \\  Few important FOC control fixes, DC current should be calculated better under field weakening. \\  Fixed one weird ultra-rare bug in square mode. \\  LEVCAN operates on queues now, log time 2x faster when display updated. \\  Decreased DCi Ki default from 500 to 200. \\  Slightly decreased FW start point. \\  Added full debug info export. \\  Added logger mode selection and tuned logger start. \\  Removed first line from log for easy datazap upload. \\  Throttle / brake curves added (8 point configuration) with presets. \\  PAS extra scale added for additional modes. \\  Soft acceleration for cruise added, more shutdown triggers. \\  Cruise logic updated - phase current limited by selected mode, not throttle position. \\  Minimum cruise speed - limits cruise activation. \\  Cruise increment/decrement - control cruise speed with buttons ( port = CR+/CR-) \\  Cruise restore - recovery last saved cruise speed with button, activated only above min cruise speed. (port = CRr) \\  Power limit added to modes and battery configuration. 0 = power limit disabled. \\  Small menu fixes. \\  CAN inputs increased to 16. \\  Parameters export / import fixes. \\  12V shutdown fix.</hidden></WRAP> 
-|v0.58B [[https://drive.google.com/open?id=1flG5lh38JXpiff5m9LARawtYWax2_UW-|{{:en:firmware:file.png?nolink&23x32|Download}}]] \\  <WRAP><hidden onHidden="Show change log"> +\\ 
-Fixed 0V throttle issue. \\  Fixed charge statistics reset. \\  Added kmh/mph switch. \\  Added more parameters to info. lines on main screen. \\  Added hotkey mode for compatibility with controller speed functions. \\  Fixed contrast setting. \\  Added driving range, calculated from WH usage. \\  A lot of tiny fixes. + 
-</hidden></WRAP>|v0.7.12 [[https://drive.google.com/open?id=1CWe2jjZY92I95DE0Lcbp8z7g3EMlYwB0|{{:en:firmware:file.png?nolink&23x32}}]] \\ <WRAP><hidden onHidden="Show change log">Torque PAS fixes \\ Fixed configuration import for advanced modes \\ Added configuration selector from 1 to 9 \\ Import will show first line of configuration, you can put a comment here \\ Fixed N mode \\ Fixed motor wiggle at charger mode \\ Added more debug information</hidden></WRAP>|11 March 2020| +===== 18 March 2020 ===== 
-| |v0.7.9 [[https://drive.google.com/open?id=1C1fyi0ObSEc6bLKHCOQkymivMKTvnHkq|{{:en:firmware:file.png?nolink&23x32|Download}}]]|21 Nov 2019 \\ HOTFIXfixed NaN error for analog inputs.| +**Display v0.59B** [[https://drive.google.com/open?id=1_qsufu1Xr6UQd-7GQBOX6ZCTGvvCfgOh|{{:en:firmware:file.png?nolink&23x32|Download}}]] 
-|v0.57B [[https://drive.google.com/open?id=167Q_b2u363rgh6cu8HtXs1czgpUmATZW|{{:en:firmware:file.png?nolink&23x32|Download}}]] \\  <WRAP><hidden onHidden="Show change log">+\\ HOTFIX for display speed sensor \\ 
 + 
 +===== 11 March 2020 ===== 
 +**Display v0.58B** [[https://drive.google.com/open?id=1flG5lh38JXpiff5m9LARawtYWax2_UW-|{{:en:firmware:file.png?nolink&23x32|Download}}]] \\  <WRAP><hidden onHidden="Show change log"> 
 +Fixed 0V throttle issue. \\  Fixed charge statistics reset. \\  Added kmh/mph switch. \\  Added more parameters to info. lines on main screen. \\  Added hotkey mode for compatibility with controller speed functions. \\  Fixed contrast setting. \\  Added driving range, calculated from WH usage. \\  A lot of tiny fixes.</hidden></WRAP> \\ 
 +**Controller v0.7.12** [[https://drive.google.com/open?id=1CWe2jjZY92I95DE0Lcbp8z7g3EMlYwB0|{{:en:firmware:file.png?nolink&23x32}}]] \\ <WRAP><hidden onHidden="Show change log">Torque PAS fixes \\ Fixed configuration import for advanced modes \\ Added configuration selector from 1 to 9 \\ Import will show first line of configuration, you can put a comment here \\ Fixed N mode \\ Fixed motor wiggle at charger mode \\ Added more debug information</hidden></WRAP> \\ 
 + 
 +===== 21 Nov 2019 ===== 
 +HOTFIX, fixed NaN error for analog inputs. \\ 
 +**Controller v0.7.9** [[https://drive.google.com/open?id=1C1fyi0ObSEc6bLKHCOQkymivMKTvnHkq|{{:en:firmware:file.png?nolink&23x32|Download}}]] \\ 
 + 
 +===== 20 Nov 2019 ===== 
 +Export configuration (or make screenshots)after controller update do "Erase data storage" and rebootConfiguration will not be imported fully, some values will need to enter manually. \\ 
 +**Display v0.57B** [[https://drive.google.com/open?id=167Q_b2u363rgh6cu8HtXs1czgpUmATZW|{{:en:firmware:file.png?nolink&23x32|Download}}]] \\  <WRAP><hidden onHidden="Show change log">
 CAN buttons setup \\  Inverted inputs setup \\  Statistics reworked \\  Added filters for analog inputs CAN buttons setup \\  Inverted inputs setup \\  Statistics reworked \\  Added filters for analog inputs
-</hidden></WRAP>|v0.7.8 [[https://drive.google.com/open?id=1ecEndmMDlQ72-T18sJv5FfIhTUcqlRLr|{{:en:firmware:file.png?nolink&23x32|Download}}]] \\ <WRAP><hidden onHidden="Show change log">Big menu update \\ Control logic completely reworked for future compatibility with BMS \\ New default values for PIDs \\ DC-DC low voltage difference charge fixed \\ Inverted brake input added \\ Specific setup for 3 positional speed switch added (can work now as 1-2-3) \\ Button/switch select for usual speed select input \\ Save CRC calculation fixed \\ New speed mode - neutral \\ Speed increment and decrement added \\ Added t-sensor NTC 10k B:3380 \\ Reboot command added \\ Fixed field weakening over 126% \\ Fixed VBUS measuring, now it is at PWM frequency, significantly improved overvoltage protection \\ Added median VBUS filter \\ Added averaging of N-X ADC samples filter for throttle and brake \\ Fixed brake glitches \\ Current measuring fixes for better measuring on 6F board \\ When enable button configured controller will not turn-on anymore when power applied \\ Autodetect improved, more informative, short-circuit detect added and timeout fixed \\ Added lock-at-turn-on, will lock throttle untill password on-screen is entered \\ Voltage on phases detect added, will lock controls \\ UVLO added \\ Added "Advanced modes" menu with more specific options per mode \\ Personal throttle protection lock for CAN source or local \\ Motor temperature limit for charger (DC-DC)</hidden></WRAP>|20 Nov 2019 \\ Export configuration (or make screenshots), after controller update do "Erase data storage" and reboot. Configuration will not be imported fully, some values will need to enter manually.|+</hidden></WRAP> \\ 
 +**Controller v0.7.8** [[https://drive.google.com/open?id=1ecEndmMDlQ72-T18sJv5FfIhTUcqlRLr|{{:en:firmware:file.png?nolink&23x32|Download}}]] \\ <WRAP><hidden onHidden="Show change log">Big menu update \\ Control logic completely reworked for future compatibility with BMS \\ New default values for PIDs \\ DC-DC low voltage difference charge fixed \\ Inverted brake input added \\ Specific setup for 3 positional speed switch added (can work now as 1-2-3) \\ Button/switch select for usual speed select input \\ Save CRC calculation fixed \\ New speed mode - neutral \\ Speed increment and decrement added \\ Added t-sensor NTC 10k B:3380 \\ Reboot command added \\ Fixed field weakening over 126% \\ Fixed VBUS measuring, now it is at PWM frequency, significantly improved overvoltage protection \\ Added median VBUS filter \\ Added averaging of N-X ADC samples filter for throttle and brake \\ Fixed brake glitches \\ Current measuring fixes for better measuring on 6F board \\ When enable button configured controller will not turn-on anymore when power applied \\ Autodetect improved, more informative, short-circuit detect added and timeout fixed \\ Added lock-at-turn-on, will lock throttle untill password on-screen is entered \\ Voltage on phases detect added, will lock controls \\ UVLO added \\ Added "Advanced modes" menu with more specific options per mode \\ Personal throttle protection lock for CAN source or local \\ Motor temperature limit for charger (DC-DC)</hidden></WRAP>