Commit a7f5f242 authored by Theodor-Adrian Stana's avatar Theodor-Adrian Stana

sw: Updated README in multiboot folder

parent 8b4d3563
......@@ -7,9 +7,12 @@ accesses to the I2C bus and defines functions for accessing the SPI flash
via the wb_xil_multiboot module on the FPGA.
You will need a raw bitstream file to write to the flash chip. This bitstream
file can have any extension, as long as the data in it is binary. The script
simply reads it as a binary file, parses it in 256-byte chunks and writes these
chunks to the flash chip via the FPGA.
file can have any extension, as long as the data in it is binary. One noteworthy
thing is that the binary file(s) should be inside a folder called `bin/' under
the same folder as the script. The script checks this folder for binaries, lists
them and then based on the user's selection of the binary file, it reads the
file as a binary file, parses it in 256-byte chunks and writes these chunks to
the flash chip via the FPGA.
To run it:
......@@ -24,15 +27,21 @@ Read first page? (y/n) <'y' to read the first page from the MultiBoot address
you will give later>
Write to flash? (y/n) <'y' to write bitstream data>
Are you sure? (y/n) <asks you twice, since writing takes realy long>
<listing the files from the `bin/' folder:>
Which gateware would you like to program?
0 -> conv_ttl_blo-v3.0.bin
Enter your choice : 0
Selected gateware: conv_ttl_blo-v3.0.bin
Is this okay? (y/n) y
Issue IPROG? (y/n)
Multiboot bitstream address(hex): <hex bitstream address, nominally "170000">
<if you answered 'y' on both write questions:>
Input file name: <give here the FULL name of the bitstream file>
The tool will now start sending your bitstream, outputting the page address
it is currently writing to. Go grab a coffee, since this will take at least
11 mins, maybe even more if your network connection is not that good, or
you're using Windows
Multiboot bitstream address(hex): 0x<hex bitstream address, nominally "170000">
The tool will now start sending your bitstream, outputting its progress and the
page address it is currently writing to. Go grab a coffee, since this will take
at least 11 mins, maybe even more if your network connection is not that good, or
you're using Windows.
mass-multiboot.py
=================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment