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

Lower Baud Rate #51

Closed
baqwas opened this issue Sep 5, 2019 · 2 comments
Closed

Lower Baud Rate #51

baqwas opened this issue Sep 5, 2019 · 2 comments

Comments

@baqwas
Copy link

baqwas commented Sep 5, 2019

Hello!

For the Maixduino board, the Arduino IDE (v1.8.9) currently provides only 1.0 & 1.5 Mbps support for code upload. @loboris identified that the CH552T has an issue that inhibits its use at these settings. I could flash his MicroPython firmware only at this speed. The higher values (viz. >= 1.0) failed to detect the MCU to initiate the code upload.

With the Arduino IDE, we are accustomed to using 0.1152 Mbps for serial communications. Is it possible to provide such support with the K210 library that you have published? Your considerate attention to this request would help us to make better use of Maixduino in our applications.

@chegewara
Copy link

That strange, because its working for me with 1.5Mb without any issues.
You can change this file to add 115200 and test it on your setup:
https://github.com/sipeed/Maixduino/blob/master/boards.txt#L70-L76

@baqwas
Copy link
Author

baqwas commented Sep 5, 2019

@chegewara

Thanks a bunch. I will definitely give it a try after a cursory review (not that I understand exactly what is going on beneath the covers ;)) but simply to improve my learning. I will let you know as soon as practical on the results. Right now, my tactical focus is to ensure that I have a basic understanding of the available library of MicroPython modules (because my skimpy Python knowledge is interfering). Again, appreciate your continuing support.

FWIW, I suspect that @loboris' suggestion to use the -B goE option and the lower baud rate must have been the combo to unlock my issue. As you mention, I did try 115200 bps, 0.75, 1 & 1.5 Mbps earlier and was not successful. Now that 1152000 will let me flash I do not want to press my luck with a faster speed right now. As you can understand, MCU hardware is not my expertise.

Of course, I have to manually RST the board after a flash although the schematic and specs indicate (per @loboris) that it should have been automatic.

Kind regards.

P.S. I've been waiting for help since the end of May. I am very fortunate that @loboris and you pushed me in the right direction. Many thanks again.

@baqwas baqwas closed this as completed Sep 5, 2019
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

2 participants