Sd card memory, The sd card default hps boot source – Altera Arria V SoC User Manual

Page 44

Advertising
background image

A–4

Appendix A: Programming Flash Memory

SD Card Memory

Arria V SoC Development Kit

June 2014

Altera Corporation

User Guide

SD Card Memory

The SD Card Default HPS Boot Source

The SD card is the default boot source for the HPS as selected by the BSEL jumpers.
The socket is designed to accept micro-SD cards. This kit comes with a microSD card,
micro-to-standard SD card adapter, and a USB programming adapter.

To program the SD card, do the following steps:

1. Insert the SD card into the USB Programming adapter and insert the programming

adapter into a USB port on your PC.

2. In Windows, you should see a pop-up window asking what you'd like to do with

the flash device. Click Cancel, but note the drive letter it is mounted as.

You cannot drag and drop files onto the SD card because the file system is
different. You need to use a disk image program or, preferably, use a Cygwin
installation such as the NIOS II Embedded Development System (Nios II EDS).

3. Start the Nios II Command Shell by clicking Start > All Programs > Altera

<version> > Nios II EDS > Nios II Command Shell.

4. At this shell, type the command ls /dev <enter>

The SD card will generally be mounted as sda, sdb, or sdc, etc., depending on other
devices that may be present.

5. To be sure which is correct, remove the card and type ls /dev <enter>

6. Look for what changed since you type the command the first time.

7. Re-insert the SD card, and verify the name once more.

8. Type dd if=<boot_image_filename.img> of=/dev/<sd_card_name> <enter>

Linux users use the same dd commands.

1

Be careful using this programming command as it will overwrite whatever
is found on the device pointed to in the of command.

f

For more information, refer to the

Altera SoC Embedded Design Suite User

Guide

and

RocketBoards.org

.

Advertising