From: Mirko C. <mir...@ki...> - 2012-02-07 12:27:12
|
Hi Joris, >There is a mistake in the XCFP >code which only affects devices larger than XCF08P. Apparently >you are the first one to program a big XCFP device since then. >Could you try the attached patch? I applied your 2nd patch and now it seems to work.:-) ===================================== # ./xc3sprog.patch2 -v -c ftdi OCA_0x0000006F_HwBoardRev01.bit XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 646 $ OS: Linux Free software: If you contribute nothing, expect nothing! Feedback on success/failure/enhancement requests: http://sourceforge.net/mail/?group_id=170565 Check Sourceforge for updates: http://sourceforge.net/projects/xc3sprog/develop Cable ftdi type ftdi VID 0x0403 PID 6010 dbus data 00 enable 0b cbus data 00 data 00 Using Libftdi, Using JTAG frequency 1200000 Using devlist.txt JTAG chainpos: 0 Device IDCODE = 0xe5058093 Desc: XCF16P Erasing...............................done Erase time 15.765 s Programming frames 0x1fffe0 to 0x1fffff Programming BTC , CCB , SUCR , DONE finished Programming time 327.427 s Verifying frames 0x195060 to 0x19506f Verifying BTC = 0xffffffe4 Verifying CCB = 0xffff Verifying SUCR = 0xfffc Verifying DONE = 0xcc Success! Verify time 258.978 s USB transactions: Write 235070 read 117611 retries 235257 ===================================== But after rebooting ePC, FPGA does not load its program from EEPROM. :-( Programming FPGA directly with command line parameter "-p 1" is working fine, but of course after shutdown my system does not work again. ===================================== ./xc3sprog.patch2 -v -c ftdi -p 1 OCA_0x0000006F_HwBoardRev01.bit XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 646 $ OS: Linux Free software: If you contribute nothing, expect nothing! Feedback on success/failure/enhancement requests: http://sourceforge.net/mail/?group_id=170565 Check Sourceforge for updates: http://sourceforge.net/projects/xc3sprog/develop Cable ftdi type ftdi VID 0x0403 PID 6010 dbus data 00 enable 0b cbus data 00 data 00 Using Libftdi, Using JTAG frequency 1200000 Using devlist.txt JTAG chainpos: 1 Device IDCODE = 0x01450093Desc: XC3S5000 Created from NCD file: top.ncd Target device: 3s5000fg900 Created: 2010/10/27 10:48:04 Bitstream length: 13271936 bits done. Programming time 11745.1 ms USB transactions: Write 821 read 8 retries 1508/10/2007-Alviso-6A79GTZ0C-16Phoenix - AwardBIOS v6.00PG ... ===================================== Anyway, if you are sure, that XC3SPROG message "Success!" is correct, I think there is another problem (hardware). And you can commit your patches to xc3sprog-project. Tomorrow I'll have a meeting with a hardware specialist, trying to use XILINX USB adapter and iMPACT to flash it again. I'll keep you informed about the results. Thanks again for your valuable support! Best regards, Mirko |