Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Schedules
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
Software for White Rabbit PTP Core
Commits
ac996c2a
Commit
ac996c2a
authored
Dec 16, 2015
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: adding mcs generation instructions using promgen
parent
5d937856
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
1 deletion
+45
-1
wrpc.in
doc/wrpc.in
+45
-1
No files found.
doc/wrpc.in
View file @
ac996c2a
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
@setchapternewpage off
@setchapternewpage off
@set update-month
Octo
ber 2015
@set update-month
Decem
ber 2015
@set release
__
RELEASE
_
GIT
_
ID
__
@set release
__
RELEASE
_
GIT
_
ID
__
@set version 3.0
@set version 3.0
@set tagname wrpc-v3.0
@set tagname wrpc-v3.0
...
@@ -443,6 +443,11 @@ $ sudo tools/flash-write -b 0x20 -c 0x0 0 1507712 < \
...
@@ -443,6 +443,11 @@ $ sudo tools/flash-write -b 0x20 -c 0x0 0 1507712 < \
<your
_
location>/sdbfs-flash.bin
<your
_
location>/sdbfs-flash.bin
@end example
@end example
@b
{
Note:
}
Please refer to @ref
{
Writing @sc
{
sdbfs
}
image in standalone configuration
}
for instructions on how to write the @sc
{
sdbfs
}
image to a standalone @sc
{
spec
}
or custom hardware.
@sp 1
Now, you are ready to load the last driver, which downloads the actual
Now, you are ready to load the last driver, which downloads the actual
@sc
{
wr ptp core
}
bitstream to the Spartan 6 FPGA:
@sc
{
wr ptp core
}
bitstream to the Spartan 6 FPGA:
@example
@example
...
@@ -887,6 +892,45 @@ the @sc{wr} servo is updated
...
@@ -887,6 +892,45 @@ the @sc{wr} servo is updated
@end multitable
@end multitable
@c ##########################################################################
@page
@node Writing @sc
{
sdbfs
}
image in standalone configuration
@appendix Writing @sc
{
sdbfs
}
image in standalone configuration
If you use @sc
{
spec
}
board in a host
-
less environment, or you use custom
hardware and @sc
{
spec
}
drivers and tools cannot be used, there is still a
possibility of writing @sc
{
sdbfs
}
through Xilinx JTAG.
@sp
1
In case of @sc
{
spec
}
running a reference bitstream provided with a stable
@sc
{
wrpc
}
release, you can simply program your Flash with @i
{
spec
_
top.mcs
}
provided with the release binaries using for example Xilinx ISE Impact tool.
This @i
{
mcs
}
file already includes both @sc
{
sdbfs
}
image and FPGA bitstream.
In case of a custom gateware or hardware, you can download a standalone
@sc
{
sdbfs
}
image:
@example
$
wget http://www.ohwr.org/attachments/download/4144/sdbfs-standalone.bin
@end example
and generate a custom @i
{
*.mcs
}
file with your own FPGA bitstream. You should
use the following layout:
@multitable @columnfractions .1 .7
@item @code
{
0x000000
}
@tab your FPGA bitstream
@item @code
{
0x170000
}
@tab @sc
{
sdbfs
}
image
@end multitable
@sp 1
For example, to generate the @i
{
*.mcs
}
file for M25P32 Flash on @sc
{
spec
}
, the
following @i
{
promgen
}
parameters should be used:
@example
promgen -w -spi -p mcs -c FF -s 32768 -u 0 <your
_
bitstream>.bit
\
-bd sdb-standalone.bin start 0x170000 -o output.mcs
@end example
After that, you can use the Xilinx JTAG cable and Xilinx ISE Impact tool to
write your @i
{
output.mcs
}
file to the Flash memory.
@c ##########################################################################
@c ##########################################################################
@bye
@bye
...
...
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