firmware flashing questions

Post Reply
User avatar
madius
Posts: 23
Joined: Mon May 18, 2020 3:15 pm
Has thanked: 12 times

firmware flashing questions

Post by madius »

Hi!

sorry if I'm asking questions already answered, but as much as I read hundreds of posts on the forum I can't figure out a couple of things regarding the different firmwares needed to get our openinverter running.
I'm a hardware guy so I'm a little bit slow with firmwares.

1_ We use a STM32, which have native bootloader right? why the need to have a dedicated bootloader?

2_ First I must flash the STM32 with a stlink and then flash the wifi module (ESP8266) with the arduino environment?

3_ Is it correct to load the bootloader with the st-link, flash the wifi module and then with the web interface load the openinverter code? or the procedure is different?

thank you very much for your time
MattsAwesomeStuff
Posts: 874
Joined: Fri Apr 26, 2019 5:40 pm
Has thanked: 280 times
Been thanked: 165 times

Re: firmware flashing questions

Post by MattsAwesomeStuff »

madius wrote: Tue Nov 29, 2022 11:31 pm1_ We use a STM32, which have native bootloader right? why the need to have a dedicated bootloader?
Mmm, I know the gist of the answer but not the specifics. But yes that's correct, it's needed. It will not work if you don't flash a new bootloader before you flash the actual openinverter software.

I only remember as much as, I didn't know how to do it 3 years ago either.

Maybe this is helpful, or, Arber's post a few posts later on? It describes how to flash: https://openinverter.org/forum/viewtopi ... 4928#p4928

I think the answer to WHY we don't use the native bootloader is here, but I don't understand it well enough to explain it:

https://openinverter.org/forum/viewtopi ... 4991#p4991

...

Later on in that thread (it's not even a general thread for this, it's a specific thread for specific hardware that I wasn't able to use, because there were no instructions anywhere else), I realized you have to program a separate bootloader on the STM32 before you can upload it, and, if you don't mind reading my mistakes along the way, Jack posts a tutorial and I detail where to get bootloader vs. inverter files from: https://openinverter.org/forum/viewtopi ... 5750#p5750

...

Hopefully that helps. If not, I can't explain it, I just followed directions. And, that might be 3 years out of date.
Post Reply