smbusb
stm32-bootloader
Our great sponsors
smbusb | stm32-bootloader | |
---|---|---|
5 | 2 | |
132 | 839 | |
- | - | |
0.0 | 0.0 | |
about 3 years ago | over 1 year ago | |
C | C | |
GNU Lesser General Public License v3.0 only | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
smbusb
-
18650 for laptop
On any BMS there will be a chip, sometimes 2, which are the brains of the operation. The TI bq-series are pretty common. Some of these have public documentation, some are private. A lot of them are password-protected if you want to overwrite the original programming. There are various tools for interacting with them, from free open source to paid You don't always need to reset it, sometimes just replacing the cells then shorting across the switching side of the output is enough. But without knowing what you're getting into it's a gamble.
-
(UK/EU) Looking to buy dead T430/T530/W530 battery or bare circuit board for re-cell project
Sorry, Vantage is Lenovo software, but it has a function to improve battery gauge accuracy. It made more sense when mentioned in the Thinkpad forum, but I figured I'd crosspost my request here too. That being said they of course did the major dick move of only ever adjusting measured capacity down, even if the cells were literally at 4.1V when the battery said it had run out. Therefore, I first used the smbusb utility to edit the dynamic battery data and blank out the battery full charge capacity (which actually sets it to the absolutely ridiculous 65535Wh). After that when running the gauge reset in Vantage the battery was more than happy to report a more realistic 102.78Wh of actual capacity, despite still reporting a design capacity of only 93.6Wh which thankfully didn't raise any issue. Unfortunately while trying to experiment with the BMS firmware further to try and adjust the voltage thresholds to better fit the new cells, I corrupted something. The BMS still reports and sort of works but whenever I try to make further edits to the firmware I am greeted with errors.
I've been playing around with my failing LGC 70++ 9-cell battery after re-celling it with SANYO 3500mAh cells. Had some great success with a tool called smbusb (got the battery to report as 105WH after a gauge reset in Vantage) but I think I killed the BMS eventually by flashing some wrong values and corrupting the firmware and can't seem to get it back. I've looked around eBay but most of the batteries on there are either for T410/T420 (yes I know you can make them work in T430, but they might use a different BMS chip) or ridiculously expensive for 10-year old batteries. So here I am hoping that someone here has an old, damaged, dead or unloved battery that I can take off their hands.
-
Is my battery fake? Were X230 batteries actually made as late as mid-2018? (more information in comments)
You can use SMBusb and something like an FX2LP. Then to connect it, I would just use some normal Dupont 0.1 connectors (make sure they have female -> male), or of course any piece of wire if you don't mind spending more time trying fiddling about.
-
Need universal laptop battery charger: any advice?
See HERE for a device that lets you connect to the data pins on laptop packs and read info from them. Some packs you can find pinouts online, others you have to figure out yourself.
stm32-bootloader
-
Writing bootloaders for microcontrollers
Here's a bootloader "library" that might be useful. You need to add your own code to get the actual firmware image from somewhere (UART, an SD card, or whatever), and then you just pass it off to the "library" for flashing.
-
Difference between a programmer and a USB-UART adapter
Yes, unless you have something like an STM32 with a built-in bootloader. This can be used to update the regular bootloader. For example, this bootloader is capable of jumping to the built-in bootloader from software (as opposed to the "regular" method of pulling certain pins high or low at reset to cause the processor to run the built-in bootloader from ROM rather than the regular bootloader from flash).
What are some alternatives?
spiffs - Wear-leveled SPI flash file system for embedded devices
nanopb-example - This is a simple project created to test the capabilities of Google's protobuf C implementation, nanopb.
IronOS - Open Source Soldering Iron firmware
Arduino_Core_STM32 - STM32 core support for Arduino
HeadsetControl - Sidetone and Battery status for Logitech G930, G533, G633, G933 SteelSeries Arctis 7/PRO 2019 and Corsair VOID (Pro) in Linux and MacOSX
flipperzero-firmware - Flipper Zero firmware source code
pi-battery-widget - Displays a battery icon on the desktop panel system tray for the Red Reactor
embox - Modular and configurable OS for embedded applications
nuttx - Apache NuttX is a mature, real-time embedded operating system (RTOS)
NanoVNA - Very Tiny Palmtop Vector Network Analyzer
libusb_stm32 - Lightweight USB device Stack for STM32 microcontrollers