Giter Club home page Giter Club logo

Comments (11)

StevenBoelhouwer avatar StevenBoelhouwer commented on June 6, 2024 2

If you install the correct drivers and connect GPIO0 to GND when powering the ShineWiFi-X on it will let you flash the firmware over the onboard USB serial. No need to desolder and resolder anything.

from openinvertergateway.

StevenBoelhouwer avatar StevenBoelhouwer commented on June 6, 2024 1

Get the correct (USB UART) driver here: https://www.maxlinear.com/support/design-tools/software-drivers.
Shorten the GPIO0 to GND on powering up and its ready to be flashed. From top of my head the serial speed should be set to "115200".

I'm running a forked version of this code a couple of months already. I've added HomeAssistant discovery and WiFiManager (for easier setup of WiFi) to my code but it needs cleaning up before I want to initiate a pull request.

from openinvertergateway.

Cruzxia avatar Cruzxia commented on June 6, 2024

from openinvertergateway.

jwortelboer avatar jwortelboer commented on June 6, 2024

Hi Steven, interesting! I was about to start soldering until I read your response. Question, what is 'the correct' driver? Windows 10 recognizes the chip and installs a default serial port driver. That is not working out of the box for me.
(I am shortening the GPIO to GND during powerup, is that what you did too? Maybe some additional magic in the platform.ini perhaps.... Please share the magic ingredient how to make this work!)

from openinvertergateway.

jwortelboer avatar jwortelboer commented on June 6, 2024

Thanks Steven, that worked like a charm! Uploading worked with everything default. No soldering, just shortening the two pin holes during boot and voila. Now I have to wait till daylight to see the code running on my inverter ;-) Yes the WiFi setup could be more generic, Configuration during compile time has some drawbacks, but this is already great fun to play with. Looking forward to your additions/modifications.

from openinvertergateway.

achim-70 avatar achim-70 commented on June 6, 2024

Hi,
I have the ShineWifi-X stick with the soldered resitor. After connecting with my PC all three leds are glowing. But about one minute later they turn of. Is the stick at this phase still in flashing mode? The compiling process takes always longer and when the upload process wants to start the leds are turned of and I get the error message "esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header".

from openinvertergateway.

Cees2006 avatar Cees2006 commented on June 6, 2024

@achim-70 No, it's not in flash mode. You must connect GPIO0 to GND before plugged in (see the description here). then disconnect gpio0 from gnd. then only the red and blue led will light up (I think).

from openinvertergateway.

achim-70 avatar achim-70 commented on June 6, 2024

Hi @Cees2006,

thanks for the hint about the red and blue light. That got me further. I simply bridged GPIO0 and GND with a paper clip and connected the stick to the PC. Then the stick was in programming mode. I don't understand why a resistor is soldered on shown on the picture in the documentation. But it doesn't matter to me now because I've achieved my goal and was able to program the stick.

Btw I disconnected the bridge after the programming finished.

grafik

from openinvertergateway.

MixelF avatar MixelF commented on June 6, 2024

Hi @Cees2006,

thanks for the hint about the red and blue light. That got me further. I simply bridged GPIO0 and GND with a paper clip and connected the stick to the PC. Then the stick was in programming mode. I don't understand why a resistor is soldered on shown on the picture in the documentation. But it doesn't matter to me now because I've achieved my goal and was able to program the stick.

Btw I disconnected the bridge after the programming finished.

grafik

Hi achim-70, thanks for the info. Which driver / tool did you use to do the flashing? Im having troubles finding the right steps to flash my shinewifi-x.

from openinvertergateway.

achim-70 avatar achim-70 commented on June 6, 2024

@MichelFreund

Driver: https://www.maxlinear.com/content/document.ashx?id=1596
Tool: Arduino IDE (https://www.arduino.cc/en/software)

from openinvertergateway.

crasu avatar crasu commented on June 6, 2024

Flashing process is now documented here

from openinvertergateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.