Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    New firmware release 0.9.5.b1, Pymate iOS released and improved docs

    Scheduled Pinned Locked Moved Announcements & News
    21 Posts 5 Posters 9.0k Views 5 Watching
    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.
    • B Offline
      betabrain @livius
      last edited by

      @livius Why use encryption if its so weak everyone can read it? ;-)

      DES can be broken in under 24h. See this stack exchange thread from 2011. Since then the price/performance ratio has improved dramatically. Last I heard was that triple DES is theoretically still ok, but it is computationally more expensive than AES. Besides, ESP32 has hardware AES support. For messages smaller than the block size, I would look into stream ciphers modes.

      I'm sure you know this. I mainly rebute your "DES is really good" for the benefit of readers without any crypto knowledge. Disclaimer: I'm no crypto expert either, but I value privacy.

      L 1 Reply Last reply Reply Quote 1
      • L Offline
        livius @betabrain
        last edited by livius

        @betabrain
        It depends on the application
        If the data falls only a few hours it is ok
        Or if the only requirement is not broadcast in plain text in order not to facilitate someone for so much.
        Although if AES is supported by hardware(accelerated) it actually does not make sense to use DES

        think about people first, then computers

        1 Reply Last reply Reply Quote 1
        • J Offline
          jmaralc
          last edited by

          Hi everyone,

          here a newbie in Pycom. About the update I have a question. It is related to the serial port. If I connect the WiPy 2.0 through the expansion board and from there by USB to the USB port in my computer. What is the serial port? I have used arduino and it provide an automatic communication through serial port despite you connected by USB to the computer.

          I need a serial port for the udpate...and I know, perhaps it is a easy question :)

          Thanks.

          L 1 Reply Last reply Reply Quote 0
          • L Offline
            livius @jmaralc
            last edited by

            @jmaralc
            if you attach to usb on your computer then it is installed as COM port.
            When you run updater then it provide COM port choose.
            remember that to update you must connect GND and G23 on your expanson board with simple wire.

            think about people first, then computers

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jmaralc @livius
              last edited by

              @livius Thanks for the answer.
              The problem is exactly that I connect the board with the USB and it is not installed as COM port....symply the system does not recognize it. I tried in three computer the three with linux and windows....I can use pymakr and load the examples of the tutorials but the computers are not recognizing the board. I tried also with different USB cables....any idea?

              J 1 Reply Last reply Reply Quote 0
              • A Offline
                alangman @daniel
                last edited by

                Hi @Daniel. I just updated my WiFy 2.0 to the latest firmware version (1. I noticed that I cannot find the RTC module.

                If I import machine and then do a dir(machine); RTC class seems to be missing.

                Best

                Alan

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jmaralc @jmaralc
                  last edited by

                  @jmaralc In deed I am noticing that I can not connect with pymakr with the serial COM, I did it this morning but through the wifi.....Could it be a defective board?

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    livius
                    last edited by

                    No - pymakr have problem connecting by COM

                    think about people first, then computers

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jmaralc @livius
                      last edited by

                      @livius And any suggestion for the board not being detected by any computer/system after connecting it with USB? Any special USB cable is needed? Could you show me a screenshot of how the device list should look like in case of a proper detection?
                      Thanks and sorry for the extra work. I was eager to work on the board....I am still but more frustrated.

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        jmaralc
                        last edited by

                        @livius Just some good news. In Ubuntu, I manage to connect the board through the serial port (COM) with the updater and the pymakr. I notice that the port was /dev/ttyUSB0 and I could type it in the linux updater and worked fine.
                        Thanks for the help. Motivation comes up again!

                        J 1 Reply Last reply Reply Quote 0
                        • J Offline
                          jmaralc @jmaralc
                          last edited by

                          May I ask which USB cable do you use to connect the board? I lost the connection again with the same cable in Ubuntu, not accessible any more.....

                          L 1 Reply Last reply Reply Quote 0
                          • L Offline
                            livius @jmaralc
                            last edited by livius

                            @jmaralc
                            best use expansion board
                            if you have not one then use any converter - e.g. - remember about voltage 3V3
                            alt text

                            think about people first, then computers

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              jmaralc @livius
                              last edited by

                              @livius Thanks Livius. I am already using the expansion board (the Wipy 2.0 is plugged in).

                              Still no solution...next time today after work. I have some ideas in mind that this board could help a lot but.....well let see whether it improves or at least I manage to solve my problems

                              Cheers

                              1 Reply Last reply Reply Quote 0
                              • L Offline
                                livius
                                last edited by

                                I work on Windows and there are no problems with updater
                                If you connect GND + GP23 by wire
                                and turn power on(or reset WiPy)
                                and you run Firmware Updater - it work for me without problem with Expansion Board

                                think about people first, then computers

                                1 Reply Last reply Reply Quote 0
                                • L Offline
                                  livius
                                  last edited by livius

                                  if someone have not expansion board then this is i suppose helpfull
                                  I attache WiPy2 to computer by UART/USB converter like this

                                  alt text

                                  think about people first, then computers

                                  1 Reply Last reply Reply Quote 3

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  • 1
                                  • 2
                                  • 2 / 2
                                  • First post
                                    Last post

                                  Pycom on Twitter

                                  Pycom