Line 7... |
Line 7... |
b) sudo apt-get install \
|
b) sudo apt-get install \
|
gitk git-gui libusb-dev build-essential libc6-dev fxload
|
gitk git-gui libusb-dev build-essential libc6-dev fxload
|
c) git clone git://git.zerfleddert.de/usb-driver
|
c) git clone git://git.zerfleddert.de/usb-driver
|
d) cd usb-driver
|
d) cd usb-driver
|
e) make
|
e) make
|
f) ./setup_pcusb /opt/Xilinx/14.5/ISE_DS/ISE/
|
f) ./setup_pcusb /opt/Xilinx/14.7/ISE_DS/ISE/
|
|
|
2. The configuration bitstring for the FPGA is stored in the
|
2. The configuration bitstring for the FPGA is stored in the
|
"Platform Flash PROM" (XCF04S). The board must therefore be
|
"Platform Flash PROM" (XCF04S). The board must therefore be
|
jumpered for "Master Serial Mode" (all 3 jumpers installed).
|
jumpered for "Master Serial Mode" (all 3 jumpers installed).
|
|
|
3. Here is the command which burns the configuration bitstring
|
3. Here is the command which burns the configuration bitstring
|
into the Platform Flash PROM:
|
into the Platform Flash PROM:
|
/opt/Xilinx/14.5/ISE_DS/ISE/bin/lin/impact -batch ./program.cmd
|
/opt/Xilinx/14.7/ISE_DS/ISE/bin/lin/impact -batch ./program.cmd
|
|
|
4. The machine monitor is stored in the "StrataFlash Parallel NOR
|
4. The machine monitor is stored in the "StrataFlash Parallel NOR
|
Flash PROM" (28F128J3), starting at address 0x000000. The ECO32
|
Flash PROM" (28F128J3), starting at address 0x000000. The ECO32
|
CPU can access the machine monitor at virtual address 0xE0000000.
|
CPU can access the machine monitor at virtual address 0xE0000000.
|
The monitor's size must not exceed 16 MB (the size of the Flash PROM).
|
The monitor's size must not exceed 16 MB (the size of the Flash PROM).
|
Line 42... |
Line 42... |
- software flow control ("XON/XOFF protocol")
|
- software flow control ("XON/XOFF protocol")
|
- line wrap on (otherwise you won't see all chars of long lines)
|
- line wrap on (otherwise you won't see all chars of long lines)
|
- add linefeed on (the programmer sends CR, but not LF)
|
- add linefeed on (the programmer sends CR, but not LF)
|
- local echo off (the programmer does echo itself)
|
- local echo off (the programmer does echo itself)
|
d) Here is the command that loads the FPGA with the programmer:
|
d) Here is the command that loads the FPGA with the programmer:
|
/opt/Xilinx/14.5/ISE_DS/ISE/bin/lin/impact -batch ./flash-500.cmd
|
/opt/Xilinx/14.7/ISE_DS/ISE/bin/lin/impact -batch ./flash-500.cmd
|
If the download succeeds, you should see the message "PicoBlaze NOR
|
If the download succeeds, you should see the message "PicoBlaze NOR
|
FLASH Programmer v1.00" on the computer which is connected via the
|
FLASH Programmer v1.00" on the computer which is connected via the
|
serial line to the starter board, as well as a menue of commands
|
serial line to the starter board, as well as a menue of commands
|
(E, B, P, W, R, I, H, S), and a prompt (">"). Try the commands 'h'
|
(E, B, P, W, R, I, H, S), and a prompt (">"). Try the commands 'h'
|
(the menue should be sent again), 'i' (the device ID 89 18 should
|
(the menue should be sent again), 'i' (the device ID 89 18 should
|