Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. paixaop
    P
    • Continue chat with paixaop
    • Start new chat with paixaop
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    paixaop

    @paixaop

    0
    Reputation
    1
    Posts
    609
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    paixaop Follow

    Posts made by paixaop

    • Cannot copy files to M5StickV using ampy or rshell (could not enter raw repl)

      Hi I cannot copy files to the M5StickV using ampy or rshell as I always get could not enter raw repl errors with both programs.

      I'm running on macOS 11.2.3 (BigSur) and tried firmwares M5StickV_Firmware_v5.1.2.kfpkg and maixpy_v0.6.2_37_g76f5aaaa4_m5stickv.bin with the same results.

      any ideas on how to solve this issue?

      Full error:

       ampy --port /dev/cu.usbserial-xxxxxxxxxx ls /flash                                               
      b'[MaixPy] init end\r\n\r\n __  __              _____  __   __  _____   __     __\r\n|  \\/  |     /\\     |_   _| \\ \\ / / |  __ \\  \\ \\   / /\r\n| \\  / |    /  \\      | |    \\ V /  | |__) |  \\ \\_/ /\r\n| |\\/| |   / /\\ \\     | |     > <   |  ___/    \\   /\r\n| |  | |  / ____ \\   _| |_   / . \\  | |         | |\r\n|_|  |_| /_/    \\_\\ |_____| /_/ \\_\\ |_|         |_|\r\n\r\nM5StickV by M5Stack : https://m5stack.com/\r\nM5StickV Wiki       : https://docs.m5stack.com\r\nCo-op by Sipeed     : https://www.sipeed.com\r\n\r\n[MAIXPY]: result = 0\r\n[MAIXPY]: numchannels = 1\r\n[MAIXPY]: samplerate = 44100\r\n[MAIXPY]: byterate = 88200\r\n[MAIXPY]: blockalign = 2\r\n[MAIXPY]: bitspersample = 16\r\n[MAIXPY]: datasize = 158760\r\ninit i2c2\r\r\n[MAIXPY]: find ov7740\r\n'
      Traceback (most recent call last):
        File "/usr/local/bin/ampy", line 8, in <module>
          sys.exit(cli())
        File "/Users/pedro/Library/Python/3.7/lib/python/site-packages/click/core.py", line 829, in __call__
          return self.main(*args, **kwargs)
        File "/Users/pedro/Library/Python/3.7/lib/python/site-packages/click/core.py", line 782, in main
          rv = self.invoke(ctx)
        File "/Users/pedro/Library/Python/3.7/lib/python/site-packages/click/core.py", line 1259, in invoke
          return _process_result(sub_ctx.command.invoke(sub_ctx))
        File "/Users/pedro/Library/Python/3.7/lib/python/site-packages/click/core.py", line 1066, in invoke
          return ctx.invoke(self.callback, **ctx.params)
        File "/Users/pedro/Library/Python/3.7/lib/python/site-packages/click/core.py", line 610, in invoke
          return callback(*args, **kwargs)
        File "/Library/Python/3.7/site-packages/ampy/cli.py", line 194, in ls
          for f in board_files.ls(directory, long_format=long_format, recursive=recursive):
        File "/Library/Python/3.7/site-packages/ampy/files.py", line 162, in ls
          self._pyboard.enter_raw_repl()
        File "/Library/Python/3.7/site-packages/ampy/pyboard.py", line 192, in enter_raw_repl
          raise PyboardError('could not enter raw repl')
      ampy.pyboard.PyboardError: could not enter raw repl
      
      posted in M5Stick V
      P
      paixaop