Code Monkey home page Code Monkey logo

Comments (12)

phjo33 avatar phjo33 commented on August 25, 2024 2

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.

from kflash_gui.

Neutree avatar Neutree commented on August 25, 2024 1

upgrade to v1.6.5, issue resolved

from kflash_gui.

tongjinlv avatar tongjinlv commented on August 25, 2024

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)

from kflash_gui.

Neutree avatar Neutree commented on August 25, 2024

select board first

from kflash_gui.

Neutree avatar Neutree commented on August 25, 2024

@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

from kflash_gui.

phjo33 avatar phjo33 commented on August 25, 2024

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.

from kflash_gui.

Neutree avatar Neutree commented on August 25, 2024

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

from kflash_gui.

tongjinlv avatar tongjinlv commented on August 25, 2024

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

from kflash_gui.

kotobuki avatar kotobuki commented on August 25, 2024

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.

from kflash_gui.

dimitre avatar dimitre commented on August 25, 2024

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)

from kflash_gui.

mdaldoss avatar mdaldoss commented on August 25, 2024

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 .)

from kflash_gui.

fanhuafeng avatar fanhuafeng commented on August 25, 2024

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

from kflash_gui.

Related Issues (18)

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.