Navigation

    REXYGEN Community Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Problem with uploaded software

    Bug reports, Feature requests
    3
    6
    67
    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.
    • M
      mtomek last edited by

      Hi,
      I have a problem with the software uploaded to RexCore. I have RexCore 2.50.9.10679 deployed on Raspberry PI 3B, NOOBS 3.4.0. A project created in Rexygen Studio uploaded to the kernel without errors. However, the SW works as if in slow motion / partially. The HMI runs, but the SW does not read the data. Below I attach an extract from the System Log. Please advise what the problem is. The SW is inserted in the appendix.
      Regards
      Michal Tomek
      200816_system log.JPG Home_Control.zip

      1 Reply Last reply Reply Quote 0
      • M
        mtomek last edited by

        Hi,
        so i realized there could be a problem in that I updated RaspberryPI to the latest kernel version. So I probably need to install the latest version of Rexygen. The above information about the RexCore version is therefore incorrect (I don't even know where to find the RexCore version). So I installed the version Rexygen REXYGEN-2.50.10.12369-x64. After translation, some blocks were updated. However, I have error when translating and I can't find it.
        Thanks.
        Regards
        Michal Tomek
        200817_system log.JPG

        1 Reply Last reply Reply Quote 0
        • cechurat
          cechurat last edited by

          Hi Michal,

          thank you for reaching out. Since REXYGEN 2.50.9 version there were introduced some changes in naming conventions that are not reflected in REXduino source files yet.

          Please, download following REXduino source code to your project directory (replace the old one) and try to Compile and Download the project again.

          REXduino_master.c

          Please, let me know if it worked for you.

          Regards,
          Tomas

          1 Reply Last reply Reply Quote 0
          • M
            mtomek last edited by mtomek

            Hi Tomas,
            I downloaded the new source code and translated it again. The translation is already without error. But communication between RaspberryPI and Arduino still doesn't work. Visualization works, but measurement data doesn't come and commands to peripherals don't work. There are still the same errors in the log as in the first post. In my opinion, it looks like a communication error over the serial line. RaspberryPI tries to communicate with Arduino, sometimes blinking led on Arduino, but not always blinking as before. The "Arduino_Mega2560hex" function block constantly lists the following states over and over: comm_status 1 then 2, err_code 0 then 49, err_subcode 0 then 52. I do not know their meaning.
            Thanks.
            Michal

            1 Reply Last reply Reply Quote 0
            • jaroslav_sobota
              jaroslav_sobota last edited by

              Hello Michal,
              the error codes are listed in the REXduino_slave.ino file. The codes you provided mean some problem with pin number. However, you are using an outdated version of REXduino so no guarantee...

              Therefore, as the first step, I recommend upgrading to the newest REXduino. I have just pushed a hotfix for the naming conflict to REXduino GitHub so you should be able to use it with any version of REXYGEN.

              Please try compiling and running the included example 51. Make sure to upgrade your Arduino as well.

              Let me know if it helped.

              Best regards
              Jaroslav

              1 Reply Last reply Reply Quote 0
              • M
                mtomek last edited by

                Hi Jaroslav,
                I downloaded REXduino Version 2.0.2. Everything now works without problems.
                Thanks!
                Best regards.
                Michal
                PS: Pavel Kotrba greets you 😉

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

                There is also an outdated REXYGEN community forum.

                Powered by NodeBB.