Comments (9)
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.
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.
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.
Or use MicroPython
from sipeed instead, see https://maixpy.sipeed.com/en/get_started/upgrade_firmware.html
- get a firmware (file with
.bin
extension) from https://github.com/sipeed/MaixPy/releases - get
kflash_gui
flasher from https://github.com/sipeed/kflash_gui - install
MaixPy IDE
link can be found under http://dl.sipeed.com/MAIX/MaixPy/ide/ or use a serial port command line tool likescreen
from maixduino.
@baqwas, your problem would be better placed in the MaixPy area see https://github.com/sipeed/MaixPy
from maixduino.
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.
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.
Thx to the guidance and feedback from @vanvuongngo and @loboris, I have sufficient workaround suggestions to evaluate. Closing the issue accordingly.
from maixduino.
I have the same problem but in Windows 10. I already installed the drivers following the step by step instructions in the documentation tutorial, but so far nothing, could anyone help me?
board: k210
event error:
Log Name: Microsoft-Windows-Kernel-PnP/Configuration
Source: Microsoft-Windows-Kernel-PnP
Date: 2/21/2024 7:30:56 PM
Event ID: 411
Task Category: None
Level: Error
Keywords:
User: SISTEMA
Computer: DESKTOP-C0S1FCA
Description:
Device USB\VID_0000&PID_0002\5&1f57c5c5&0&3 had a problem starting.
Driver Name: usb.inf
Class Guid: {36fc9e60-c465-11cf-8056-444553540000}
Service:
Lower Filters:
Upper Filters:
Problem: 0x2B
Problem Status: 0x0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Kernel-PnP" Guid="{9c205a39-1250-487d-abd7-e831c6290539}" />
<EventID>411</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2024-02-21T22:30:56.4158472Z" />
<EventRecordID>544</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="2656" />
<Channel>Microsoft-Windows-Kernel-PnP/Configuration</Channel>
<Computer>DESKTOP-C0S1FCA</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="DeviceInstanceId">USB\VID_0000&PID_0002\5&1f57c5c5&0&3</Data>
<Data Name="DriverName">usb.inf</Data>
<Data Name="ClassGuid">{36fc9e60-c465-11cf-8056-444553540000}</Data>
<Data Name="ServiceName">
</Data>
<Data Name="LowerFilters">
</Data>
<Data Name="UpperFilters">
</Data>
<Data Name="Problem">0x2b</Data>
<Data Name="Status">0x0</Data>
</EventData>
</Event>
from maixduino.
Related Issues (20)
- RE: Trying the Given Selfie Source/Maixduino Selfie Source! HOT 1
- Maix Amigo basic display red and blue swapped HOT 1
- Cannot install board definitions - wrong link and wrong SHA256 HOT 3
- no serial connection HOT 7
- [TCP/İP Socket] live stream using maixduino as client HOT 3
- Maixduino Operating system HOT 3
- [UART] Maixduino Reading Serial port HOT 2
- How to display rtsp stream in maiduino board
- Is there any way to send images from a computer to maixduino board using micropython
- board missing HOT 1
- How to use C/C++ PlatformIO/Arduino Framework (Not MaixPy) to use wifi HOT 3
- Are There Plans for Maix M1s Support? HOT 1
- Is This Project Dead? HOT 1
- using "SD.h" library for SD card on maixduino HOT 1
- arg "channel_mask" in "i2s_init" function HOT 1
- use external I2S mems mic for Maix_Speech_Recognition HOT 1
- Where is your binocular example? HOT 1
- Publish latest version to Platformio
- ov2640 idea of optimization of reverse_u32pixel function
- RGB565 have inverted channels for display HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maixduino.