Code Monkey home page Code Monkey logo

Comments (8)

wipping avatar wipping commented on May 28, 2024 1

The current release of MaixPy does not support most of these features, we are developing another version of MaixPy, this version of MaixPy will support the fat file system. In addition, zmodem can be used to transfer small size script files to the development board.

from maixpy-v1.

DurandA avatar DurandA commented on May 28, 2024

This is awesome!

from maixpy-v1.

goatchurchprime avatar goatchurchprime commented on May 28, 2024

It worked on my jupyter_micropython_kernel first time!

https://github.com/goatchurchprime/jupyter_micropython_kernel/

The code I tried it out on is here: https://github.com/goatchurchprime/jupyter_micropython_kernel/blob/master/Maixpy_demo.ipynb

from maixpy-v1.

robert-hh avatar robert-hh commented on May 28, 2024

zmodem file transfer does not work well. The recommended xshell starts, but does not finish. Teraterm works, but is awfully slow (like 50 chars/second).

from maixpy-v1.

robert-hh avatar robert-hh commented on May 28, 2024

I have a patched code (main.c, uart_core.c and mpconfigport.h) here, https://github.com/robert-hh/K210-Stuff, which supports at least some of the ampy commands, like ls and put. ampy get is not supported. It looks as if ampy tries to upload code which fails at MaixPy.

from maixpy-v1.

robert-hh avatar robert-hh commented on May 28, 2024

Ampy get fails, because file read on MaixPy returns '' at the end of the file, and the code ampy uploads expects b'' as the EOF signal. The implementation of file.read() fails here for MaixPy. When opened in mode "rb", like ampy does, file.read() should return a bytes object. Instead that, it returns a string.

from maixpy-v1.

robert-hh avatar robert-hh commented on May 28, 2024

For ampy and rshell I have made a PR that fixes it (https://github.com/sipeed/MaixPy/pull/33). For rshell these changes were required, which are a little bit "hacky":

  • board.name shall return a board name. That can be done by assigning one in boot.py, like
    board.name="maixpy"
  • os.stat("/") shall return a tuple with 0x4000 in the first element. Since nitrogen spiffs does not know directories, that would require a special treatment of that name, and I doubt that it is worth the effort.

from maixpy-v1.

Neutree avatar Neutree commented on May 28, 2024

we support ampy and GUI tool uPyloader now, but not support rshell yet, see doc

we will close this issue, and if have question you can reopen or create a new one, thanks

from maixpy-v1.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.