Combined CAN and Serial boot loader
- johu
- Site Admin
- Posts: 6310
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 249 times
- Been thanked: 1307 times
- Contact:
Combined CAN and Serial boot loader
Just realized this has never been announced.
The boot loader can now utilize both, CAN and serial port for updating the firmware, see here: viewtopic.php?t=2094
The CAN protocol has been implemented on Damiens Canlogger7500 (perhaps also runs on Petes hardware) and also in a python script in the bootloader repo.
You can also find binaries there.
If you dare updating an already commissioned inverter you can user stm32_bootupdater from the previous version: viewtopic.php?t=1119
The boot loader can now utilize both, CAN and serial port for updating the firmware, see here: viewtopic.php?t=2094
The CAN protocol has been implemented on Damiens Canlogger7500 (perhaps also runs on Petes hardware) and also in a python script in the bootloader repo.
You can also find binaries there.
If you dare updating an already commissioned inverter you can user stm32_bootupdater from the previous version: viewtopic.php?t=1119
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- muehlpower
- Posts: 642
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 12 times
- Been thanked: 120 times
Re: Combined CAN and Serial boot loader
If I have understood the current developments correctly, I will no longer need an ESP8266 in the future because everything runs via CAN. How should I proceed if I have a bare LDU board or want to bring an old one up to date. I have an InnoMaker USB2CAN module, ST-Link V2 and STM32CubeProgrammer on the computer, as well as physical access to the board. What else do I need?
- johu
- Site Admin
- Posts: 6310
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 249 times
- Been thanked: 1307 times
- Contact:
Re: Combined CAN and Serial boot loader
Yes that's correct.
You will need a peer for CAN communication. Either some CAN adapter that is supported by oic or an ESP32 with CAN transceiver and the firmware linked above. Pete has made a small board and Damien a larger one.
Apart from that you need this boot loader and a recent firmware like 5.27.R that's it
You will need a peer for CAN communication. Either some CAN adapter that is supported by oic or an ESP32 with CAN transceiver and the firmware linked above. Pete has made a small board and Damien a larger one.
Apart from that you need this boot loader and a recent firmware like 5.27.R that's it
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- uhi22
- Posts: 950
- Joined: Mon Mar 14, 2022 3:20 pm
- Location: Ingolstadt/Germany
- Has thanked: 143 times
- Been thanked: 535 times
Re: Combined CAN and Serial boot loader
Would be helpful to have links to the different options for Interfaces between Win10 and CAN. I have no idea at the moment, should create a wiki for this.
Github: http://github.com/uhi22 --- Patreon: https://www.patreon.com/uhi22
-
- Posts: 544
- Joined: Mon Feb 24, 2020 8:59 pm
- Location: Ireland
- Has thanked: 330 times
- Been thanked: 72 times
Re: Combined CAN and Serial boot loader
Does this relate to Zombieverter also, or might it in future?
- johu
- Site Admin
- Posts: 6310
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 249 times
- Been thanked: 1307 times
- Contact:
Re: Combined CAN and Serial boot loader
I think its liboi version might be too old, apart from that it should work just as well
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- johu
- Site Admin
- Posts: 6310
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 249 times
- Been thanked: 1307 times
- Contact:
Re: Combined CAN and Serial boot loader
Some update to the boot loader, now v1.2 is latest
viewtopic.php?t=5223
viewtopic.php?t=5223
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 266
- Joined: Mon Jan 18, 2021 12:39 pm
- Location: Edinburgh, Scotland, UK
- Has thanked: 45 times
- Been thanked: 80 times
Re: Combined CAN and Serial boot loader
Looks like there is a tagged v1.3 release but no binaries. Is v1.3 ready for general use?
- johu
- Site Admin
- Posts: 6310
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 249 times
- Been thanked: 1307 times
- Contact:
Re: Combined CAN and Serial boot loader
Oh. Yes it's tested
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 266
- Joined: Mon Jan 18, 2021 12:39 pm
- Location: Edinburgh, Scotland, UK
- Has thanked: 45 times
- Been thanked: 80 times
- johu
- Site Admin
- Posts: 6310
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 249 times
- Been thanked: 1307 times
- Contact:
Re: Combined CAN and Serial boot loader
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Bigpie
- Posts: 1718
- Joined: Wed Apr 10, 2019 8:11 pm
- Location: South Yorkshire, UK
- Has thanked: 77 times
- Been thanked: 377 times
Re: Combined CAN and Serial boot loader
I'll be starting with https://github.com/jsphuebner/stm32-template, will modify the code for 25MHz unless there's a compelling reason to switch the crystal.
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery