Broken Software! Is there a master file?

Discussion about various user interfaces such as web interface, displays and apps
Post Reply
Kitlacey
Posts: 24
Joined: Wed Jul 05, 2023 2:41 pm

Broken Software! Is there a master file?

Post by Kitlacey »

Hi all,

I have used Zero EV/Fellten SDUs in the past, and they suggested that I could use an open inverter board with their software.

Unfortunately, I tried and instead, corrupted the software on the Open Inverter board. Now, when I connect to the board's wifi, I get the two lines asking to upload software or firmware.

How do I get back to accessing all the parameters like i had when the board was delivered? Does anyone have a file and a method please?

Thanks in advance
User avatar
nubster
Posts: 115
Joined: Sat Oct 29, 2022 7:20 pm
Location: Los Angeles
Has thanked: 61 times
Been thanked: 17 times
Contact:

Re: Broken Software! Is there a master file?

Post by nubster »

I wrote up a how-to document here based on my experience from this post.

The process for flashing the STM32 and ESP32/ESP8266 modules should be the same or similar, but if you're trying to reload the Zero EV/Felton software, you'll need to use the corresponding firmware files instead.

You can also find attached the SDU parameters that came preloaded on my last board.
You do not have the required permissions to view the files attached to this post.
Car/EV enthusiast, maker, builder, engineer, and lifelong student.

Owner | Founder: Westside EV
YouTube Channel
Kitlacey
Posts: 24
Joined: Wed Jul 05, 2023 2:41 pm

Re: Broken Software! Is there a master file?

Post by Kitlacey »

Thank you,

Is it possible to do any of this over wifi? When IU log onto the IP address i see this...

Image
nubster wrote: Sun Aug 06, 2023 10:22 pm I wrote up a how-to document here based on my experience from this post.

The process for flashing the STM32 and ESP32/ESP8266 modules should be the same or similar, but if you're trying to reload the Zero EV/Felton software, you'll need to use the corresponding firmware files instead.

You can also find attached the SDU parameters that came preloaded on my last board.
You do not have the required permissions to view the files attached to this post.
User avatar
johu
Site Admin
Posts: 6772
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 385 times
Been thanked: 1595 times
Contact:

Re: Broken Software! Is there a master file?

Post by johu »

This means the file system is not flashed.
I think it is easiest to use a software called curl
See here: viewtopic.php?p=3893#p3893
Necessary files are here: https://github.com/jsphuebner/esp8266-w ... aster/data

And yes you can do it over wifi.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Kitlacey
Posts: 24
Joined: Wed Jul 05, 2023 2:41 pm

Re: Broken Software! Is there a master file?

Post by Kitlacey »

Hi,

Nearly there!

I'm not a developer, so curl is very alien to me, I need a bit of spoon feeding.

I can't find a way to get curl on my mac. When I try searching online, I get some terminal instructions, but nothing seems to work when I try it.
johu wrote: Thu Aug 31, 2023 7:58 am This means the file system is not flashed.
I think it is easiest to use a software called curl
See here: viewtopic.php?p=3893#p3893
Necessary files are here: https://github.com/jsphuebner/esp8266-w ... aster/data

And yes you can do it over wifi.
User avatar
johu
Site Admin
Posts: 6772
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 385 times
Been thanked: 1595 times
Contact:

Re: Broken Software! Is there a master file?

Post by johu »

Do you have the version with soldered ESP32 module?

If so you can upload the attached file with the second Browse button (FileSystem)
You do not have the required permissions to view the files attached to this post.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Kitlacey
Posts: 24
Joined: Wed Jul 05, 2023 2:41 pm

Re: Broken Software! Is there a master file?

Post by Kitlacey »

I'm afraid I can't remember, but I think the version was soldered.

Order 1180

"Tesla™ SDU drop-in logic board (community edition)
- Checkbox: Include 2 MLX91209 c.."

I'll try what you've suggested
johu wrote: Thu Aug 31, 2023 9:24 am Do you have the version with soldered ESP32 module?

If so you can upload the attached file with the second Browse button (FileSystem)
Kitlacey
Posts: 24
Joined: Wed Jul 05, 2023 2:41 pm

Re: Broken Software! Is there a master file?

Post by Kitlacey »

I tried uploading that file and got the following error:

Update error: Bad Size Given

Does that give you any clues? Can I try something else?
johu wrote: Thu Aug 31, 2023 9:24 am Do you have the version with soldered ESP32 module?

If so you can upload the attached file with the second Browse button (FileSystem)
User avatar
johu
Site Admin
Posts: 6772
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 385 times
Been thanked: 1595 times
Contact:

Re: Broken Software! Is there a master file?

Post by johu »

Note to myself: only suggest what you've tried yourself ;)

So no, some bug prevents uploading that bin file.

Maybe have someone do it for you? https://openinverter.org/wiki/Application_Support

I succeeded with platformio, so you'd need to install that on your Mac, then download this: https://github.com/Pete9008/esp32-web-i ... /tree/johu (Code -> Download Zip),

- extract zip
- open platformio..ini in an editor
- Remove line "upload_flags" and the 2 lines after and replace it by line "upload_port = 192.168.4.1"
- open a console in the directory where platformio.ini resides
- type "pio run --target uploadfs"
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Kitlacey
Posts: 24
Joined: Wed Jul 05, 2023 2:41 pm

Re: Broken Software! Is there a master file?

Post by Kitlacey »

OK, I got as far as replacing the line in the text file.

Can I have a little more guidance on the steps "- open a console in the directory where platformio.ini resides" and "- type "pio run --target uploadfs""

I've opened console but I'm not sure where to go from there. I assume from the edited text file, now containing the Inverter IP; it will launch the file and attempt to connect to the inverter if I'm on it's wifi.
johu wrote: Thu Aug 31, 2023 6:25 pm Note to myself: only suggest what you've tried yourself ;)

So no, some bug prevents uploading that bin file.

Maybe have someone do it for you? https://openinverter.org/wiki/Application_Support

I succeeded with platformio, so you'd need to install that on your Mac, then download this: https://github.com/Pete9008/esp32-web-i ... /tree/johu (Code -> Download Zip),

- extract zip
- open platformio..ini in an editor
- Remove line "upload_flags" and the 2 lines after and replace it by line "upload_port = 192.168.4.1"
- open a console in the directory where platformio.ini resides
- type "pio run --target uploadfs"
Kitlacey
Posts: 24
Joined: Wed Jul 05, 2023 2:41 pm

Re: Broken Software! Is there a master file?

Post by Kitlacey »

How do i use consol to upload this text file? Can you help?
User avatar
johu
Site Admin
Posts: 6772
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 385 times
Been thanked: 1595 times
Contact:

Re: Broken Software! Is there a master file?

Post by johu »

I don't know how to rewrite this to become clearer. Also I've never used a Mac so I don't know if what I mean is even called "console" there

Try searching the web for "platformio mac" or "vscode mac"
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
johu
Site Admin
Posts: 6772
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 385 times
Been thanked: 1595 times
Contact:

Re: Broken Software! Is there a master file?

Post by johu »

Well, to be honest this was harder than I thought.
Did a session with Kit and it took me one hour to get going at all. I ended up downloading python for windows. That only installed if you uncheck the "Admin" option"
Then I installed platformio via pip

Code: Select all

python -m pip install -U platformio
Then I had to modify the line endings of platformio.ini to be windowsy and also changed the port to 192.168.4.1 like said above
And then ran

Code: Select all

pio run --target uploadfs
Then disabled the windows firewall and ran it again ;)

Needless to say that every step took ages :x But in the end all was working
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Post Reply