Announcement

Collapse
No announcement yet.

IoD Serial Port Issues

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • IoD Serial Port Issues

    Hello.. first time here and may not be posting in the correct place.. I am using Gen4-IOD-32T with 4D-UPA. My PC finds the serial port (I loaded drivers) and it is listed in Workshop 4 as COMM 5. The display is on..showing splash screen. The problem is that while Workshop sees the commport, it says Device not Responding. I have tried another display, UPA and cable to no avail. At this point.. I'm trying to get Hello World. This is most likely something stupid that I am doing.. but cannot find it. TIA.. Dan

  • #2
    Hello Dan.

    Welcome to the forum,

    The Comms information panel is not used on the IoD series of displays so you can ignore the message. So long as the the right com port (COMM 5 in your case) in the Arduino comms drop-down menu is selected then you should be good to upload your Hello World example.

    You caqn also confirm that the IoD is setup correctly by trying it with the Arduino IDE.

    I hope this helps

    Best regards

    Paul

    Comment


    • #3
      Hi Paul.. thanks for the response. I tried it with Arduino IDE and get an error when I try to download:

      Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Generic ESP8285 Module, 80 MHz, ck, 26 MHz, 1M (no SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

      Archiving built core (caching) in: C:\Users\DanHP\AppData\Local\Temp\arduino_cache_691132\core\core_esp8266_esp8266_esp8285_CpuFrequenc y_80,ResetMethod_ck,CrystalFreq_26,FlashSize_1M0,led_2,LwIPVariant_v2mss536,Debug_Disabled,DebugLeve l_None____,FlashErase_none,UploadSpeed_115200_d97066237978bde3c011d08ac7baf758.a
      Sketch uses 246119 bytes (24%) of program storage space. Maximum is 1023984 bytes.
      Global variables use 32244 bytes (39%) of dynamic memory, leaving 49676 bytes for local variables. Maximum is 81920 bytes.
      warning: espcomm_sync failed
      error: espcomm_open failed
      error: espcomm_upload_mem failed
      error: espcomm_upload_mem failed

      This report would have more information with
      "Show verbose output during compilation"
      option enabled in File -> Preferences.

      Comment


      • #4
        Hello Dan,

        Thank you for the information.

        The selected board is showing as the wrong type, You should be selecting the '4D Systems gen4 IoD range'. Also I think you are using the Arduino App instead of the Arduino IDE Windows Installer version.

        You can download the Windows Installer version here.

        https://www.arduino.cc/en/Main/Software

        Once you have done that you will have to follow the instructions in the datasheet for installing the board.

        https://www.4dsystems.com.au/product...heet_R_1_2.pdf

        Best regards

        Paul

        Comment


        • #5
          Ok.. Arduino IDE installed/modified and downloads ok. I didn't have a Hello World program to try with screen in that environment so just did an empty loop.
          W4 first says Com5 is red.. continue? I say yes.. then Device not Found.
          Thanks,
          Dan

          Comment


          • #6
            Hi Dan,

            You may have to restart Workshop 4 after installing the Arduino IDE, Workshop needs to find the Arduino IDE so it can control it for uploading code. Now that the ESP8266 core and gen4 board are installed in the Arduin IDE it should be able to find them when it restarts.

            I hope this helps

            Best regards

            Paul

            Comment


            • #7
              No joy.. same error. Is there a log or something I can send you?
              Thanks,
              Dan

              Comment


              • #8
                Hi Dan,

                I will try and emulate the same scenario as you on another PC. I will get back to you as soon as possible with a solution.

                Best regards

                Paul

                Comment


                • #9
                  Hi Dan,

                  I re-created the same steps and Workshop was still able to find the IoD, If the Arduino IDE is now ok then it should have now been found by workshop, maybe a PC restart might help. We can ignore the messages in the comms window and just use the Arduino comms drop down to select the right port.

                  Best regards

                  Paul

                  Comment


                  • #10
                    Hi Paul.. got a little further.. downloaded new version WS4.. chose the correct board..no error now seems to compile but no download either. last message is
                    Completed RC = 1
                    Thx,
                    Dan

                    Comment


                    • #11
                      Hi Dan,

                      That is getting better. The Board is now recognised by Workshop 4. RC = 1 means that it hasn't been succesful. Does this still happen when you try again. A first build of an ESP8266 can take some time and it is likey that a timeout has been reached before the build has finished. Could you try opening the same project in the Arduino IDE to see if it uploads ok.

                      Best regards

                      Paul

                      Comment


                      • #12

                        Dear All,

                        I have encountered difficulties with Gen4-IoD-24. I think I did do all to start working but there are some problem what I see and I need some information to understand what may be happen.

                        There is a google drive link with some pictures. Pls see it.

                        https://drive.google.com/drive/folders/1ua43kT3CVdtuBb4LHUCHfILtx4IzqXK7?usp=sharing

                        1. During compiling I have a lot of warning. As you see I wanted to upload a very simple code.

                        2. The upload has failed because of I do not know why. While the upload in progress the display blinking some times and then happens nothing.

                        3. I have installed the latest version of ESP8266 from the Arduino IDE board manager. I tried the 2.3.0, the 2.4.2 and the latest one beta with the same result.

                        4. The compiler tells that the used memory in this case 56% which is a little bit higher then I expected.

                        Please help me in this case.

                        Peter

                        ps: I have posted this to another place (
                        First step with Gen4-IoD-24
                        ). If you can please delete it.

                        Comment


                        • #13
                          Hello,

                          Please refer to this pdf for reference in setting up Arduino IDE,
                          https://www.4dsystems.com.au/product...heet_R_1_1.pdf under Programming the IoD then Arduino IDE.

                          Here are some forum thread that is similar to your concern, you might want to check it for reference:
                          https://forum.4dsystems.com.au/node/61644
                          https://forum.4dsystems.com.au/node/61073
                          https://forum.4dsystems.com.au/node/60710

                          Make sure that you select the 4D System IoD Range as the board and make sure that the comm port in the Arduino IDE is the same with the Arduino Comm port section on the Workshop4.

                          Also the espcomm_open failed error might be an error cause by the connection of the display to your PC. You might want to check it as well.

                          I've attached images for reference. Hope it helps.


                          Best regards,
                          Bern
                          Attached Files
                          Last edited by bernadette; 30th January 2019, 12:52 PM.

                          Comment


                          • #14
                            Dear Bern,

                            Thank you very much for your answer.

                            I have tried before everything what I have thought it is obvious.
                            I have installed a very new installation from Arduino IDE, I have added the a new installation from the Board manager of "ESP8266 community…" version 2.4.2 and GFX4d as well and of course
                            I have checked the connections.
                            The only one what I did not do that I have not modified the boards.txt file because I have installed a newer version of "ESP8266 community" and there is something I did not change the board parameters under the tools menu.
                            What I see is that when the upload begin then the reset sign comes out to the display module. When this has been happening then the Display shows white screen and then go back to the start screen. This happens 3 times and after that the IDE shows these messages.

                            This is definitely a communication problem but as I see everything is OK.

                            Please see my pictures and the video what I have made from the phenomenon.

                            Now what can I do?

                            Peter

                            Comment


                            • #15
                              Dear Bern,

                              I have read through all information what you have shared with me. Most of them I have red before and unfortunately there are not solution for me.
                              The connection between the UPA and the IoD is stable and good as I can see. The connectors are tight and the flex cable is well connected. There is no any sign of damages of the cable or connectors.
                              As I see after connection the UPA to the computer USB port then the display shows the start screen immediately. When the upload starts then the reset sign has been came out and then the display turn to a white screen and after a blink of an eye the start screen appear again. I loaded a video from this phenomenon into my google drive store.

                              Peter

                              Comment

                              Working...
                              X