beautypg.com

Hps flash programmer command line examples, Hps flash programmer command line examples -4 – Altera SoC Embedded Design Suite User Manual

Page 194

background image

Option

Short

Option

Required

Description

--operation

-o

Yes

This option specifies the operation to be

performed. The following operations are

supported:
• I: Read IDCODE of SOC device and

discover Access Port

• S: Read Silicon ID of the flash

• E: Erase flash

• B: Blank-check flash

• P: Program flash

• V: Verify flash

• EB: Erase and blank-check flash

• BP: Program <BlankCheck> flash

• PV: Program and verify flash

• BPV: Program (blank-check) and verify

flash

• X: Examine flash
Note: The program begins with erasing

the flash operation before

programming the flash by default.

--addr

-a

Yes (if the start

address is not 0)

This option specifies the start address of the

operation to be performed.

--size

-s

No

This option specifies the number of bytes of

data to be performed by the operation.

size

is

optional.

--repeat

-t

No

These options must be used together. The

HPS BOOT flow supports up to four images

where each image is identical and these

options duplicate the operation data;

therefore you do not need eSW to create a

large file containing duplicate images.

repeat

specifies the number of duplicate

images for the operation to perform.

interval

specifies the repeated address. The

default value is 64 kilobytes (KB).

repeat

and

interval

are optional.

--interval

-i

HPS Flash Programmer Command Line Examples

Type

quartus_hps --help

to obtain information about usage. You can also type

quartus_hps

--help=

to obtain more details about each option. For example "quartus_hps --help=o".

9-4

HPS Flash Programmer Command Line Examples

ug-1137

2014.12.15

Altera Corporation

HPS Flash Programmer User Guide

Send Feedback