98 | | === Windows === |
99 | | |
100 | | A port of dd is available for Windows from XX. We have sucessfully tested verison 0.6b3 on Win 7 64-bit. |
101 | | |
102 | | 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. |
103 | | |
104 | | '''Finding the SD card descriptor:'''[[BR]] |
105 | | 1. Insert the SD card. Take note of which drive letter it is assigned. |
106 | | 1. Open a command prompt and run {{{win-dd --list}}}. The output will be similar to: |
107 | | {{{ |
108 | | C:\xps_proj\SDK_Workspace\MyProj_hw_platform>win-dd --list |
109 | | rawwrite dd for windows version 0.6beta3. |
110 | | Written by John Newbigin <jn@it.swin.edu.au> |
111 | | This program is covered by terms of the GPL Version 2. |
112 | | |
113 | | Win32 Available Volume Information |
114 | | \\.\Volume{72603844-0595-11e1-822c-806e6f6e6963}\ |
115 | | link to \\?\Device\HarddiskVolume2 |
116 | | fixed media |
117 | | Not mounted |
118 | | |
119 | | \\.\Volume{72603845-0595-11e1-822c-806e6f6e6963}\ |
120 | | link to \\?\Device\HarddiskVolume3 |
121 | | fixed media |
122 | | Mounted on \\.\c: |
123 | | |
124 | | \\.\Volume{9654066c-60bd-11e1-9757-001018af5a78}\ |
125 | | link to \\?\Device\HarddiskVolume4 |
126 | | removeable media |
127 | | Mounted on \\.\f: |
128 | | |
129 | | \\.\Volume{72603848-0595-11e1-822c-806e6f6e6963}\ |
130 | | link to \\?\Device\CdRom0 |
131 | | CD-ROM |
132 | | Mounted on \\.\d: |
133 | | |
134 | | |
135 | | NT Block Device Objects |
136 | | \\?\Device\CdRom0 |
137 | | size is 2147483647 bytes |
138 | | \\?\Device\Harddisk0\Partition0 |
139 | | link to \\?\Device\Harddisk0\DR0 |
140 | | Fixed hard disk media. Block size = 512 |
141 | | size is 500107862016 bytes |
142 | | \\?\Device\Harddisk0\Partition1 |
143 | | link to \\?\Device\HarddiskVolume1 |
144 | | Fixed hard disk media. Block size = 512 |
145 | | size is 41094144 bytes |
146 | | \\?\Device\Harddisk0\Partition2 |
147 | | link to \\?\Device\HarddiskVolume2 |
148 | | \\?\Device\Harddisk0\Partition3 |
149 | | link to \\?\Device\HarddiskVolume3 |
150 | | \\?\Device\Harddisk1\Partition0 |
151 | | link to \\?\Device\Harddisk1\DR1 |
152 | | Removable media other than floppy. Block size = 512 |
153 | | size is 1977614336 bytes |
154 | | \\?\Device\Harddisk1\Partition1 |
155 | | link to \\?\Device\HarddiskVolume4 |
156 | | Removable media other than floppy. Block size = 512 |
157 | | size is 32002048 bytes |
158 | | |
159 | | Virtual input devices |
160 | | /dev/zero (null data) |
161 | | /dev/random (pseudo-random data) |
162 | | - (standard input) |
163 | | |
164 | | Virtual output devices |
165 | | - (standard output) |
166 | | /dev/null (discard the data) |
167 | | }}} |
168 | | 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'''. |
169 | | |
170 | | '''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. |
171 | | |
172 | | |
173 | | '''Copying the .bin file:'''[[BR]] |
174 | | 1. Run this command, replacing the last three arguments with the correct values: |
175 | | {{{ |
176 | | win-dd bs=512 seek=<N> if=<yourFile.bin> of=</dev/diskX> --progress |
177 | | }}} |
178 | | 1. ''<N>'': depends on the target slot number; see the list above |
179 | | 1. ''<yourFile.bin>'': the binary FPGA configuration file |
180 | | 1. ''</dev/diskX>'': device descriptor for the SD card |
181 | | 1. If successful, dd should report the following (the time/throughput values will differ): |
182 | | {{{ |
183 | | 18032+1 records in |
184 | | 18032+1 records out |
185 | | 9232444 bytes transferred in 8.503631 secs (1085706 bytes/sec) |
186 | | }}} |
187 | | 1. Repeat for additional .bin config files if needed. |
188 | | 1. Eject the SD card in the Finder (if it's mounted). |