From: Grzegorz B. <grz...@gm...> - 2010-02-10 15:59:56
|
> Grzegorz> xc3sprog works, with FreeBSD 8 and the Spartan-3 Board 200K > Grzegorz> from Digilent, when this source code (in ioparport.cpp): > > Grzegorz> if ((status & PCIII_TDO_MASK) && (!(data & PCIII_PROG_EN_N))) > Grzegorz> { fprintf(stderr,"Missing power for Parallel Cable III\n"); > Grzegorz> return NO_CABLE; > > Could you please elaborate why this doesn't work on FreeBSD and your board? > The check "works for me (R)" on linux and windows... > -- > Uwe Bonnes bo...@el... With those particular lines, I'm getting this error : darkstar# ./xc3sprog -d /dev/ppi0 -j -v Release $Rev: 426 $ Free software: If you contribute nothing, expect nothing! Please provide feedback on success/failure/enhancement requests! Check Sourceforge SVN for updates! Missing power for Parallel Cable III Could not open parallel port /dev/ppi0 without, it looks like this : darkstar# ./xc3sprog -d /dev/ppi0 -j -v Release $Rev: 426 $ Free software: If you contribute nothing, expect nothing! Please provide feedback on success/failure/enhancement requests! Check Sourceforge SVN for updates! Found Xilinx Parallel Cable III Using built-in device list JTAG chainpos: 0 Device IDCODE = 0x01414093 Desc: XC3S200 JTAG loc.: 0 IDCODE: 0x01414093 Desc: XC3S200 IR length: 6 JTAG loc.: 1 IDCODE: 0xf5045093 Desc: XCF02S IR length: 8 Total bytes sent: 13 There is one interesting issue: using only once the software free from the "Missing power for Parallel Cable III" code block causes the original one (without any modifications) to work correctly. |