Page 12
Rev. 2.0
CobraNet
TM
EV-2
In the EV-2 application, the host address lines are generated by the address latch in the FPGA (see
Table 6 on page 14) and the host data bus is connected directly to the data bus of the microcontroller.
The HREQ# and HACK# signals are connected to the two interrupt inputs of the microcontroller.
These signals may be used for data handshaking and asynchronus notification respectively.
The final host signal, HRESET#, resets the CM when asserted low. Setting a bit in the host reset
register (see Table 6 on page 14) controls this signal. See the discussion of the FPGA below for more
information about this signal.
Supplemental information regarding the CM Host interface may by found in the section titled "Host
Management Interface" in the CS181xx data sheet available on the Cirrus Logic website: www.
cirrus.com.
Programming the Microcontroller
The EV-2 is designed so that field updates of both the microcontroller firmware and the FPGA
firmware are possible. If only the efficacy and performance of the CobraNet paradigm is being
evaluated, reprogramming of the microcontroller is not required. However, use of the field program
capability may aid in the design of a CobraNet based product.
Modifying the Flash Program Memory of the microcontroller constitutes the update. To program the
flash, either the provided software or a copy of WINISP may be used. (WINISP can be downloaded
from the Philips Semiconductor website: http://www-us.semiconductors.philips.com/)
The programming instructions that follow pertain to the supplied EV-2 routing/programming software,
CNEval.exe. Programming the microcontroller is a multi-stage process:
1.
Install the EV-2 CNEval.exe software on your Windows-based computer.
2.
Install an RS232 cable from port 1 or 2 on your PC to P501, the 9-pin D-type connector closest
to the center of the board.
3.
Run CNEval.exe
4.
Change the hex switches (SW201-SW204) to FFF8 (as viewed when looking at the hex
switches). You may, as an alternative, press the key combination
Shift+F9
to enable
the Utility-Program menu item.
5.
Select "Program" from the Utility menu in CNEval.exe.
6.
From the drop-down list box located in the main programming window, select a serial connec-
tion, either port COM1 or COM2 based on which is connected.
7.
Located near the two serial RS232 connectors is a switch, SW200. This switch must be set to
the program mode position. The program position is indicated by silk screen on the EV-2
board.
8.
Push switch SW508, the momentary reset switch. SW508 is located just behind the hex
switches.
9.
Select which firmware to update, either the FPGA or the 8051.
10.
Wait for programming to complete. Do not interrupt the programming process!
11.
Once programming has completed for the microcontroller or the FPGA firmware, return the
programming switch, SW200, to the normal operation position and press the reset switch,
SW508.
Содержание CobraNet EV-2
Страница 29: ...Page 28 Rev 2 0 CobraNetTM EV 2 Drawings ...
Страница 46: ...CobraNetTM EV 2 Page 45 ...