Documente Academic
Documente Profesional
Documente Cultură
Doc.Version201403181
Author:MarioBlunk
Abstract:GuidelinetoeraseobsoleteXILINXCPLDsusinganSVFfile.
Contents
1TheProblem.......................................................................................................................1
2Workaround........................................................................................................................3
3UsefulLinks........................................................................................................................9
4Disclaimer...........................................................................................................................9
Blunkelectronicatwww.blunkelectronic.de 1
1 TheProblem
CPLDdevicesoftheXC9500seriessometimesrefusetobeerasedwhenusingISElater
thanversion3.3.AnearlysignofthisproblemisannouncedbyISEwheninitializingthe
scanchain(autodetectingdevices)ordoingtheIDCODEcheck.
Reason:
SomedeviceshaveanIDCODEnotmatchingtherequiredcodeof0010bintheupper
fourbitsofthe32bitIDCODEasshownbelow:
Blunkelectronicatwww.blunkelectronic.de 2
Consequences:
ISEassumesanunsupporteddeviceastarget.
AftermodifyingtheIDCODEinthebasingBSDLfile,assigningthe*.jedfiletothe
target,overridingthewarningofanunsupporteddevice,programmingthedevice
fails.Itfailsbecausethedevicesaffectedtonotsupportthenewerandfasterbulk
erasemechanism.ThismechanismisusedbyISE.ThereisnooptionintheISE
userinterfacetochangebacktotheolderbutslowersectorederasemechanism.
Thedevicecannotbeerasedthisway!
2 Workaround
ToerasethedeviceviavectorederasinganSVFfilehastobewrittenandplayed.Sinceit
isalargeASCIIfile,hereistheURLtoit:
http://www.blunkelectronic.de/ise/erase_sectored_fast.svf
Note:IwrotethisfilebyguessingandprayingtoJesusChristsinceXILINXdoesnot
disclosethealgorithmforsectorederasing.Theremaybesectorsleftandnot
erasedwithinthedevicewhichIhavenotfiguredoutyet.
1. Changetodirectory/opt/Xilinx/10.1/ISE/xc9500/data
2. Openthefilexc95xx.bsd(e.g.xc9572.bsd)withatexteditorlikeNotepadorKate.
3. ChangethesectiondefiningtheexpectedIDCODEthisway:
4. Savethefileandexityoureditor.
5. (Re)assigntheconfigurationfile(*.jed)toyourtargetandclickonOKwhenthis
messagecomesup:
ThemodifiedBSDLfilealsogetsreloadedonrestartofISEorImpact.
Blunkelectronicatwww.blunkelectronic.de 3
6. DotheIDCODEcheck.ItpassesnowsincetheIDbits28and29(X'ed)getnot
checkedanymore.
7. NowyouneedtoassigntheSVFfiletoyourtargetasshownbelow:
Blunkelectronicatwww.blunkelectronic.de 4
8. PlaytheSVFanddon'tcareaboutthewarnings.
Blunkelectronicatwww.blunkelectronic.de 5
IfitfailsyoushouldincreasethedelayswrittenintheSVFfile(Ireducedthemto
getitplayingasfastaspossible.)e.g.:
Ifitpassesthedeviceshouldbeblank.
9. Assignyour*.jedfiletoyourtarget.
10. SayYEStothewarningbelow:
Blunkelectronicatwww.blunkelectronic.de 6
11. Setprogrammingpropertiessothaterasingisunchecked(RememberISEwill
erroneouslytrythebulkerasealgorithmifEraseBeforeProgrammingischecked.)
Blunkelectronicatwww.blunkelectronic.de 7
12. Programyourtarget:
Blunkelectronicatwww.blunkelectronic.de 8
3 UsefulLinks
EAGLEanaffordableandveryefficient
schematicsandlayouttoolat
http://www.cadsoftusa.com/
4 Disclaimer
Thisdocumentisbelievedtobeaccurateandreliable.Idonotassumeresponsibilityfor
anyerrorswhichmayappearinthisdocument.Ireservetherighttochangeitatanytime
withoutnotice,anddonotmakeanycommitmenttoupdatetheinformationcontained
herein.
Iappreciateeveryhintorcriticstoimprovethequalityofthisdocument.Pleasesendyour
feedbacktomario.blunk@blunkelectronic.de.
MyBossisaJewishCarpenter!
Blunkelectronic/owner:Dipl.Ing.MarioBlunk/Buchfinkenweg3/99097Erfurt/Germany/Phone+4936160225184
2014MarioBlunk PrintedinGermany
Blunkelectronicatwww.blunkelectronic.de 9