I finally got around to publishing the charger firmware.
Janosch has added unit tests to it for that finishing touch, thanks very much!
https://github.com/jsphuebner/stm32-teslacharger
Please understand that with this step I completely withdraw from development and support of this firmware and would be happy to find a new maintainer.
Tesla charger STM32 firmware now open source
- johu
- Site Admin
- Posts: 5791
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1025 times
- Contact:
Tesla charger STM32 firmware now open source
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 6
- Joined: Mon Dec 05, 2022 5:36 am
- Has thanked: 5 times
- Been thanked: 6 times
Re: Tesla charger STM32 firmware now open source
Thank you for everything that you've done, Johannes. It's such a terrific effort.
Re: Tesla charger STM32 firmware now open source
hi, can someone build the .bin and .hex for me, i'm messing around with the terminal and cubeIDE but i keep getting the same error messages. I would like to try this version but I just can't get it to build.
thx
thx
-
- Posts: 211
- Joined: Sun Feb 20, 2022 4:23 am
- Location: N. Wiltshire. UK
- Has thanked: 16 times
- Been thanked: 101 times
Re: Tesla charger STM32 firmware now open source
Files below, but it's version 1.17.R which I think you are already using.
- Attachments
-
- stm32_charger.hex
- (65.97 KiB) Downloaded 37 times
-
- stm32_charger.bin
- (23.44 KiB) Downloaded 48 times
Re: Tesla charger STM32 firmware now open source
Thx men!
I'm the meantime I got the building also working! But when I make some changes in the chargercan file and build it and then upload the changes are not working. I changed the DC set current to ac set current but when I flash the new bin file the DC current is still changing via the can messages and not the AC current.
I think the flashing via the web interface is not working. I got the upload complete message followed bij 0% until 100% so normal that would be ok. But maybe got a old bootloader and the flashing via web is not working. Try tomorrow via stlink.
I'm the meantime I got the building also working! But when I make some changes in the chargercan file and build it and then upload the changes are not working. I changed the DC set current to ac set current but when I flash the new bin file the DC current is still changing via the can messages and not the AC current.
I think the flashing via the web interface is not working. I got the upload complete message followed bij 0% until 100% so normal that would be ok. But maybe got a old bootloader and the flashing via web is not working. Try tomorrow via stlink.
- johu
- Site Admin
- Posts: 5791
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 157 times
- Been thanked: 1025 times
- Contact:
Re: Tesla charger STM32 firmware now open source
Ah, what it does is checking whether the canmap loaded successfully from flash. Only if it didn't it will execute the code in chargercan. That change was necessary to allow user mappings again. You'd need to erase the second-to-last flash page for it to be reinitialized.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9