Hi,
When try to convert svf file to xsvf, i got this:
--------------------------------------------------
H:\MyProject\Versaloon\test>python --version
Python 3.0

H:\MyProject\Versaloon\test>python svf2xsvf.py temp.svf temp.xsvf
 Error in file 'temp.svf' at line 29 near token 'TRST'
 Unknown token 'TRST'
--------------------------------------------------
svf file is in the attachment. it's generated by Quartus II Web Edition.
I remove the programming part.

'TRST' is a valid command in svf, but there is no corresponding command in xsvf.
xsvf is the file format from xilinx, so maybe it will not support devices from 
Altera.

If parameter of TRST is "ABSENT", it's ok to ignore it and proceed to generate 
xsvf file.

2009-01-21 



Best Regards, Simon Qian

SimonQian([email protected]) ---- www.SimonQian.com



发件人: Dick Hollenbeck 
发送时间: 2009-01-19  21:59:11 
收件人: SimonQian 
抄送: openocd-development 
主题: Re: [Openocd-development] svf support 
 
SimonQian wrote:
> Hi,
> Basically, I agree with Dick.
> Some codes are more suitable to be written in a higher level language
> than C.
> But maybe it will need some time.
> I simply find no python3.0 in my latest ubuntu repository.
> Latest version is 2.5.
> So the svf2xsvf is not usable to me.
If you want to pursue this further:
I built python 3.0 from source for Ubuntu Hardy. I googled for build
instructions.
However if you were to upgrade to Ubuntu Intrepid, then you can more
easily install the now standard "python3" package directly:
# sudo apt-get install python3
will do. See package here:
http://packages.ubuntu.com/search?keywords=python3&searchon=names&suite=intrepid&section=all
Windows users can download a pre-made "python 3.0" binary and simply
install it from http://python.org .
The Windows command line then is something like:
C:> python3.0 svf2xsvf.py <svf-filename> <xsvf-filename>
On linux that would be:
$ svf2xsvf.py <svf-filename> <xsvf-filename>
HTH,
Dick

Attachment: temp.svf
Description: Binary data

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to