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

kflash_gui flash close #7

Closed
tongjinlv opened this issue Jul 31, 2019 · 12 comments
Closed

kflash_gui flash close #7

tongjinlv opened this issue Jul 31, 2019 · 12 comments

Comments

@tongjinlv
Copy link

can.t upload with v1.5.2 on macOS

@tongjinlv
Copy link
Author

kflash is error too
Greeting fail, check serial port (Attempting to use a port that is not open)
bogon:kflash.py tongjinlv$ sudo python kflash.py -p /dev/cu.wchusbserial1430 maixpy_v0.4.0_9_g598f743_minimum.bin
[INFO] COM Port Selected Manually: /dev/cu.wchusbserial1430
[INFO] Default baudrate is 115200 , later it may be changed to the value you set.
[INFO] Trying to Enter the ISP Mode...
._
Greeting fail, check serial port (Attempting to use a port that is not open)

@Neutree
Copy link
Member

Neutree commented Jul 31, 2019

select board first

@phjo33
Copy link

phjo33 commented Aug 1, 2019

kflash_gui 1.5.2 when executed clicking on its icon is closing immediately on osx.
It needs to be launched from Terminal, with for example open /Application/kflash_gui.app

I had to reduce baudrate to 115200 to have it succeed flashing a firmware too.

@Neutree Neutree added the question Further information is requested label Aug 2, 2019
@Neutree
Copy link
Member

Neutree commented Aug 2, 2019

@phjo33 1.5.2have a bug: it will fail to start when the last file selected not exit, you can delete .config/kflash_gui/kflash_gui.conf file and then restart.
and you can try to select slow mode but not set baudrate to 115200

@phjo33
Copy link

phjo33 commented Aug 2, 2019

Deleting kflash_gui.conf does not change a thing. kflash_gui actually never stays opened when launched with double clicking its icon. The reason I tried running it from the terminal was I supposed an error message would appear, which it did not...

I'm pretty sure slow mode did fail previously with default baudrate, but right now I tried and it worked.

@Neutree
Copy link
Member

Neutree commented Aug 2, 2019

@phjo33 emmm it's pretty weird but I'm not familiar with macOS, but it works on my mojave

@tongjinlv
Copy link
Author

thanks phjo33 open /Application/kflash_gui.app is . ok

@kotobuki
Copy link

kotobuki commented Aug 6, 2019

Hi,

I have the same issue on a fresh MacBook Pro (15-inch, 2018) running 10.14.6 (18G87). I tried deleting the kflash_gui.conf by executing rm .config/kflash_gui/kflash_gui.conf but the result was the same (i.e. the app quits immediately after a double click). To make sure, I confirmed with v1.3.2, v1.5, v1.5.1, and v1.5.2. With all versions, open /Applications/kflash_gui.app works for me.

@dimitre
Copy link

dimitre commented Dec 17, 2019

I have the same issue of Kflash closing immediatly on macOS.
invoking directly brings the error

LSOpenURLsWithRole() failed with error -10810 for the file /Applications/kflash_gui.app.

using 1.5.2 (latest for macOS)

@mdaldoss
Copy link

I have managed to fix the launch by running it on the terminal by:
cd folder-where-it-is-the-app
and
./kflash_gui.app/Contents/MacOS/kflash_gui

hope might be helpful to some .)

@fanhuafeng
Copy link

open terminam and run cmd:
/Applications/kflash_gui.app/Contents/MacOS/kflash_gui
the kflash_gui is run ok!!!

@Neutree Neutree added pack issue and removed question Further information is requested labels Jul 21, 2020
@Neutree
Copy link
Member

Neutree commented Jul 30, 2020

upgrade to v1.6.5, issue resolved

@Neutree Neutree closed this as completed Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants