-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Problem when trying to Upload a XSVF #9
Comments
Hi Snocksman, I suspect this error is due to using Python 3 instead of Python 2, can you confirm my suspicion? |
Also, try to run |
Hi ! Traceback (most recent call last):
File "xsvf", line 8, in <module>
import Uploader
File "/home/snocksman/jtag/JTAG/extras/python/Uploader.py", line 113
(bytes_written, self._file_size - bytes_written), end='')
^
SyntaxError: invalid syntax When trying to upload something with python 3.x, the arduino LEDs are blinking before the error message, with this new error when using Python 2.7 the LEDs stay off. I get the same message, when i simply prompt: python xsvf |
Hey, I got it running !!! I have to use Python 2.7 and cut a little part of the code in Line 113 of the file Uploader.py: After that I was able to Upload the One Problem is left: When I try to Upload my code to the Chip I get the following error:
|
It is strange that it has processed so many instructions and has produced an error . There is a debug mode, which you can activate by setting DEBUG to 1 in SerialComm.h. The output should get very verbose, but you might get a clue of what is failing. I have tried to comply as much as possible to the Xilinx specification, but sometimes the xsvf compilier might generate code that the arduino xsvf player can't handle. |
It´s a problem with the xsvf file. The SVF-File seems to be ok, but the converted XSVF-File is buggy. (P.S.: I wrote you an E-Mail to your sourceforge account) |
Hi !
I have uploaded the sketch to my Arduino nano, connected it to an ATF1504AS and tried to Upload a XSVF File to it with the Python scripts.
I enter this Command to Upload the file:
And here is the Error Message, that I get when trying to Upload the XSVF File:
What can I do to get it running...?
The text was updated successfully, but these errors were encountered: