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.9Copyright 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... -
@PikWay Can you connect with other tools like picocom or screen?
-
This post is deleted! -
@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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login