Giter Site home page Giter Site logo

K210 not detected about maixduino HOT 8 CLOSED

sipeed avatar sipeed commented on June 11, 2024
K210 not detected

from maixduino.

Comments (8)

vanvuongngo avatar vanvuongngo commented on June 11, 2024

Hi baqwas,

I am using ubuntu 19.04 as well. Did you executed following to have access to the serial port?

sudo usermod -a -G dialout $(whoami)

see install documentation under https://maixduino.sipeed.com/en/get_started/install.html
I use platform.io instead of Arduino IDE but the preparation instruction is the same.

from maixduino.

baqwas avatar baqwas commented on June 11, 2024

Hello Van,

Thank you for your suggestion. Of course, I did set the permission (along the lines you have suggested) a very long time ago! I have five other Arduino boards (different types) working without any issue. I can upload to these boards from the Arduino default IDE without any issue (except for the occasional reset for operational reasons). Yes, I am diligently ensuring that the right settings combinations board/port/flash are set before attempting to upload to a specific board.

I understand the productivity advantages of platform.io especially when it is used in conjunction with, for example, Visual Studio Code but my needs are very modest. Right now I want to keep things simple and just focus on reading/writing to one or two pins let alone work on RISC-V magic that may happen later.

FWIW, @loboris provided an alternate development, MicroPython, approach that I found very interesting.

Kind regards.

from maixduino.

vanvuongngo avatar vanvuongngo commented on June 11, 2024

Hi Matha,

I can reproduce your problem and it could be that the automatic recognition of the board does not work for you either. You can try to set a board manually with the argument -B. Possible options are kd233, dan, bit, goD, goE or trainer. I have a MaixGo and it works when I execute following (port automaticlly detected on /dev/ttyUSB1):

./kflash.py -BgoE -b 2000000 -t MaixPy.bin

Hope it will helps you and I can understand if you want to use python. It's not my favorite programming language but it also has its advantages.

from maixduino.

vanvuongngo avatar vanvuongngo commented on June 11, 2024

Or use MicroPython from sipeed instead, see https://maixpy.sipeed.com/en/get_started/upgrade_firmware.html

  1. get a firmware (file with .bin extension) from https://github.com/sipeed/MaixPy/releases
  2. get kflash_gui flasher from https://github.com/sipeed/kflash_gui
  3. install MaixPy IDE link can be found under http://dl.sipeed.com/MAIX/MaixPy/ide/ or use a serial port command line tool like screen

from maixduino.

vanvuongngo avatar vanvuongngo commented on June 11, 2024

@baqwas, your problem would be better placed in the MaixPy area see https://github.com/sipeed/MaixPy

from maixduino.

baqwas avatar baqwas commented on June 11, 2024

Hello Van,

You are correct wtih your observation about the -BgoE option. That was the only way I could get the MicroPython to flash.

I'll try your suggestion on the MaixPy IDE. Right that is probably the more productive option for me. Again, really appreciate your assistance and guidance. Without your feedback (and that from @loboris), I would be floundering.

Kind regards.

P.S. The Serial-USB-C chip has apparent speed limitations well below the published spec; I have to use a lower speed ~1.1Mbps. Perhaps, this is the root cause of my issue? I am plugging directly from the (ASUS H370-PRIME) motherboard to the board (and I have tried three different cables) - no external hub.

from maixduino.

vanvuongngo avatar vanvuongngo commented on June 11, 2024

P.S. The Serial-USB-C chip has apparent speed limitations well below the published spec; I have to use a lower speed ~1.1Mbps. Perhaps, this is the root cause of my issue? I am plugging directly from the (ASUS H370-PRIME) motherboard to the board (and I have tried three different cables) - no external hub.

Nice and I guess the kflash.py script has a bug but I did not debug it. Feel free to close this issue when you can work now.

from maixduino.

baqwas avatar baqwas commented on June 11, 2024

Thx to the guidance and feedback from @vanvuongngo and @loboris, I have sufficient workaround suggestions to evaluate. Closing the issue accordingly.

from maixduino.

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.