Hello All, I'm three days into this configuration problem, so I think it's time to consult the experts. Problem's like this usually seem trivial in retrospect, but I've usually been looking in the wrong places...
Briefly, INIT line goes low one CCLK pulse after DONE line goes high. Configuration loads and runs, but INIT line low indicates a CRC error. The signals look quite reasonable on a scope.
Specifics: On a new prototype board I'm trying to congigure a Spartan-3 3s1000-5fg456 using a 3.3V IO micro- controller driving the fpga's config lines. Dedicated config lines have serial resistor (100 ohm), as per recommendation for 3.3V tolerant config.
I'm using slave-serial mode to write config file, which is stored on the micro's flash memory. I've used the same micro and method successfully in other products (but using Spartan-2).
I send all data frames ( FFFFFFFF , AA995566 , ... 20000000 ) start to end of file.
I'm not sure exactly _where_ the DONE line should go high. It would seem that it should go high at some point after the last 32-bit configuration frame, but in fact DONE transitions on the 7th CCLK pulse of the (N-4)th configuration frame. XAPP452 shows this as being [CMD Write Packet Data(DESYNC)] frame. The INIT line goes low on the 8th CCLK pulse, Fpga operation commences on the 9th CCLK pulse.
All design tweaks (resistor value changes) and clock/ data timing tweaks result in the same behavior. I would have thought that the CRC error would have prevented startup of the fpga (CRC is _not_ disabled in bitgen), but I guess this is not the case...
If the DONE line _is_ going high early, I suppose this would mean that extra CCLK transitions were seen by the FPGA, pointing perhaps towards signal integrity issues, but this would puzzle me, as under different circumstances, the transitions happen at the same points.
The bit file is being generated by ISE6.2.02.
Sorry, this post is longwinded, I'm hoping that someone in the group has encountered a similar situation and can perhaps point me in the right direction.
Thanks in advance...
snipped-for-privacy@sdeviation.com