-
Notifications
You must be signed in to change notification settings - Fork 62
Remote Bitbang does not connect on Windows #32
Comments
did you try the same with an OpenOCD built from the latest sources? I'm not maintaining OpenOCD, I'm just packing it from time to time. |
Do you mean with OpenOCD from their Sourceforge page? |
yes
I don't know who authored this feature, if it is not in the master branch, it might come from the RISC-V fork. anyway, there is little I can do to fix it. |
I think we misunderstood each other. I just tested and the binary that did not even include this was compiled from a different author on Github, because it has this in it's header: [https://github.com/sysprogs/openocd] Btw, the working version I used under Linux (Ubuntu 17.10 in this case) is 0.10.0 directly from their repositories. |
in this case you should compare exactly the same version with the Windows release; comparing different versions makes not much sense. if the problem is in the sources, and the latest OpenOCD sources include a fix for this issue, probably my next release will be functional too. if the latest sources work on Linux but fail on Windows, my next release will behave the same, since I generally do not add changes myself (except when absolutely necessary, like integrating patches for RISC-V) |
Description
On Windows OpenOCD does fail after establishing a connection with this message:
Error: fdopen: failed to open read stream
Steps to Reproduce
Save that in a file and execute it like this: "path/to/openocd.exe -f /path/to/configfile.cfg"
Expected behaviour:
It should connect and then will spit out the command from OpenOCD, in this case this:
b'BrbBbB262626262626262bB2626260426040401R'
Actual behaviour:
It connects and then quits with this error:
Error: fdopen: failed to open read stream
When running OpenOCD on a Linux Host then it connects successfully, even no matter if the other part is running on Windows or Linux.
Versions
The text was updated successfully, but these errors were encountered: