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

Windows ujprog command-line parameter issues #10

Closed
gojimmypi opened this issue Feb 15, 2019 · 2 comments
Closed

Windows ujprog command-line parameter issues #10

gojimmypi opened this issue Feb 15, 2019 · 2 comments

Comments

@gojimmypi
Copy link

specify COM port, and -a *.bit; FAILS to find any files:

C:\workspace-git\f32c_tools\ujprog>ujprog  -P COM9 -a *.bit
ULX2S / ULX3S JTAG programmer v 3.0.92 (built Feb 13 2019 12:27:20)
*.bit: cannot open

specify COM port, and -a [explicit file name]; finds file, completes, FAILS to actually upload file:

C:\workspace-git\f32c_tools\ujprog>ujprog  -P COM9 -a ulx3s.bit
ULX2S / ULX3S JTAG programmer v 3.0.92 (built Feb 13 2019 12:27:20)
Sending ulx3s.bit: done.

do NOT specify COM port, [wildcard file name]: does not find file, FAILS:

C:\workspace-git\f32c_tools\ujprog>ujprog *.bit
ULX2S / ULX3S JTAG programmer v 3.0.92 (built Feb 13 2019 12:27:20)
Using USB cable: ULX3S FPGA 12K v3.0.3
open(*.bit) failed
Programming: 0% -
Failed.

do NOT specify COM port, [explicit file name]: finds file, completes, SUCCESS on upload file:

C:\workspace-git\f32c_tools\ujprog>ujprog  ulx3s.bit
ULX2S / ULX3S JTAG programmer v 3.0.92 (built Feb 13 2019 12:27:20)
Using USB cable: ULX3S FPGA 12K v3.0.3
Programming: 100%
Completed in 18.66 seconds.
@gornjas
Copy link
Contributor

gornjas commented Feb 15, 2019

Wildcard expansion is a job of the shell, not the application. On all standard windows cmd shells I've been using so far (Windows XP, Vista, 7, 8, 8.1, 10), wildcard expansion works just fine.

JTAG doesn't work in COM mode, so no wonder that uploading a bitstream can't work that way, especially not when using the -a modifier, which tells the ujprog to send the file as a stream of bytes.

@gornjas gornjas closed this as completed Feb 15, 2019
@emard
Copy link
Member

emard commented Feb 15, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants