Programming Virtex II in slave select MAP mode?

Hi everybody, I want to program a embedded microcontoller to load a configuration bitstream using the slave select MAP mode of virtex II. Are there any command words to be issued to commence programming or just read the bitstream byte by byte and write it into the select MAP data pins.

Reply to
Kiran M
Loading thread data ...

Hello Kiran, You might take a look at app. note Xapp502 to get clues on how you can do this. The commands to load data into registers is embedded in the bit file, the interface is straight forward. Two things I would like to mention are:

  1. Use bin file instead of bit file
  2. Take caution on bit swapping.
Reply to
Sandeep Kulkarni

Kiran -

There are no magic tricks to using the select map mode. I've used it several times to allow downloading of byte-wide data via a parallel port though some level shifters into the FPGA.

The things to be aware of are: a) make sure you have the 3 mode pins strapped properly. b) make sure you have the CS/ and RDWR pins properly set. c) you need to assert PGM/ pin to start and wait for INIT/ to be released before sending data. d) be careful about voltage levels - some signals can't be 3.3V without some conditioning.

I've found notes on the web on the format of .bit files, so my s/w uses those data files to download to the FPGA. NOTE you can't just send the .bit file to the FPGA, there is header info that needs to be stripped off. Be aware of bit ordering, each file format seems to treat MSB or LSB first differently.

John Providenza

Sandeep Kulkarni wrote:

clues

bit

II.

MAP

Reply to
johnp

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.