Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Esp8266 not turning on after mainboard reset

    Scheduled Pinned Locked Moved
    STM
    4
    21
    825
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jay_s_ukundefined
      jay_s_uk @justGuner
      last edited by

      @justGuner Can i ask again for a photo of the ESP/wiring please?

      And can you also send the following commands over USB and post the full output

      M111 P14 S1
      M552 S-1
      M552 S1
      

      Give 10 seconds or so between sending each of the above commands

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      justGunerundefined 1 Reply Last reply Reply Quote 0
      • justGunerundefined
        justGuner @jay_s_uk
        last edited by

        @jay_s_uk 20240129_181843.jpg 20240129_181740.jpg
        (ignore the hot glue; I ripped the sd card slot accidentally a while back)

        Here's the output :

        s1
        SENDING:M552 S1
        WiFi:
        WiFi:  ets Jan  8 2013,rst cause:2, boot mode:(3,7)
        WiFi:
        WiFi: load 0x4010f000, len 1392, room 16
        WiFi: tail 0
        WiFi: chksum 0xd0
        WiFi: csum 0xd0
        WiFi: v00000000
        WiFi: ~ld
        WiFi: phy buf[107] is ff adc mode is ff
        WiFi: boot not set
        WiFi: ota1 not set
        WiFi: ota2 not set
        WiFi: V2
        WiFi: Mo
        WiFi: irf cal sector: 1019
        WiFi: freq trace enable 0
        Got rubbish reply from COM5 at baudrate 115200:
        Maybe a bad baudrate?
        

        I did try the same command with other baudrates; it gave the same rubbish reply thing every time

        gloomyandyundefined 1 Reply Last reply Reply Quote 0
        • gloomyandyundefined
          gloomyandy @justGuner
          last edited by

          @justGuner What are you using to connect to the board? If you are using a Windows PC I would suggest using putty see: https://teamgloomy.github.io/putty.html We really need to see all of the output to work out what is happening. If you are connecting to the board via USB the baud rate is ignored.

          I've not seen a module connected like that before. You seem to have a lot more pins connected between the module and the board than we would normally recommend (Our setup uses 11 in total I think you have 16 connected). I'm not sure if the additional ones could be causing a problem.

          justGunerundefined 1 Reply Last reply Reply Quote 0
          • justGunerundefined
            justGuner @gloomyandy
            last edited by

            @gloomyandy yeah, I'm not gonna be able to try new things for about a week since I won't be near the printer...

            I am connected to the printer over USB via pronterface

            In terms of the pins used, I assumed that because on the official esp board there are 16 pins, all of them are connected. What are the necessary pins (on the esp) for the module to work properly?

            gloomyandyundefined 1 Reply Last reply Reply Quote 0
            • gloomyandyundefined
              gloomyandy @justGuner
              last edited by

              @justGuner We don't have instructions for that board because most people simply use a commercially available module (if you get one get an esp32). The module you linked to may have all of the pins but I suspect some of them are not connected. You may be able to work out the connections from looking at the details of the homemade boards for the SKR Pro and mathcing it up with the skr 2 schematic. https://teamgloomy.github.io/skr_pro_connected_wifi_8266.html note that this does not include the UART connections, but I think you already have those working correctly.

              I'd strongly recommend using putty rather than pronterface. Pronterface tends to try and interpret/change the commands and responses and generally "gets in the way".

              justGunerundefined 1 Reply Last reply Reply Quote 0
              • dc42undefined dc42 moved this topic from General Discussion
              • justGunerundefined
                justGuner @gloomyandy
                last edited by

                Here is a little update on the situation: after trying to solder some resistors to the esp according to this, I think I managed to damage the esp somehow, because after connecting it to the skr afterwards resulted in timeout errors no matter what. To make sure, I reverted to the previous method of wiring straight to the wifi header just like before, only to result in the same timeout error.

                If I'm unable to fix this new issue by trying to resolder the wires again, I think I will just buy the btt esp module.

                gloomyandyundefined 1 Reply Last reply Reply Quote 0
                • gloomyandyundefined
                  gloomyandy @justGuner
                  last edited by

                  @justGuner I think all of the resistors that are needed are already on the skr2 board (see the schematic I linked to above). If you do get a module I'd strongly recommend that you get an esp32 version not an esp8266. Not sure if BTT do a esp32 but, Fly/Mellow certainly does. You will get much better performance from that and additional features.

                  justGunerundefined 1 Reply Last reply Reply Quote 0
                  • justGunerundefined
                    justGuner @gloomyandy
                    last edited by

                    @gloomyandy can you tell me what are some of the other features I get by going with the esp32? All I could find online was improved conectivity over the 8266

                    deckingmanundefined 1 Reply Last reply Reply Quote 0
                    • deckingmanundefined
                      deckingman @justGuner
                      last edited by

                      @justGuner https://makeradvisor.com/esp32-vs-esp8266/

                      Ian
                      https://somei3deas.wordpress.com/
                      https://www.youtube.com/@deckingman

                      justGunerundefined 1 Reply Last reply Reply Quote 0
                      • justGunerundefined
                        justGuner @deckingman
                        last edited by

                        @deckingman Yeah but how many of those features can I use on the 3d printer itsels? For example as far as I know there isn't any bluetooth suport in rrf yet, and the sole reasong for buying an esp is to be attached to the printer, so I'm not thinking about using it in other projects

                        gloomyandyundefined 1 Reply Last reply Reply Quote 0
                        • gloomyandyundefined
                          gloomyandy @justGuner
                          last edited by

                          @justGuner The main "feature" is the improved upload speed. With the esp8266 the best I ever see is around 550KBytes/s with the esp32 I see up to 2.5MBytes/s with a STM32H7 based board, with a STM32F4 board I'd expect around 1.8MBytes/s. But that all depends on your WiFi signal SD card speed etc.

                          The other thing is that new features like enterprise wifi authentication and the MQTT support both need the latest 2.1 version of the WiFi firmware and that seems to run much better on the esp32. Basically there is not likely to be any new work on the esp8266 firmware going forwards (at least not from me). For the small extra cost I just don't think it makes sense to use an 8266.

                          justGunerundefined 1 Reply Last reply Reply Quote 1
                          • justGunerundefined
                            justGuner @gloomyandy
                            last edited by

                            I finally installed a esp32 from btt and it works just fine. Too bad I couldn't find an answer for the original question that started this thread. I might revisit this at some point in the future, who knows...

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA