with a procedure to easily upload code onto Olimex chip
What's an Olimex? Is Olimex to ESP8266, what Blue Pill is to STM32?
arber333 wrote: ↑Tue Dec 31, 2019 10:48 pmNow when the bootloader and the code are on the chip it is already a functional inverter, however the parameters are not correct. They are default settings. They need to be customized and the inverter tuned to your intended motor.
Ahhhhhh...
Gotcha.
So, the ST-Link is only good for replacing the whole bootloader at a time, and can only be done via pre-compiled hex files?
So, on a desert island without any more equipment than I currently have, if I wanted to, I still could change the settings in, I dunno, some pre-compiled source code thing (I presume those are some of those other files in Johu's Github folder where I found the .hex file), then recompile it myself, then use ST-Link to reload the whole hex file, and I could technically do that every time I wanted to change a parameter?
I wasn't (might still not be) understanding why there are two different and necessary methods for adding files to the same platform (STM32). Why not just use the USB-UART or just use ST-LINK, why isn't there a solution that does both? Just, not how it's done?
That also can be done in various ways, which is the beauty of open source.
If Open Source was an online shoe store: "There are five different ways to measure your shoe size, all of which use an incompatible set of numbers between 1 and 20. It's important to do some reading on which method you think you've learned. Any pair of shoes could use any of these methods and are not labelled, you'll have to do some research about their manufacturing history to determine what method they likely used." I JUST WANT TO BUY SOME SHOES!
Half of this is because I'm curious. Half of it is, since I don't want to be asking every possible question I was hoping to understand things at a bit broader view so I can answer more of my own questions when I describe how and why things are being done.
4. You can use Wifi gizmo and be free of choice which OS or PC you use, you can even use your Apple or Android phone.
Oh, I think I get it after the 3 of you explained what I thought were things I already understood. I was missing a big piece of the puzzle.
I was thinking the web interface was on a computer that somehow connects to the ESP8266, as if the ESP8266 was just a receiver. It wasn't making sense to me how you couldn't just use the web interface with a CH340 directly. I thought the web interface was just, I dunno, some file you could load in your browser and it would somehow get to the USB then to the UART through that.
I didn't get that the web interface requires a server to host it, not just a file that a browser reads directly. So, to use the web interface, you must have a webserver that connects to the UART. This webserver can either be on your PC and configured to match the way that the web interface Johannes wrote (and then forward your ports, etc), or, that's why the wifi thing is there. My missing piece was that the ESP8266 is not just a UART-USB-wifi interface,
it's its own miniature webserver that we push Johannes' web interface to. It's hosted right on the ESP8266(?) I.E. not on your PC, you just use your PC's (or whatever's) browser to connect to the server being hosted on the ESP8266?
This is making a lot more sense now. And all past advice about how Wifi isn't necessary, but way easier makes mores sense.
I thought the only point of wifi was the wireless aspect of it. So I was like "I can run wires, that's fine, no big deal". I completely missed the miniature web server part of why it's used.
You could, I suppose, have a mini web server some other non-wifi way and connect with wires to a computer, but at that point it wouldn't be USB, it'd be a network jack, and, at that point, why would you bother because you need some other MCU platform anyways and it might as well be the wireless one. Or you have to set up your PC /Linux to have that server. So, regardless,
to use the web interface, a web server is necessary, and by far, it's easier to use a little MCU than configure that and forward ports.
You could also take advantage of the hard work done by member Dima and install his windows based web interace. Installs on Windows 10 but have not tried earlier versions. Ir avoids the need to install Apache web server.
Ahh, neat. Well since I can't find my FTDI converter, that's a solid plan B.
...
Plan A - I ordered a WeMOS D1 Mini, can get one here in 2 days for $10. Not as cheap as China but whatever I don't want to wait 3 weeks for it to arrive.
Maybe rounding the home stretch here.