| 1 | === Windows === |
| 2 | |
| 3 | A port of dd is available for Windows from XX. We have sucessfully tested verison 0.6b3 on Win 7 64-bit. |
| 4 | |
| 5 | 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. |
| 6 | |
| 7 | '''Finding the SD card descriptor:'''[[BR]] |
| 8 | 1. Insert the SD card. Take note of which drive letter it is assigned. |
| 9 | 1. Open a command prompt and run {{{win-dd --list}}}. The output will be similar to: |
| 10 | {{{ |
| 11 | C:\xps_proj\SDK_Workspace\MyProj_hw_platform>win-dd --list |
| 12 | rawwrite dd for windows version 0.6beta3. |
| 13 | Written by John Newbigin <jn@it.swin.edu.au> |
| 14 | This program is covered by terms of the GPL Version 2. |
| 15 | |
| 16 | Win32 Available Volume Information |
| 17 | \\.\Volume{72603844-0595-11e1-822c-806e6f6e6963}\ |
| 18 | link to \\?\Device\HarddiskVolume2 |
| 19 | fixed media |
| 20 | Not mounted |
| 21 | |
| 22 | \\.\Volume{72603845-0595-11e1-822c-806e6f6e6963}\ |
| 23 | link to \\?\Device\HarddiskVolume3 |
| 24 | fixed media |
| 25 | Mounted on \\.\c: |
| 26 | |
| 27 | \\.\Volume{9654066c-60bd-11e1-9757-001018af5a78}\ |
| 28 | link to \\?\Device\HarddiskVolume4 |
| 29 | removeable media |
| 30 | Mounted on \\.\f: |
| 31 | |
| 32 | \\.\Volume{72603848-0595-11e1-822c-806e6f6e6963}\ |
| 33 | link to \\?\Device\CdRom0 |
| 34 | CD-ROM |
| 35 | Mounted on \\.\d: |
| 36 | |
| 37 | |
| 38 | NT Block Device Objects |
| 39 | \\?\Device\CdRom0 |
| 40 | size is 2147483647 bytes |
| 41 | \\?\Device\Harddisk0\Partition0 |
| 42 | link to \\?\Device\Harddisk0\DR0 |
| 43 | Fixed hard disk media. Block size = 512 |
| 44 | size is 500107862016 bytes |
| 45 | \\?\Device\Harddisk0\Partition1 |
| 46 | link to \\?\Device\HarddiskVolume1 |
| 47 | Fixed hard disk media. Block size = 512 |
| 48 | size is 41094144 bytes |
| 49 | \\?\Device\Harddisk0\Partition2 |
| 50 | link to \\?\Device\HarddiskVolume2 |
| 51 | \\?\Device\Harddisk0\Partition3 |
| 52 | link to \\?\Device\HarddiskVolume3 |
| 53 | \\?\Device\Harddisk1\Partition0 |
| 54 | link to \\?\Device\Harddisk1\DR1 |
| 55 | Removable media other than floppy. Block size = 512 |
| 56 | size is 1977614336 bytes |
| 57 | \\?\Device\Harddisk1\Partition1 |
| 58 | link to \\?\Device\HarddiskVolume4 |
| 59 | Removable media other than floppy. Block size = 512 |
| 60 | size is 32002048 bytes |
| 61 | |
| 62 | Virtual input devices |
| 63 | /dev/zero (null data) |
| 64 | /dev/random (pseudo-random data) |
| 65 | - (standard input) |
| 66 | |
| 67 | Virtual output devices |
| 68 | - (standard output) |
| 69 | /dev/null (discard the data) |
| 70 | }}} |
| 71 | 3. 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'''. |
| 72 | |
| 73 | '''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. |
| 74 | |
| 75 | |
| 76 | '''Copying the .bin file:'''[[BR]] |
| 77 | 1. Run this command, replacing the last three arguments with the correct values: |
| 78 | {{{ |
| 79 | win-dd bs=512 seek=<N> if=<yourFile.bin> of=</dev/diskX> --progress |
| 80 | }}} |
| 81 | 1. ''<N>'': depends on the target slot number; see the list above |
| 82 | 1. ''<yourFile.bin>'': the binary FPGA configuration file |
| 83 | 1. ''</dev/diskX>'': device descriptor for the SD card |
| 84 | 1. If successful, dd should report the following (the time/throughput values will differ): |
| 85 | {{{ |
| 86 | 18032+1 records in |
| 87 | 18032+1 records out |
| 88 | 9232444 bytes transferred in 8.503631 secs (1085706 bytes/sec) |
| 89 | }}} |
| 90 | 1. Repeat for additional .bin config files if needed. |
| 91 | 1. Eject the SD card in the Finder (if it's mounted). |