URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
Compare Revisions
- This comparison shows the changes necessary to convert path
/eco32/trunk/fpga
- from Rev 240 to Rev 241
- ↔ Reverse comparison
Rev 240 → Rev 241
/boards/s3e-500/doc/flash-500.cmd
1,7 → 1,7
setMode -bscan |
setCable -p auto |
addDevice -position 1 -part xc3s500e -file ./flash-500.bit |
addDevice -position 1 -file ./flash-500.bit |
addDevice -position 2 -part xcf04s |
addDevice -position 3 -part xc2c64a |
program -e -v -p 1 |
program -p 1 |
quit |
/boards/s3e-500/doc/README
12,8 → 12,8
f) ./setup_pcusb /opt/Xilinx/14.5/ISE_DS/ISE/ |
|
2. The configuration bitstring for the FPGA is stored in the |
"Platform Flash PROM" (XCF04S). The board must therefore |
be jumpered for "Master Serial Mode" (all 3 jumpers set). |
"Platform Flash PROM" (XCF04S). The board must therefore be |
jumpered for "Master Serial Mode" (all 3 jumpers installed). |
|
3. Here is the command which burns the configuration bitstring |
into the Platform Flash PROM: |
24,18 → 24,19
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). |
|
5. In order to program the Flash PROM with the machine monitor, proceed |
as follows (very briefly, the FPGA is used as a Flash PROM programmer): |
a) Connect a serial cable to the starter board. This is needed |
in order to communicate with the Flash programmer. |
5. In order to program the machine monitor into the Flash PROM, proceed |
as follows (briefly, the FPGA is used as a Flash PROM programmer): |
a) Connect a serial cable to the starter board. This is needed in |
order to communicate with the Flash programmer. Use connector J9 |
(the DCE connector) and a straight-through cable. |
b) Transfer the MCS file you wish to program into the Flash PROM |
(in our case the monitor, ../../monitor/s3e-500/monitor.mcs) |
to the computer to which the serial cable is connected. |
c) Start a serial communication program (e.g. minicom) on the |
computer at the other end of the serial cable. The communication |
computer connected to the serial cable. The communication |
parameters must be set as follows: |
- choose the serial port to which the cable is connected |
(this is /dev/??? on my computer) |
(this is /dev/tty00 on my computer) |
- 115200 baud |
- 8 bits, no parity, 1 stop bit ("8N1") |
- software flow control ("XON/XOFF protocol") |
44,10 → 45,25
- local echo off (the programmer does echo itself) |
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 |
e) |
f) |
If the download succeeds, you should see the message "PicoBlaze NOR |
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 |
(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 |
be displayed), and 's' (the status should be 80). |
e) Erase the flash ROM completely by pressing 'e'. This command must |
be confirmed with an upper case 'Y' and can run for a few minutes. |
The command sends the character '.' repeatedly to show its progress. |
f) Program the ROM with the command 'p'. You will have to specify the |
name of the MCS file to your communication program somehow (with |
minicom, it's "CTRL-A Z Y <choose file> <okay>"). Your communication |
program should send the contents of the file as if it has been |
typed at the keyboard, without changing any character. |
g) Verify what you have programmed with the command 'r', followed by |
exactly 6 hex digits which represent the starting address of 256 |
bytes (these bytes will be dumped to your screen). |
|
x. The two programming tasks (FPGA bistring into Platform Flash PROM |
6. The two programming tasks (FPGA bistring into Platform Flash PROM |
and monitor into Parallel NOR Flash PROM) may be carried out in |
any sequence. |
|