kflash use



  • When I was using kflash.py under Linux,
    sudo apt-get update
    sudo apt-get install python3 python3-pip
    sudo pip3 install pyserial

    it's ok.
    sudo usermod -a -G dialout $(whoami)
    it's ok.
    ls /dev/ttyUSB
    /dev/ttyUSB0
    *
    it's ok.
    but,when I use this command
    python3 kflash.py --device /dev/ttyUSB0 --baudrate 115200 firmware.bin
    appear,error: unrecognized arguments: --device firmware.bin
    What is the reason?