<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cannot copy files to M5StickV using ampy or rshell (could not enter raw repl)]]></title><description><![CDATA[<p dir="auto">Hi I cannot copy files to the M5StickV using ampy or rshell as I always get <code> could not enter raw repl</code> errors with both programs.</p>
<p dir="auto">I'm running on macOS 11.2.3 (BigSur) and tried firmwares <code>M5StickV_Firmware_v5.1.2.kfpkg</code> and <code>maixpy_v0.6.2_37_g76f5aaaa4_m5stickv.bin</code> with the same results.</p>
<p dir="auto">any ideas on how to solve this issue?</p>
<p dir="auto">Full error:</p>
<pre><code> ampy --port /dev/cu.usbserial-xxxxxxxxxx ls /flash                                               
b'[MaixPy] init end\r\n\r\n __  __              _____  __   __  _____   __     __\r\n|  \\/  |     /\\     |_   _| \\ \\ / / |  __ \\  \\ \\   / /\r\n| \\  / |    /  \\      | |    \\ V /  | |__) |  \\ \\_/ /\r\n| |\\/| |   / /\\ \\     | |     &gt; &lt;   |  ___/    \\   /\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 &lt;module&gt;
    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
</code></pre>
]]></description><link>https://community.m5stack.com/topic/3115/cannot-copy-files-to-m5stickv-using-ampy-or-rshell-could-not-enter-raw-repl</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 13:44:56 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3115.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Mar 2021 05:54:55 GMT</pubDate><ttl>60</ttl></channel></rss>