I am developing hardware with a PCIe interface based on a FPGA. When I reprogram the FPGA, it looses its BAR settings (BAR0, BAR1, etc.). How can I force Windows to a) rescan the PCI (and therefore PCIe) bus and b) reassign the BAR settings.
This isn't a hardware issue; this is a Windows issue. It's roughly what one would need to to to hot-swap a card (if such is supported).
Edit 9/2/11: I'm not a software engineer, so I'm looking for something that can be done at the user level, including by administrator.