9 Replies Latest reply on Mar 24, 2017 4:51 PM by Intel Corporation

    Uart 2 bloc Edison boot up

    Paul_B

      Dear Intel,

       

      We have a big issue.

       

      We have a sensor on ttyMFD2 that send data every seconds.

       

      At boot up, the edison board do not start. If we remove the sensor then the board start.

       

      We remove all serial services using ttyMFD2:

       

      rm /lib/systemd/system/container-getty@.service 

      rm /lib/systemd/system/console-getty.service

      rm  /lib/systemd/system/serial-getty\@.service

       

      But it still do not work.. we do not know how to debug because we can not connect on the board..

       

      What shall we do to avoid this blocking issue.

       

      Thank you for your return.

        • 1. Re: Uart 2 bloc Edison boot up
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hi Paul,

          Thank you for reaching out.
          I would like to have some more information about your issue, thanks in advance for your responses.

          1. Are you using the Edison Mini breakout board or the Arduino Expansion board?
          2. Have you tried powering your sensor externally?
          3. What happens if you connect the sensor once the Edison has finished booting?
          4. Have you tried different UART sensors before? Do you get the same results?
          Also, check this thread https://communities.intel.com/thread/75745 and let me know if helps you in any way. We’ll be waiting for your reply.

          Regards,
          Pablo M.
          • 2. Re: Uart 2 bloc Edison boot up
            Paul_B

            Hi Pablo,

             

            1. Mini breakout board (or compute module)

            2. It is the case the sensor has it own power with a level shifter

            3. No issue if I connect the sensor after the booting

            4. Never used this kind of device (pushing data) on other uart.

             

            In fact I have saw this post. (Which is about the noise on the line for the answer) .  But when i use

            fw_setenv bootargs_console quiet

             

            Then my device do not boot up anymore... And I need to flash it again.

             

            But this solution will just help if the sensor answer after a connexion. My Issue is than I want to disable it at boot up.

             

            Thank for your help

            • 3. Re: Uart 2 bloc Edison boot up
              Intel Corporation
              This message was posted on behalf of Intel Corporation

              Hi Paul,

              I’ve been investigating and found some similar issues in another case, in that case it was not possible to upload an Arduino sketch to the Edison if a UART sensor was connected to the board at that moment. That case was solved by using an optocoupler to isolate the circuits, so I guess it has something to do with the Edison UART pins. You might want to try using an optocoupler too.

              Regards,
              Pablo M.

              • 4. Re: Uart 2 bloc Edison boot up
                Paul_B

                Thank you pablo.

                 

                We try but it did not change anything.

                 

                It is a software issue or configuration to disable login through uart 2 at boot up.

                 

                But we do not know how..

                 

                If you have feed back from other or internal configuration.

                 

                Best

                 

                Paul

                • 5. Re: Uart 2 bloc Edison boot up
                  Intel Corporation
                  This message was posted on behalf of Intel Corporation

                  Hi Paul,

                  Let us investigate a little bit more to see if there’s any other suggestion we can provide that might help you with this issue.
                  Would you please tell me which sensor you’re using? I would also like to check if there’s some specific issue between that sensor and the breakout board.
                  In the meantime, you might want to check this thread too https://communities.intel.com/thread/80053, it is not exactly the same issue, but the interfaces being used are the same. Hopefully there’s something useful.

                  Regards,
                  Pablo M.

                  • 6. Re: Uart 2 bloc Edison boot up
                    Intel Corporation
                    This message was posted on behalf of Intel Corporation

                    Hi Paul,

                    Did you check our last reply? We requested some information in order to do some further investigation, could you please share that information with us?

                    Regards,
                    Pablo M.
                     

                    • 7. Re: Uart 2 bloc Edison boot up
                      Paul_B

                      Hi Pablo,

                       

                      Yes, we see your answer but I did not help us as our issue is that the edison did not boot up if it received informaiton on uart every seconds.

                       

                      We have to add an output enable on the uart level shiffter to disable communication.

                       

                      But if we remove it, it did not start.

                       

                      So our issue is still going on even if we find a hardware path, which is not the solution.

                       

                      Thank you.

                       

                      Let us know if you find a software solution that will be our best solution

                      • 8. Re: Uart 2 bloc Edison boot up
                        Intel Corporation
                        This message was posted on behalf of Intel Corporation

                        Hi Paul,

                        Would you please provide the name of the sensor you’re using?

                        Regards,
                        Pablo M.

                        • 9. Re: Uart 2 bloc Edison boot up
                          Intel Corporation
                          This message was posted on behalf of Intel Corporation

                          Hi Paul,

                          Did you check our last post? Do you have the name of the sensor at hand?

                          Regards,
                          Pablo M.