Altera Cyclone V SoC User Manual Page 42

  • Download
  • Add to my manuals
  • Print
  • Page
    / 44
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 41
A–4 Appendix A: Programming Flash Memory
SD Card Memory
Cyclone V SoC Development Kit November 2013 Altera Corporation
User Guide
Using this tool requires that the board be placed into quad SPI boot mode by setting
BOOTSEL1 (J29) shunt to the 1-2 position. The default position is 2-3 (SD card). The
board must be power cycled after changing this jumper for the settings to take effect.
For help and more options, type
quartus_hps.exe --help
f For more information, refer to the SoC Board QSPI Boot page on RocketBoards.org.
SD Card Memory
Programming the SD Card Boot Image
The SD card is the default boot source for the HPS as selected by the BSEL jumpers.
The socket is designed to accept microSD cards. The SoC development 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 imaging program such as Win32DiskImager for
Windows, or the
dd
command in Linux. You can also 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 SoC EDS User Guide and
RocketBoards.org.
Page view 41
1 2 ... 37 38 39 40 41 42 43 44

Comments to this Manuals

No comments