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

    Cant build DuetWifiServer

    Scheduled Pinned Locked Moved
    Firmware installation
    2
    41
    6.1k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      Did you try the Refresh option in the Project menu?

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 1
      • eBerlinundefined
        eBerlin
        last edited by

        i refreshed and cleaned/rebuilt it now. but DuetWifiSocketServer tries to get this command from the old path again.
        i deleted the old projects from the harddrive and the program now says:

        error: /Users/xxx/Workspace/c++/CoreESP8266/Release/cores/esp8266/heap.o: No such file or directory

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators
          last edited by

          Suggestions:

          1. Check that the paths in the tool settings are all specified in terms of ${workspace_loc} and don't have an absolute path in them.

          2. I suggest you delete the .mk files in the output directories, to force them to be rebuilt. You may get an error the first time you build after that, but it should go away when you try the build again.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 1
          • eBerlinundefined
            eBerlin
            last edited by

            great thank you , i think the first point worked for me !

            i didnt delete the .mk files. should i ?

            i got this error now :

            /Library/Developer/CommandLineTools/usr/bin/make --no-print-directory post-build
            Generating binary
            "C:\Users\David\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.12/esptool.exe" -eo "C:\Users\David\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0/bootloaders/eboot/eboot.elf" -bo "/Eclipse/Firmware/DuetWiFiSocketServer/Release/DuetWiFiServer.bin" -bm dio -bf 40 -bz 4M -bs .text -bp 4096 -ec -eo "/Eclipse/Firmware/DuetWiFiSocketServer/Release/DuetWiFiSocketServer.elf" -bs .irom0.text -bs .text -bs .data -bs .rodata -bc -ec
            /bin/sh: C:\Users\David\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.12/esptool.exe: No such file or directory
            make[1]: [post-build] Error 127 (ignored)

            but i already changed the path to the compiler . this is the default one . i changed it in : properties-->c/c++Build--> Settings

            1 Reply Last reply Reply Quote 0
            • eBerlinundefined
              eBerlin
              last edited by

              when i build it a second time ,it does not throw any errors

              1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators
                last edited by dc42

                So it's fully built now?

                EDIT: as it is just the post build step that failed, I guess it still hasn't done the post build step. You need to change the Build Variables, in particulat EspBootFile and EspToolPath.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                1 Reply Last reply Reply Quote 1
                • eBerlinundefined
                  eBerlin
                  last edited by

                  i think everything works. i took the DuetWifiServer.bin and updated the firmware (as described : https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware)

                  and i can use the wifi module

                  do you think i can start to program the remote conn ?

                  thank you very much for your help !!

                  1 Reply Last reply Reply Quote 0
                  • eBerlinundefined
                    eBerlin @dc42
                    last edited by

                    @dc42
                    *I defined a message code connCreate in file MessageFormats.h for the Duet to send the WiFi module a command to open a TCP connection with a remote host, however file SocketServer.cpp has this:

                    case NetworkCommand::connCreate: // create a connection
                    // Not implemented yet

                    So it would need to be implemented, then the Duet will be able to open remote connections.*

                    can you show me the message code, that you defined ?

                    1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators
                      last edited by

                      I have work on the WiFi code planned for later this week, and if I have time then I will implement outbound connections in it.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 1
                      • eBerlinundefined
                        eBerlin
                        last edited by

                        can you please inform me when you're done?

                        1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators
                          last edited by dc42

                          I've been working on the new WiFi server part of the time for the last several days. Expressiv has released a new SDK that has a lot of nice features, such as built-in LWIP v2 support. Unfortunately they have changed a lot of names of functions in the SDK, and they they haven't released documentation for the new SDK version yet. And we're in a week-long Chinese holiday, so there is no support available. But I'm getting there slowly.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          eBerlinundefined 1 Reply Last reply Reply Quote 1
                          • eBerlinundefined
                            eBerlin @dc42
                            last edited by

                            @dc42
                            Are so far any progress being made in term of the outbound connection?

                            1 Reply Last reply Reply Quote 0
                            • dc42undefined
                              dc42 administrators
                              last edited by

                              I am waiting for the new Expressiv SDK to be properly documented and for the code to stabilise before I resume work on DuetWiFiServer. I plan to add support for outbound connections in that version.

                              Duet WiFi hardware designer and firmware engineer
                              Please do not ask me for Duet support via PM or email, use the forum
                              http://www.escher3d.com, https://miscsolutions.wordpress.com

                              1 Reply Last reply Reply Quote 0
                              • eBerlinundefined
                                eBerlin
                                last edited by

                                Hello dc42,
                                Can you say about how long it will take unti the release of an updated version?

                                1 Reply Last reply Reply Quote 0
                                • dc42undefined
                                  dc42 administrators
                                  last edited by

                                  I'll look at it again when the 2.02 release of RRF is out.

                                  Duet WiFi hardware designer and firmware engineer
                                  Please do not ask me for Duet support via PM or email, use the forum
                                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                                  eBerlinundefined 1 Reply Last reply Reply Quote 0
                                  • eBerlinundefined
                                    eBerlin @dc42
                                    last edited by

                                    @dc42 is there any news about the release of this feature?

                                    1 Reply Last reply Reply Quote 0
                                    • dc42undefined
                                      dc42 administrators
                                      last edited by

                                      I did an interim 1.22 release to fix a bug. I checked the Expressive SDK at the same time, but unfortunately they haven't yet released a version of the 3.0 SDK that looks easy to integrate int DuetWiFiServer. So I may add the outbound connection support to the existing version.

                                      Duet WiFi hardware designer and firmware engineer
                                      Please do not ask me for Duet support via PM or email, use the forum
                                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                                      1 Reply Last reply Reply Quote 1
                                      • eBerlinundefined
                                        eBerlin
                                        last edited by

                                        @dc42 said in Cant build DuetWifiServer:

                                        I did an interim 1.22 release to fix a bug. I checked the Expressive SDK at the same time, but unfortunately they haven't yet released a version of the 3.0 SDK that looks easy to integrate int DuetWiFiServer. So I may add the outbound connection support to the existing version.

                                        this would be great

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