Failing to reboot into downloaded firmware



  • I've got a Sipeed M1 module with a K210 chip. It worked great with many of the SDK demos and my own hacks. But after a few weeks of not using it I can't get it to actually boot into downloaded firmware. When using kflash.py from Debian Linux the program just exists after the downloading stage:

    kflash.py hello_world.bin

    [INFO] COM Port Auto Detected, Selected /dev/ttyUSB0
    [INFO] Default baudrate is 115200 , later it may be changed to the value you set.
    [INFO] Trying to Enter the ISP Mode...
    .
    [INFO] Greeting Message Detected, Start Downloading ISP
    Downloading ISP: |██████████████████████████████████████████████████| 100.0%
    Complete
    [INFO] Booting From 0x80000000
    [INFO] Wait For 0.3 second for ISP to Boot
    [INFO] Boot to Flashmode Successfully
    [INFO] Selected Flash: On-Board
    Downloading: |██████████████████████████████████████████████████| 100.0%
    Complete
    [INFO] Rebooting...
    <back to shell prompt on the linux box here..>

    Similarly when loading directly to the sram:

    kflash.py -s hello_world.bin

    [INFO] COM Port Auto Detected, Selected /dev/ttyUSB0
    [INFO] Default baudrate is 115200 , later it may be changed to the value you
    set.
    [INFO] Trying to Enter the ISP Mode...
    .
    [INFO] Greeting Message Detected, Start Downloading ISP
    Downloading ISP: |██████████████████████████████████████████████████| 100.0%
    Complete
    [INFO] Booting From 0x80000000
    [INFO] Wait For 0.3 second for ISP to Boot
    [ERROR] Response timeout

    Any idea how to debug these sorts of problems?