Renesas M16C/6N Instrukcja Użytkownika Strona 10

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 27
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 9
QDK™
M16C/Neutrino-NC30
www.state-machine.com/m16c
An example run of the DPP application is shown in
Figure 1. The three user LEDs should start blink-
ing. The LEDs 2 and 3 represent Philosophers 2-3. An LED-on represents an “eating” philosopher.
Extinguished LED represents philosopher “thinking” or “hungry”.
NOTE: The LED0 and LED1 are not used for displaying the Philosopher status, because the pins
used by these LEDs are needed for UART2, which is connected to the RS232 converter board,
as shown in Figure 4.
For the QS (Q-SPY) software tracing output, you need to connect a TTL to RS-232 transceiver to
the NEUTRINO board, as shown in
Figure 4. The figure shows the RS232 to TTL converter board
3.3V to 5V from NKC Electronics (
http://www.nkcelectronics.com/rs232-to-ttl-converter-board-
33v232335.html), but you can use any other equivalent board.
GND
RS232 to TTL board
NEUTRINO
board
VCC
TX
RX
Figure 4 Connecting RS232-TTL board to the NEUTRINO board.
To see the QS software trace output, you also need to download the Spy build configuration to the
target board. Next you need to launch the QSPY host utility to observe the output in the human-
readable format. You launch the QSPY utility on a Windows PC as follows: (1) Change the directory
to the QSPY host utility
<qp>\tools\qspy\win32\mingw\rel
and execute:
qspy –c COM2 –b 115200 –O2 –F2
Copyright © Quantum Leaps, LLC. All Rights Reserved.
8 of 25
Przeglądanie stron 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 26 27

Komentarze do niniejszej Instrukcji

Brak uwag