Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Writing to COM port (GetOverlappedResult): Operation aborted) #45

Closed
jhoguaman opened this issue Oct 25, 2017 · 17 comments

Comments

@jhoguaman
Copy link

commented Oct 25, 2017

I updated Atom (1.21.1) and Pymakr (1.2.0). The option Run in to REPL console works good. But when I want synchronize (Upload) a file, I get this error:

Error: Writing to COM port (GetOverlappedResult): Operation aborted
Failed to read project status, uploading all files

When I worked with previous versions I didn't have any problem.

@RalphHogenbirk

This comment has been minimized.

Copy link
Contributor

commented Oct 27, 2017

Hi @jhoguaman, sorry to hear about this error. Looking at it, it should be a windows only issue. I didn't get it on my own windows machine when testing, but I'll try to reproduce it. Can you send me the versions you are using? (output of apm --version)

I'm on a short trip outside the office until Monday, so I'll have a look at it first thing on tuesday. Hope that's not a problem for you. You could temporarily switch back to an older version for now, or use visual studio code

@jhoguaman

This comment has been minimized.

Copy link
Author

commented Oct 27, 2017

Hi @RalphHogenbirk, Do you refer to this?

image

Currently, I have returned to older version of Atom(1.19.2) and Pymakr (1.1.1).
Thanks for your response friend..!!

@RalphHogenbirk

This comment has been minimized.

Copy link
Contributor

commented Oct 31, 2017

@jhoguaman I tested it today on my windows machine but can't seem to reproduce it. Only difference is that it's 32bit instead of your 64, so the difference might be there. I'll try to do a test tonight on my home 64bit machine. Sorry for taking so long!

@mkrummenacher

This comment has been minimized.

Copy link

commented Oct 31, 2017

I can confirm the problem on Windows 10 x64. Before the update it worked with expansion board and PySense. Now it's working if the LoPy is mounted on the PySense board, but not on the expansion board.

@RalphHogenbirk

This comment has been minimized.

Copy link
Contributor

commented Nov 1, 2017

Thanks for the extra info @mkrummenacher, that will help me narrow the problem down! I'll keep you guys up to date

@Smeedy

This comment has been minimized.

Copy link

commented Nov 10, 2017

Running on OS/X I have a similar problem running Pymakr 1.2.0 on Atom 1.22.0

image

apm --version
apm  1.18.8
npm  3.10.10
node 6.9.5 x64
python 2.7.14
git 2.13.5

I'm running a genuine FTDI 3.3V TTL directly to the breadboard. Running an apm install pymakr@1.1.0 did the trick to get things working again for some days but looks like the 1.22.0 update also killed that one

@danicampora

This comment has been minimized.

Copy link

commented Nov 10, 2017

@Smeedy thanks for the report. There is an issue with the latest firmware that is causing this. We are solving it and a new firmware release will be out within 48hrs.

@ThomasBastien

This comment has been minimized.

Copy link

commented Nov 13, 2017

I think I am running the same issue with my LoPy on an extension board
Found 1 serialport
COM6 (copied to clipboard)

Disconnected. Click here to reconnect.
Connecting on COM6...
Connecting on COM6...
MicroPython v1.8.6-796-g489fafa0 on 2017-10-15; LoPy with ESP32
Type "help()" for more information.

Found 1 serialport
COM6 (copied to clipboard)

'1.9.2.b2'

Downloading project (main folder)...

Reading files from board
Found 2 existing files
Downloading 2 files...
[1/2] Reading main.py
[2/2] Reading boot.py

Failed to connect (Error: Writing to COM port (GetOverlappedResult): Operation aborted). Click here to try again.
Failed to download boot.py
All items overritten
Connecting on COM6...

On another LoPy board, I've updated to the latest firmware 1.10.0.b1 and it fails to connect to the COM port with the Expension board

@ThomasBastien

This comment has been minimized.

Copy link

commented Nov 16, 2017

The issue comes from Pymakr plugin for ATOM, with the release 1.1.5 it works.

@agallo

This comment has been minimized.

Copy link

commented Nov 20, 2017

This is happening on Windows 7, Atom 1.22.1, Pymakr 1.2.1

@mkrummenacher

This comment has been minimized.

Copy link

commented Nov 21, 2017

I have updated the firmware to 1.10.1.b1 but still have the same problem:
grafik

Windows 10 x64
Atom 1.22.1
Pymakr 1.2.1

Only uploading does not work, "show firmware version" and "run" are working.

@shailes

This comment has been minimized.

Copy link

commented Nov 22, 2017

I also have precisely the same problem (and have been having it for the past 3 weeks or so, with different versions of Pymakr and the firmware):

Current configuration:
LoPy
Firmware 1.10.1.b1
Windows 10 x64
Atom 1.22.1
Pymakr 1.2.1

Upload doesn't work, but run does:

Failed to connect (Error: Writing to COM port (GetOverlappedResult): Operation aborted). Click here to try again.

@pkilcoyne

This comment has been minimized.

Copy link

commented Nov 24, 2017

I'm seeing the same issue, uploads work fine from pysense board but on the expansion board I'm getting the above error. I'm on a windows 10 machine running Atom 1.22.1 and Pymakr 1.2.1

Has this been resolved yet or is there a work around?

Thanks,

Paul

@RalphHogenbirk

This comment has been minimized.

Copy link
Contributor

commented Dec 7, 2017

Pymakr v1.2.2 has now been released which should fix this bug! Let me know if it solves your issues

@agallo

This comment has been minimized.

Copy link

commented Dec 7, 2017

Windows 7 64-bit, Atom 1.22.1, Pymakr v1.2.2 -- working so far.

Thanks for the fix.

@mkrummenacher

This comment has been minimized.

Copy link

commented Dec 11, 2017

I can confirm that it's working with the new version. Windows 10 1709 x64, Atom 1.22.1, Pymakr 1.2.2.

Thank you for your help!

@SpoofEx

This comment has been minimized.

Copy link

commented Jan 18, 2018

It seems I have a similar issue with uploading the simplest project with only a main.py file containing print("Hello World"):
afbeelding

Current configuration:
windows 10 1709 16299.125
atom 1.23.3
Pymakr 1.2.27

I moved back to Pymaker 1.1.0 as Smeedy suggested, but the communication via COM6 with the ESP directly hangs:
afbeelding

clicking on 'more' > 'Get serial ports' results in:
afbeelding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
10 participants
You can’t perform that action at this time.