From: Tomek C. <tom...@gm...> - 2011-08-29 20:11:27
|
Hello Uwe, thank you for your support :-) Things has changes in xc3sprog since 449 release... :-) On Mon, Aug 29, 2011 at 7:38 PM, Uwe Bonnes <bo...@el...> wrote: > Bitrot: You have a working program on your disk, and trying to use it after > some time, nothing works any longer: Libraries have changed, compilers get > strikter, API changed, etc > http://en.wikipedia.org/wiki/Bit_rot#Problems_with_software Ah well this is why I definitely switched to FreeBSD - its not lazy Windows and its not Linux where things never work after week ;] > Something is fishy here. > Are you sure you don't have some flaky JTAG or SPI connection, a ringing > JTAG cable, some heavy noise source, too low supply voltage, a > microcontroller addressing the SPI lines after some time or something else? I can program bitfile directly into FPGA with no problem. The only problem is with uploading bitfile into SPI Flash. > Test the JTAG chain with the -T0 option, and probably -I -T0 should test > both JTAG and SPI. -T0 works fine but -I requires a filename so -I -T0 will not work in 635 release. The connection is fine :-) > As explained before, define your cable in cablelist.txt. > > Slow down only helps in rare cases. E.g. a ringing TCK line may show double > clocking even on slowest JTAG frequencies, as ringing happens at the edges, > with edge rates remaining the same. With an on-board connector I didn't see > problems up to the max JTAG frequency of the slowest device, and AVR with 8 > MHz in my case. Cable connected adapters are something different. > > Try > <your cable> ftdi <your VID>:<your PID>: 1500000 This did not work > <your cable> ftdi <your VID>:<your PID>::1:0x00:0x10:0x00:0x0 1500000 This is working! Thank you for help in calbe configuration :-) Now I have problem to upload bitfile into flash. In older release I have first uploaded bscan_spi.bit into FPGA, then again started xc3sprog with -I mybitfile to pass this bitfile into SPI memory using bscan_spi.bit, but in the new release things seems different and I can only upload into FPGA. I have tried xc3sprog -v -c amontec bscan_spi.bit; xc3sprog -v -c amontec -I mybitfile.bit and this did not work, neither xc3sprog -v -c amontec bscan_spi.bit -I mybitfile.bit ... Please advise how to upload mybitfile into spi flash :-P :-) Best regards, Tomek > > The new scheme works better for people with standard cables, and custom > cables are added more easy. > > Sorry that things work so hard with the end for your diplome work nearing... > > Bye > -- > Uwe Bonnes bo...@el... > > Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt > --------- Tel. 06151 162516 -------- Fax. 06151 164321 ---------- > -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info |