Combined CAN and Serial boot loader

Post Reply
User avatar
johu
Site Admin
Posts: 5791
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1023 times
Contact:

Combined CAN and Serial boot loader

Post by johu »

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
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
muehlpower
Posts: 575
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 12 times
Been thanked: 103 times

Re: Combined CAN and Serial boot loader

Post by muehlpower »

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?
User avatar
johu
Site Admin
Posts: 5791
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1023 times
Contact:

Re: Combined CAN and Serial boot loader

Post by johu »

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
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
uhi22
Posts: 601
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 91 times
Been thanked: 412 times

Re: Combined CAN and Serial boot loader

Post by uhi22 »

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.
nkiernan
Posts: 509
Joined: Mon Feb 24, 2020 8:59 pm
Location: Ireland
Has thanked: 284 times
Been thanked: 65 times

Re: Combined CAN and Serial boot loader

Post by nkiernan »

Does this relate to Zombieverter also, or might it in future?
User avatar
johu
Site Admin
Posts: 5791
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1023 times
Contact:

Re: Combined CAN and Serial boot loader

Post by johu »

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
Post Reply