Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trial image with some fixes #31

Closed
robert-hh opened this issue Jan 24, 2019 · 7 comments
Closed

Trial image with some fixes #31

robert-hh opened this issue Jan 24, 2019 · 7 comments

Comments

@robert-hh
Copy link
Contributor

First of all: This is no bug report, just a hint!
In the past days I have commented to quite a few issues, and also made some patches to these issues. The changed code parts are available here: https://github.com/robert-hh/K210-Stuff
For those who do not like to build their own image, I also uploaded the latest image with these changes.
Flashing can be done following these instructions:
"In Windows, download K-Flash from https://kendryte.com/downloads/ , unzip and run K-Flash.exe
In K-Flash select the device’s port"
In Linux, use the command kflash.py from https://github.com/kendryte/kflash.py and https://github.com/kendryte/kendryte-flash-windows/blob/develop/src/Canaan.Kendryte.Flash/Resources/isp_flash.bin
' ./kflash.py -p /dev/ttyUSB0 -b 2000000 -l isp_flash.bin sipeedm1.kfpkg'

@frdnd
Copy link

frdnd commented Jan 26, 2019

Thx for all the work :)

@robert-hh
Copy link
Contributor Author

Your welcome. I am creating now a series of PR's to introduce the changes piece by piece.

@namn
Copy link

namn commented Feb 13, 2019

So I flashed your image in. How do I use it? When I do screen /dev/ttyACM0 115200, the device turns black, and screen also shows a black screen. Nothing seems to be running. Sorry for the noobie question.

@robert-hh
Copy link
Contributor Author

The port to use did not change. On linux, it is /dev/ttyUSB0 ...

@namn
Copy link

namn commented Feb 13, 2019

I was able to flash with /dev/ttyACM0 though. And my system does not have /dev/ttyUSB0. When I removed the device, /dev/ttyACM0 disappeared. When I plugged it back in, /dev/ttyACM0 appeared again. I'm using the included A-to-C USB cable to plug the device to my desktop (C head connected to the Maix GO, A head connected to my desktop).

@robert-hh
Copy link
Contributor Author

robert-hh commented Feb 13, 2019

So you should be right. I have quite a few different modules here, and gave away my MaixPy device to a friend at the moment. So I may mix up things. After you started it with screen, you should have a Python REPL prompt. Be sure to disable any flow control on the screen program, option -fn. I actually use picocom as terminal emulator. very small and simple.

@robert-hh
Copy link
Contributor Author

Since sipeed published a new version which includes many fixes, this image is kind of obsolete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants