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 [2023/05/30 13:10]
dmitry
en:firmware [2024/04/08 08:38] (current)
vasilisk [2 Feb 2024]
Line 1: Line 1:
 ~~Title: Firmware~~ ~~Title: Firmware~~
  
-Copy files to root directory of microSD card (filesystem FAT32), insert into On-board computer (contacts on top) and run the update process.\\ 
 <WRAP important 60%>\\ <WRAP important 60%>\\
-**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. 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.\\+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.
  
-If you already have firmware version **v0.75B** and higher installed in the On-board computer, then the order in which devices are updated does not matter, since in firmware **v0.75B** the ability to force the update of the controller and other devices connected to the CAN bus through the menu of the On-board computer was added. You can read more about **Forced update of devices** in this [[en:display:start#firmware_update|section]].+If you already have firmware version **v0.75B** and higher installed in the On-board computer, then the order in which devices are updated does not matter, since in firmware **v0.75B** the ability to force the update of the controller and other devices connected to the CAN bus through the menu of the On-board computer was added. You can read more about **Forced update of devices** in this [[:en:display:start#firmware_update|section]].
  
 If your On-board computer has firmware **v0.60B** or lower and Controller **v.7.18** and lower, first, need to update all devices but display. Because menu protocol is new and old devices will not be visible in the menu. After the update is finished hold the left button few seconds to exit the updated device menu. If the button does not work you may need to reset the power supply or replug CAN cable in the On-board computer. After everything is updated — update the On-board computer. Make a controller reset (load defaults) after the update. We recommend running motor detects again on controllers. Detection of throttle/brake connected to display should be done in the On-board computer menu. If your On-board computer has firmware **v0.60B** or lower and Controller **v.7.18** and lower, first, need to update all devices but display. Because menu protocol is new and old devices will not be visible in the menu. After the update is finished hold the left button few seconds to exit the updated device menu. If the button does not work you may need to reset the power supply or replug CAN cable in the On-board computer. After everything is updated — update the On-board computer. Make a controller reset (load defaults) after the update. We recommend running motor detects again on controllers. Detection of throttle/brake connected to display should be done in the On-board computer menu.
  
-Instruction of update of firmware: \\+Copy files to the root directory of the microSD card with FAT32 filesystem (how to format microSD to FAT32 on Windows and Mac you can read [[https://www.lifewire.com/format-sd-card-to-fat32-6666166|here]]), insert into On-board computer (contacts on top) and run the update process.\\ 
 + 
 +Instruction of update of firmware:\\
 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 21: Line 22:
 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:\\ 
 +===== 8 April 2024 ===== 
 +**uLight v0.6.8** [[https://drive.google.com/file/d/1jCYlLt1iZDSI1UAnWz7-A2rj4AgU_0-h/view?usp=drive_link|{{:en:firmware:file.png?nolink&23x32}}]]\\ 
 +Unzip before update!\\ 
 +Added brake 'Brk' to button inputs for functions.\\ 
 +Removed reverse when CAN buttons active.\\ 
 + 
 + 
 +===== 2 Feb 2024 ===== 
 +**uLight v0.6.6** [[https://drive.google.com/file/d/1UuvFxdCsQaef-B8nJTGs6R1u6aOT_ZpW/view?usp=drive_link|{{:en:firmware:file.png?nolink&23x32}}]]\\ 
 +LEVCAN updated.\\ 
 +Added to functions 4 configurable signals with button input.\\ 
 +Added configurable logic: AND, NOT, OR, XOR, as another button type.\\ 
 + 
 +===== 22 Dec 2023 ===== 
 +**uLight v0.6.5** [[https://drive.google.com/file/d/1PTKczUdl8sG7CAF8gYwZN_qpFoxGPooY/view?usp=drive_link|{{:en:firmware:file.png?nolink&23x32}}]]\\ 
 +Small update:\\ 
 +Added brake button selection for only light indication without actual braking.\\ 
 + 
 + 
 +===== 30 September 2023 ===== 
 + 
 +Recommended to update display first! Export configurations before update and import after to save your settings. 
 + 
 +**Controller v0.8.13** [[https://drive.google.com/file/d/13-ASUymV1ibcfdqHU3tDsIVBs2fyGhqX/view?usp=sharing|{{:en:firmware:file.png?nolink&23x32}}]] 
 + 
 +<WRAP><hidden onHidden="Show change log"> Added reset handlers\\ 
 +Added quick battery voltage setup\\ 
 +Fixed dc-dc mode for P24F\\ 
 +Added LR detect indication\\ 
 +Throttle/brake error replaced with 'not connected'\\ 
 +Added temperature sensor detect logic when sensor disabled\\ 
 +Added access level selection\\ 
 +Added boost mode duration\\ 
 +Fixed active braking stutter\\ 
 +Adjusted square control duty cycle\\ 
 +</hidden></WRAP>\\ 
 + 
 + 
 +**Display v0.82B** [[https://drive.google.com/file/d/1gXyGXUsIkZL6e9F7os2gl7ZMKsPlCJWi/view?usp=sharing|{{:en:firmware:file.png?nolink&23x32}}]]\\ 
 +<WRAP><hidden onHidden="Show change log"> Added access level menu support\\ 
 +Fixed some freezes\\ 
 +Fixed displayed mode with multiple motors\\ 
 +</hidden></WRAP> 
 + 
 +===== 21 July 2023 ===== 
 + 
 +**Controller v0.8.12** [[https://drive.google.com/file/d/1U9SJjcYBt30ljX7s3964X8MJ8dTuhn5V/view?usp=drive_link|{{:en:firmware:file.png?nolink&23x32}}]] 
 + 
 +<WRAP><hidden onHidden="Show change log"> Added MPPT solar logic\\ 
 +Added throttle lock when brake pressed\\ 
 +Fixed FOC 'square' noise\\ 
 +The added neutral mode by timer\\ 
 +The button now turns off without the need to release it\\ 
 +Active braking fix when not enabled (stutter fix too?)\\ 
 +Added motor gear ratio\\ 
 +Speed kp changed the default to 0.1\\ 
 +Added separate throttle mode power+torque\\ 
 +Fixed storage erase when both banks are full\\ 
 +Increased ampere offset at startup for plate\\ 
 +Added power indication in the Converter menu\\ 
 +Small parameter text fixes\\ 
 +Added continuous logging mode\\ 
 +Temperature calculation moved to a separate file\\ 
 +Current calibration now only saved when the test finished\\ 
 +Added error when current calibration out of range\\ 
 +Battery min charge current can be set to 0 now\\ 
 +Added NTC10k3500\\ 
 +Added file flush when log rate slow\\ 
 +Added ADC sample timetable\\ 
 +Logger settings offset calculated automatically\\ 
 +FOC ADC current sample for P24F changed from ADC3 to ADC1+2\\ 
 +Remove low speed for changing HZ mode\\ 
 +Added cruise-ready flag\\ 
 +Added throttle lock when brake pressed\\ 
 +Added low ripple PWM mode (for FOC)\\ 
 +DMA removed, because of triple buffering (noise fix)\\ 
 +Added throttle-locked flag\\ 
 +SVM sector selection moved to a separate function\\ 
 +Added lock flags index by function name\\ 
 +Increased default throttle response\\ 
 +Advanced modes now have default throttle = torque\\ 
 +</hidden></WRAP> 
 + 
 +===== 1 July 2023 ===== 
 + 
 +**uLight v0.6.4** [[https://drive.google.com/file/d/1dg9E3XgZGXgRIvXZxEi_dLgEqXYJwoki/view?usp=sharing|{{:en:firmware:file.png?nolink&23x32}}]] 
 + 
 +<WRAP><hidden onHidden="Show change log"> Added export/import\\ 
 +Added kty84 tsensor\\ 
 +Added hazard switch logic, works when everything is off\\ 
 +Added brake strobe effect\\ 
 +Added data that can be requested over LEVCAN\\ 
 +</hidden></WRAP> 
 ===== 7 May 2023 ===== ===== 7 May 2023 =====
  
-**Controller v0.8.11** [[https://drive.google.com/file/d/1F4npstGr8xUNLhIMTHmfKwvUwPzQjh13/view?usp=share_link|{{:en:firmware:file.png?nolink&23x32}}]]\\+**Controller v0.8.11** [[https://drive.google.com/file/d/1F4npstGr8xUNLhIMTHmfKwvUwPzQjh13/view?usp=share_link|{{:en:firmware:file.png?nolink&23x32}}]]
  
-<WRAP><hidden onHidden="Show change log"> +<WRAP><hidden onHidden="Show change log"> v0.8.10:\\
-v0.8.10:\\+
 Added Adaptive throttle mode (by default with 6%)\\ Added Adaptive throttle mode (by default with 6%)\\
 Added Power throttle mode\\ Added Power throttle mode\\
Line 59: Line 153:
 Added parameters size check as warning\\ Added parameters size check as warning\\
 Fixed inputs array position\\ Fixed inputs array position\\
-Motor LR moved to last detection position\\+Motor LR moved to the last detection position\\
 Added local port input filter\\ Added local port input filter\\
 Added Enable Throttle function (opposite to Disable Throttle)\\ Added Enable Throttle function (opposite to Disable Throttle)\\
Line 73: Line 167:
 Added (by default) MTPA mode by real Q current\\ Added (by default) MTPA mode by real Q current\\
 Small FOC optimizations\\ Small FOC optimizations\\
-Added TIM1 as variable to linker script\\ +Added TIM1 as variable to linker script\\ 
-Hall code moved to upcounter while FOC in downcounter (buzz fix #1)\\ +Hall code moved to upcounter while FOC in down-counter (buzz fix #1)\\ 
-DMA now in circular mode, it needs less code with same effect.\\+DMA is now in circular mode, it needs less code with same effect.\\
 Added noise suppression in vq vd to decrease sector change (buzz fix #2)\\ Added noise suppression in vq vd to decrease sector change (buzz fix #2)\\
-Storage updated, improved reliability and now with version system\\+Storage updated, improved reliabilityand now with version system\\
 Fixed invisible fault flag in logger\\ Fixed invisible fault flag in logger\\
 Updated logger defaults\\ Updated logger defaults\\
 v0.8.11:\\ v0.8.11:\\
-Small optimisations\\+Small optimizations\\
 Logger FOC parameters replaced to filtered values in fast mode\\ Logger FOC parameters replaced to filtered values in fast mode\\
 Data Storage unit-test updated\\ Data Storage unit-test updated\\
-Fixed few bugs in Data Storage\\+Fixed few bugs in Data Storage\\
 LEVCAN updated with recent bugfixes\\ LEVCAN updated with recent bugfixes\\
 Added additional tests for Data Storage\\ Added additional tests for Data Storage\\
 Startup junk removed\\ Startup junk removed\\
-Logger fixed hang on display disconnect\\+Logger fixed hang-on display disconnect\\
 Logger cache moved to SRAM2\\ Logger cache moved to SRAM2\\
 FOC pids rolled back to v0.8.9\\ FOC pids rolled back to v0.8.9\\
Line 94: Line 188:
 </hidden></WRAP>\\ </hidden></WRAP>\\
 **Display v0.80B** [[https://drive.google.com/file/d/1Qx8F2xWjExG4ivIftwxbXBRI-vnmy3ez/view?usp=share_link|{{:en:firmware:file.png?nolink&23x32}}]]\\ **Display v0.80B** [[https://drive.google.com/file/d/1Qx8F2xWjExG4ivIftwxbXBRI-vnmy3ez/view?usp=share_link|{{:en:firmware:file.png?nolink&23x32}}]]\\
-<WRAP><hidden onHidden="Show change log"> +<WRAP><hidden onHidden="Show change log"> Changed voltage drop saving\\
-Changed voltage drop saving \\+
 Fixes in LEVCAN\\ Fixes in LEVCAN\\
 Fixes in flash saving\\ Fixes in flash saving\\
 Fixed RPM in info lines\\ Fixed RPM in info lines\\
-v0.80B: Data Storage updated with latest fixes +v0.80B: Data Storage updated with latest fixes </hidden></WRAP> 
-</hidden></WRAP>\\+
 ===== 8 Febrary 2023 ===== ===== 8 Febrary 2023 =====