Skip navigation
English  |  日本語   |  Português   |  简体中文

Manage categories

Close

Create and manage categories in gR8C Open Hardware Board. Removing a category will not remove content.

Categories in gR8C Open Hardware Board
Add a new category (0 remaining)

Manage Announcements

Close

Create and manage announcements in gR8C Open Hardware Board. Try to limit the announcements to keep them useful.

Announcements in gR8C Open Hardware Board
Subject Author Date Actions

The Open Hardware gR8C Board

 

 

What is gR8C? The gR8C (pronounced "great, see?") standard is a hardware standard for interfacing R8C processors to host computers, both for programming them and for communicating with them. By standardizing, all gR8C-compatible projects can interact with each other and share their work.

gR8C Compatibility

To be gR8C-compatible, a board must comply with the following:

  • 18.432 MHz clock (crystal or resonator)
  • FTDI FT232R USB interface chip
  • CBUS2 connected to MODE with weak pull-up
  • DTR connected to RESET (the FT232R chip must be configured to invert this signal)
  • Tx/Rx connected to the appropriate Serial Mode 2 UART on the R8C
  • The FT232R's product string shall be "FT232R - R8C" (but the vendor/product IDs remain the FT232R's 0403:6001)

Rationale

The FT232R chip provides not only serial (heck, any usb chip can do that) but four unrelated controllable I/O pins. By connecting one of these to the MODE pin, the host PC can automatically put the R8C into serial mode 2, program the chip, and put it back into user mode.

The 18.432 MHz clock is a multiple of 16 times 115200, giving perfect baud rates at all supported speeds. An external clock source is also a requirement for serial mode 2. A fixed clock rate means gR8C-compatibile UART and timer libraries can be shared, without having to reconfigure for different clocks.

DTR on RESET serves two purposes - first, it allows the host PC to reset the board, both for programming and restart. Second, it makes the board act more like a peripheral - the board remains in reset until the PC connects to it, at which point the board starts running just as the PC is paying attention.

Use of serial mode 2 means that at least one of the UARTs is connected to the USB chip's uart, so a serial connection to the PC is always available.

Variants

Note that other FT232R pins may also be connected to the R8C chip - often, CTS/RTS - but these are not required.

The preference for other CBUS pins is as follows: CBUS0 is TxLED, CBUS1 is RxLED, CBUS3 is I/O (use unspecified), and CBUS4 is PWRON.

When the USB interface and R8C are on separate boards, there are two standard connector pinouts - the E8a pinout, and a six-pin serial-micro pinout. Both pinouts support 0.1 inch pitch (male on target) as well as 0.050 inch pitch (female on target) connectors. Note that only the Serial Mode 2 connection scheme is gR8C compatible; the Mode 3 connection is not.

When the USB interface and R8C are on separate boards, gR8C compatibility is determined for each board separately.

Power

The gR8C standard does not specify any board power requirements. Boards that are USB-powered should comply with the USB standards. Boards using programming connectors (E8a or serial-micro) may be self-powered or connector-powered, providing the E8a/usb and r8c board are power-compatible.

Logo

Boards and software which comply with the gR8C standards may display the gR8C logo.

Software

DJ Delorie's sample flash tool provides a reference implementation in its uflash program.


Actions

Notifications