I think that the problem is because of stripboard PCB with a little bit lengthy wires. There might be some interference...
> ---------------------------------------- > If the svf file is generated by the xilinx tools, then 1MHz should be OK. > Does JTAG pins have too long latency? > I'll check the speed later when my board arrived. > > > Hello Simon, > > > > yes, lowering the TCK frequency helped! Default TCK speed of 1MHz made > > problems, but now I use 500kHz and programming is ok. > > > > Thank you for help, > > Vaclav > > > > > ---------------------------------------- > > > According to the log file, the svf parser should be running OK. > > > The command below can run success with the right TDO value: > > > SDR 32 TDI (00000000) SMASK (FFFFFFFF) TDO (F9604093) MASK > > (0FFFFFFF) > > > > > > But one command after that will fail, not fail to do JTAG, but fail to > > > receive the right TDO value from the target. > > > To check the reason why it fails, you will have to log the waveform on > > the > > > JTAG pins. > > > > > > BTW: You can try a slower speed first. > > > 2010/2/15 Vaclav Peroutka > > > > > > > Hello Simon, > > > > > > > > attached is log1.log and the SVF file itself. > > > > > > > > Thank you for help, hop[efully you find what is going wrong. > > > > > > > > > ---------------------------------------- > > > > > Try adding '-d3' option, and post the log info. > > > > > > > > > > > Hello all, > > > > > > > > > > > > I compiled git HEAD revision of openocd today and try to program > > XC9572 > > > > > > with SVF generated by Xilinx ISE 10.1. I use following openocd.cfg: > > > > > > telnet_port 4444 > > > > > > gdb_port 3333 > > > > > > interface ft2232 > > > > > > ft2232_device_desc "Dual Device A" > > > > > > ft2232_layout usbjtag > > > > > > ft2232_vid_pid 0x0403 0x6001 > > > > > > jtag_khz 500 > > > > > > jtag newtap xc9572 tap -irlen 8 -expected-id 0x59604093 > > > > > > > > > > > > I run openocd and then telnet to the port 4444. Then I use "svf > > > > > > project.svf" and result is below. Does anybody know, what is going > > > > wrong ? > > > > > > XC9572 is already programmed. I did it with xc3sprog. But it can > > not > > > > erase > > > > > > the CPLD, thus I am looking for some another method how to program > > it. > > > > > > > > > > > > Thank you in advance, > > > > > > Vaclav > > > > > > > > > > > > > > > > > > > > > > -- > > > Best Regards, SimonQian > > > http://www.SimonQian.com <http://www.simonqian.com/> > > > > > > > > > > > > > > > -- > Best Regards, SimonQian > http://www.SimonQian.com > > > _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development