| 110 | |
| 111 | ---- |
| 112 | == Alternate Method == |
| 113 | |
| 114 | 1. Insert the SD card. Take note of which drive letter it is assigned in Windows Explorer. |
| 115 | 1. Open a command prompt '''as administrator''' and change directory to the folder containing your .bin file |
| 116 | |
| 117 | '''Copying the .bin file:'''[[BR]] |
| 118 | 1. Run this command, replacing the last three arguments with the correct values: |
| 119 | {{{ |
| 120 | win-dd bs=512 seek=<N> if=<yourFile.bin> od=\\.\<sd_drive_letter>: --progress |
| 121 | }}} |
| 122 | 1. ''<N>'': depends on the target slot number; use (131072 + slotNum*32768). More details [wiki:..#Copying.binFilesSDCards here]. |
| 123 | 1. ''<yourFile.bin>'': the binary FPGA configuration file |
| 124 | 1. ''<sd_drive_letter>'': Drive letter for the SD card as mounted by Windows |
| 125 | |
| 126 | '''IMPORTANT''': Note the output argument is '''{{{od}}}''' ('''o'''utput '''d'''isk), not {{{of}}}, as is common with {{{dd}}} in other operating systems |
| 127 | |
| 128 | For example, if your .bin file is {{{ref_design.bin}}}, you're writing to slot 0 and your SD card is mounted as {{{H:}}}, you would run: |
| 129 | {{{ |
| 130 | win-dd bs=512 seek=131072 if=ref_design.bin od=\\.\H: --progress |
| 131 | }}} |
| 132 | |
| 133 | 1. If successful, dd should report the following: |
| 134 | {{{ |
| 135 | 18032+1 records in |
| 136 | 18032+1 records out |
| 137 | }}} |
| 138 | 1. win-dd may report "Error reading file: 87 The parameter is incorrect". In our experience this is normal and not an actual error. |
| 139 | 1. Repeat for additional .bin config files in additional slots, if needed. |
| 140 | 1. Eject the SD card. |
| 141 | |