Cannot connect to REPL after firmware upgrade



  • Hi,
    I was using gPy + pytrack without issues, but decided to upgrade firmare (both - pytack and gpy)
    Pytrack went fine:
    sudo dfu-util -D pytrack_0.0.8.dfu
    dfu-util 0.9

    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

    Match vendor ID from file: 04d8
    Match product ID from file: f014
    Opening DFU capable USB device...
    ID 04d8:f014
    Run-time device DFU version 0100
    Claiming USB DFU Runtime Interface...
    Determining device status: state = dfuIDLE, status = 0
    dfu-util: WARNING: Runtime device already in DFU state ?!?
    Claiming USB DFU Interface...
    Setting Alternate Setting #0 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0100
    Device returned transfer size 64
    Copying data from PC to DFU device
    Download [=========================] 100% 16384 bytes
    Download done.
    state(2) = dfuIDLE, status(0) = No error condition is present
    Done!

    Also gpy firmawe upgrade went fine (using firmware upgrade tool v1.16.0).

    Unfortunatelly now my VisualStudioCode hangs on
    Connecting to /dev/ttyACM0...



  • @robert-hh
    Hi Robert,
    I've deleted my custom code from the device (using ampy) and I'm now able to connect to it again.
    Checking what was causing it to hang.



  • This post is deleted!


  • @PikWay Can you connect with other tools like picocom or screen?


Log in to reply
 

Pycom on Twitter