Wiki

This version (22 Feb 2023 01:43) was approved by ALEXIS CZEZAR TORRENO.The Previously approved version (31 Jan 2023 03:20) is available.Diff

Formatting and Flashing SD Cards using Windows

This page will explain how you should go about formatting and flashing the SD card with the software required to use many of platforms Analog Devices supports. There are several steps that need to be completed before your SD Card will be ready to use.

  1. Download the compressed software image file
  2. Extract the software image file
  3. Connect the SD Card to the computer
  4. Verify the software image file (Optional)
  5. Format the SD Card (Optional)
  6. Flash the SD Card

Download the SD Card File

Download the software image file you want to write onto your SD Card. Typically this is going to be the standard Kuiper Linux, but in some instances specialized pre-compiled images are created for projects that are not yet included on the standard image. So be sure you have the correct file.

  • Save the .Zip file or .Xz file to your local hard drive, and remember the file location.

Extract the Software Image File

This step will decompress the large software image file you downloaded. Ensure you have a decompression utility installed on your computer, capable of extracting .Zip file format or .Xz file format such as:

  • Extract the software image file to a known location on your computer.

Connect the SD Card to the Computer

Connect the SD Card to either an internal or external SD Card reader which is connected to your computer. Most newer computers have an SD Card reader, but there are plenty of USB connectable SD Card reader devices available.

Verify the Download (Optional)

This step is used to validate that the image you downloaded. Ensuring that it is the version is correct and that the software wasn't corrupted during download.

Ensure you have the following application installed on your computer.

  1. Open up WinMD5 application on your computer.
  2. Browse to the extracted file location.
  3. Check the m5dsum of the resulting file.

Format the SD Card (Optional)

This step should be used if the SD Card format is unknown or needs to be reconfigured.

Using SD Card Formatter

Ensure you have the following application installed on your computer.

Open the SD Card Formatter application on your computer, and set the following fields:

  1. Select Card = SD Card drive you want to format (usually says “boot” or “volume”)
  2. Card Information = Make sure the disc size approximately matches your SD Card capacity
  3. Formatting Options = Select Quick Format
  4. Once set, click the Format button
  5. The program will notify you that the formatting is complete.(could take several minutes)

Using DISKPART via Windows command prompt

Windows command prompt has DISKPART that is also capable of reformatting SD cards and other drives.

  1. Run Windows command prompt as administrator.
  2. Type 'list disk'. All current dives will be shown.
  3. Type 'select disk X' where X is the SD card drive number. (Do not mistake this part)
  4. Type 'clean' to clean the drive. If an error occurs simply retry typing 'clean'.
  5. Type 'create partition primary'.
  6. Type 'format fs=FAT32'. The formatting may take 45 minutes or so. FAT32 is the tested file system type.
  7. After the progress is at 100%, type 'assign' to finalize the drive letter for Windows.

Flash the SD Card

This step will physically write the software image file onto the SD Card so it will be ready for use.

There are several Windows applications that can flash SD Cards, we will describe how to do it using two common tools. Ensure you have at least one of the following tools installed on your computer.

If you are unsure, or don't understand these directions - STOP. If you are not careful, you could accidentally write a Linux image to your PC hard drive. Your PC will not function properly after this, and your IT department should not blame ADI.

Win32DiskImager

  1. Open up the Win32DiskImager application on your PC
  2. Using the small folder button in the Image File section, navigate to the location of your software image file you want to flash and select it.
  3. Double check that the Device location in the upper-right corner, matches the SD Card drive location.

    You DO NOT want to accidently re-image your hard drive, so this step is critical to ensure you are flashing the SD Card and not anything else.

  4. When you are ready to flash the SD Card, click on the “Write” button.
  5. Win32DiskImager will also alert you to make sure you want to write to this drive, acting as another failsafe so that you don't accidently image the wrong drive.
  6. Flashing the image to the SD Card typically take 10-15 minutes, but a progress bar is provided during the process. So grab yourself a coffee.
  7. “Write Successful” will appear when the program is finished, letting you know the SD Card is ready.
  8. Exit the Win32DiskImager program, and use the Windows “safely remove hardware” function to eject the disk, before physically removing the SD card from the reader.

Etcher

  1. Open Balena Etcher and select the .img file you want to write to the SD card.
  2. Select the drive you want to write your image to.(should display as an SD Card)
  3. Review your selections and click 'Flash!' to begin writing data to the SD card.
  4. After flashing, Etcher will automatically validate the image flash correctly. You can either wait for this to finish or click skip.
  5. After the validation is complete, your SD card is finished and ready for use.
  6. Go to the toolbar of your Windows OS, and click on “safely remove hardware”, and remove your completed SD card.

End of Document

resources/tools-software/linux-software/zynq_images/windows_hosts.txt · Last modified: 06 Feb 2023 07:25 by ALEXIS CZEZAR TORRENO