Microcontroller

The Kurobox and the Kurobox HG use an Atmel AVR AT90S2313-4SC microcontroller.

Features

 * 2K bytes of Flash Memory
 * 128 bytes of EEPROM!
 * 128 bytes of Internal Ram
 * 15 I/O lines
 * one 8-bit timer/counter
 * one 16-bit timer/counter
 * Full Duplex UART
 * 10-bit PWM
 * Analog Comparator
 * on chip oscillator and clock circuitry

AVR Commands
The AVR controls the Kurobox hardware, such as the power button and LEDs. The AVR is connected to /dev/ttyS1 and can be controlled by sending commands directly to it.

The power button on the front of the case, and the red button on the rear of the case also send commands to the AVR, and is controlled by the ppc_uartd daemon. However, it is possible to control the Kurobox without the ppc_uartd daemon
 * replacement scripts.
 * replacement program, avr_evtd

HOWTO Send AVR Commands
To send commands to the AVR, use the syntax below. Replace command with a valid AVR command.
 * 1) echo -n "command" > /dev/ttyS1

List of Known AVR Commands
Source: AVR commands