Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
14
Issues
14
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple VME FMC Carrier SVEC
Commits
060a0973
Commit
060a0973
authored
Aug 16, 2023
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tool: improve help message
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
ab93260c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
svec-flasher.c
software/tools/vme-flasher/svec-flasher.c
+6
-3
No files found.
software/tools/vme-flasher/svec-flasher.c
View file @
060a0973
...
...
@@ -431,9 +431,12 @@ static void bitstream_buffer_free(struct bitstream *bitstream)
static
void
help
(
const
char
*
name
)
{
printf
(
"usage: %s slot bitstream.bin [-b]
\n
"
,
name
);
printf
(
" -b: updates the bootloader itself
\n
"
);
printf
(
" -f: loads the bitstream straight to the Application FPGA (without programming the flash)
\n
"
);
printf
(
"usage: %s [options] <vme-slot-number> <path-to-bitstream>.bin
\n\n
"
,
name
);
printf
(
"Programs the on-board flash memory with the given bitstream. By default, the bitstream will be placed in the 'Application' partition.
\n\n
"
);
printf
(
"Options:
\n
"
);
printf
(
" -b: program the 'system' partition
\n
"
);
printf
(
" -f: do not write on flash, instead program the Application FPGA directly
\n
"
);
}
int
main
(
int
argc
,
char
*
argv
[])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment