Version 1 (modified by murphpo, 12 years ago) (diff) |
---|
Windows
A port of dd is available for Windows from XX. We have sucessfully tested verison 0.6b3 on Win 7 64-bit.
Download dd.exe from the site above. Rename it win-dd.exe (to avoid conflicting with the dd.exe included with XPS) and place it somewhere in your Windows path.
Finding the SD card descriptor:
- Insert the SD card. Take note of which drive letter it is assigned.
- Open a command prompt and run win-dd --list. The output will be similar to:
C:\xps_proj\SDK_Workspace\MyProj_hw_platform>win-dd --list rawwrite dd for windows version 0.6beta3. Written by John Newbigin <jn@it.swin.edu.au> This program is covered by terms of the GPL Version 2. Win32 Available Volume Information \\.\Volume{72603844-0595-11e1-822c-806e6f6e6963}\ link to \\?\Device\HarddiskVolume2 fixed media Not mounted \\.\Volume{72603845-0595-11e1-822c-806e6f6e6963}\ link to \\?\Device\HarddiskVolume3 fixed media Mounted on \\.\c: \\.\Volume{9654066c-60bd-11e1-9757-001018af5a78}\ link to \\?\Device\HarddiskVolume4 removeable media Mounted on \\.\f: \\.\Volume{72603848-0595-11e1-822c-806e6f6e6963}\ link to \\?\Device\CdRom0 CD-ROM Mounted on \\.\d: NT Block Device Objects \\?\Device\CdRom0 size is 2147483647 bytes \\?\Device\Harddisk0\Partition0 link to \\?\Device\Harddisk0\DR0 Fixed hard disk media. Block size = 512 size is 500107862016 bytes \\?\Device\Harddisk0\Partition1 link to \\?\Device\HarddiskVolume1 Fixed hard disk media. Block size = 512 size is 41094144 bytes \\?\Device\Harddisk0\Partition2 link to \\?\Device\HarddiskVolume2 \\?\Device\Harddisk0\Partition3 link to \\?\Device\HarddiskVolume3 \\?\Device\Harddisk1\Partition0 link to \\?\Device\Harddisk1\DR1 Removable media other than floppy. Block size = 512 size is 1977614336 bytes \\?\Device\Harddisk1\Partition1 link to \\?\Device\HarddiskVolume4 Removable media other than floppy. Block size = 512 size is 32002048 bytes Virtual input devices /dev/zero (null data) /dev/random (pseudo-random data) - (standard input) Virtual output devices - (standard output) /dev/null (discard the data)
- In this system the SD card is mounted as F: in Windows Explorer. According to the output above, the corresponding device descriptor is
?\Device\HarddiskVolume7.
NOTE: The actual device descriptor on your system is probably different than this example. Always check the current descriptor before copying to the SD card.
Copying the .bin file:
- Run this command, replacing the last three arguments with the correct values:
win-dd bs=512 seek=<N> if=<yourFile.bin> of=</dev/diskX> --progress
- <N>: depends on the target slot number; see the list above
- <yourFile.bin>: the binary FPGA configuration file
- </dev/diskX>: device descriptor for the SD card
- If successful, dd should report the following (the time/throughput values will differ):
18032+1 records in 18032+1 records out 9232444 bytes transferred in 8.503631 secs (1085706 bytes/sec)
- Repeat for additional .bin config files if needed.
- Eject the SD card in the Finder (if it's mounted).