Changes between Version 3 and Version 4 of howto/SD_Config


Ignore:
Timestamp:
Aug 25, 2012, 9:13:26 PM (12 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • howto/SD_Config

    v3 v4  
    120120  1. ''<yourFile.bin>'': the binary FPGA configuration file
    121121  1. ''</dev/diskX>'': device descriptor for the SD card
    122  1. If successful, dd should report:
     122 1. If successful, dd should report the following (the time/throughput values will differ):
    123123{{{
    12412418032+1 records in
     
    138138'''Finding the SD card descriptor:'''[[BR]]
    139139 1. Insert the SD card. Take note of which drive letter it is assigned.
    140  1. Open a command prompt and run
     140 1. Open a command prompt and run {{{win-dd --list}}}. The output will be similar to:
     141{{{
     142C:\xps_proj\SDK_Workspace\MyProj_hw_platform>win-dd --list
     143rawwrite dd for windows version 0.6beta3.
     144Written by John Newbigin <jn@it.swin.edu.au>
     145This program is covered by terms of the GPL Version 2.
     146
     147Win32 Available Volume Information
     148\\.\Volume{72603844-0595-11e1-822c-806e6f6e6963}\
     149  link to \\?\Device\HarddiskVolume2
     150  fixed media
     151  Not mounted
     152
     153\\.\Volume{72603845-0595-11e1-822c-806e6f6e6963}\
     154  link to \\?\Device\HarddiskVolume3
     155  fixed media
     156  Mounted on \\.\c:
     157
     158\\.\Volume{9654066c-60bd-11e1-9757-001018af5a78}\
     159  link to \\?\Device\HarddiskVolume4
     160  removeable media
     161  Mounted on \\.\f:
     162
     163\\.\Volume{72603848-0595-11e1-822c-806e6f6e6963}\
     164  link to \\?\Device\CdRom0
     165  CD-ROM
     166  Mounted on \\.\d:
     167
     168
     169NT Block Device Objects
     170\\?\Device\CdRom0
     171  size is 2147483647 bytes
     172\\?\Device\Harddisk0\Partition0
     173  link to \\?\Device\Harddisk0\DR0
     174  Fixed hard disk media. Block size = 512
     175  size is 500107862016 bytes
     176\\?\Device\Harddisk0\Partition1
     177  link to \\?\Device\HarddiskVolume1
     178  Fixed hard disk media. Block size = 512
     179  size is 41094144 bytes
     180\\?\Device\Harddisk0\Partition2
     181  link to \\?\Device\HarddiskVolume2
     182\\?\Device\Harddisk0\Partition3
     183  link to \\?\Device\HarddiskVolume3
     184\\?\Device\Harddisk1\Partition0
     185  link to \\?\Device\Harddisk1\DR1
     186  Removable media other than floppy. Block size = 512
     187  size is 1977614336 bytes
     188\\?\Device\Harddisk1\Partition1
     189  link to \\?\Device\HarddiskVolume4
     190  Removable media other than floppy. Block size = 512
     191  size is 32002048 bytes
     192
     193Virtual input devices
     194 /dev/zero   (null data)
     195 /dev/random (pseudo-random data)
     196 -           (standard input)
     197
     198Virtual output devices
     199 -           (standard output)
     200 /dev/null   (discard the data)
     201}}}
     202 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'''.
     203
     204'''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.
     205
     206
     207'''Copying the .bin file:'''[[BR]]
     208 1. Run this command, replacing the last three arguments with the correct values:
     209{{{
     210win-dd bs=512 seek=<N> if=<yourFile.bin> of=</dev/diskX> --progress
     211}}}
     212  1. ''<N>'': depends on the target slot number; see the list above
     213  1. ''<yourFile.bin>'': the binary FPGA configuration file
     214  1. ''</dev/diskX>'': device descriptor for the SD card
     215 1. If successful, dd should report the following (the time/throughput values will differ):
     216{{{
     21718032+1 records in
     21818032+1 records out
     2199232444 bytes transferred in 8.503631 secs (1085706 bytes/sec)
     220}}}
     221 1. Repeat for additional .bin config files if needed.
     222 1. Eject the SD card in the Finder (if it's mounted).