InSystemFlasher: Difference between revisions

From coreboot
Jump to navigation Jump to search
Line 25: Line 25:


==Main PCB==
==Main PCB==
[[File:Spi-aux-schematic.png|200px|thumb|right|Tester main board schematic]]
[[File:Spi-main-schematic.png|200px|thumb|right|Tester main board schematic]]
[[File:Spi-main.png|200px|thumb|left|Tester main PCB]]
[[File:Spi-main.png|200px|thumb|left|Tester main PCB]]


Line 45: Line 45:
* U4: Texas Instruments SN74CBT3306D Dual FET bus switch in SOIC-8.
* U4: Texas Instruments SN74CBT3306D Dual FET bus switch in SOIC-8.
* D1,D2: LEDs. Used green and yellow.
* D1,D2: LEDs. Used green and yellow.
==Auxiliary PCB==
==Auxiliary PCB==
[[File:Spi-aux-schematic.png|200px|thumb|right|Tester aux board schematic]]
[[File:Spi-aux-schematic.png|200px|thumb|right|Tester aux board schematic]]

Revision as of 19:58, 27 February 2011

Introduction

This page describes a tester device, which is capable of programming a BIOS ROM chip while it is connected to a live mainboard. The tester is controlled by a host PC via USB. The purpose of this tester device is to provide a do-it-yourself hardware for testing Coreboot builds. The goal is to support automated builds and tests from version control repository.

The tester is built around the Atmel AT90USB162 microcontroller, which is programmed using avr-gcc and the LUFA library. The host-side software is currently Flashrom.


Features

  • Tester consists of two circuit boards: main and auxiliary board. Main tester board connects to host via USB, and to aux board via ribbon cable.
  • Optionally, the main tester board can be connected to the reset and ATX power pins of the target mainboard. All common sense voltages (1..5V) are supported.
  • The main tester board has a standard serial port for reading debug output from the target mainbaord.
  • PCB layout is kept simple, so that it can be built using hobbyist methods, e.g. toner transfer PCB etching. The parts have been chosen so that they should be quite well available and inexpensive.
  • Designed using open source tools.

Status

  • Currently supports SPI ROMs only.
  • Current firmware and flashrom extension do not support serial port or reset/power switch operation.


Hardware

In the images shown are two-sides circuit boards. Red mask shows component-side copper and blue mask shows solder-side copper.

Main PCB

Tester main board schematic
Tester main PCB

Parts list

  • R1,R2: USB line termination resistors. 22 ohm.
  • R3,R4: LED current limiters. 270 ohm.
  • R5,R6,R7: Pull-ups. 10k ohm.
  • C1,C2: Oscillator capacitors. 22 pF.
  • U2: Crystal oscillator. 16 MHz.
  • C3,C4,C5,C6: Charge pump capacitors. About 100 nF.
  • C7: Power bypass. Used 1 microF.
  • J1: 2x5 pin header. Pins 1-6 are used to load AVR firmware. Pins 1-6,9,10 connect to aux PCB.
  • J2: Alternative connector for RS232.
  • CONN4: 2x2 pin header
  • CONN2: USB B (device-side) connector.
  • CONN3: DB-9 male connector with 90° angle.
  • U1: Atmel AT90USB162 in TQFP-32.
  • U3: Texas Instruments MAX3232ECDG4 in SOIC-16.
  • U4: Texas Instruments SN74CBT3306D Dual FET bus switch in SOIC-8.
  • D1,D2: LEDs. Used green and yellow.

Auxiliary PCB

Tester aux board schematic
Tester aux PCB

Parts list

  • U1: DIP-8 socket for SPI ROM chip.
  • U2: SOIC-16 Texas Instruments SN74CBTLV3257D FET Multiplexer
  • U3: DIP-8 pin header on the solder-side of the board (plugs to mainboard ROM socket)
  • C1,C2: Power bypass capacitors. 100nF worked fine.
  • D1,D2: Schottky diodes with low forward voltage drop. Here SD103A-T/R
  • R1: Pull-up resistor. 120 kohm was used.
  • J1: 2x5 pin header for connecting to tester main PCB. Pins 7 and 8 are not used.

Firmware

Host-side software

Downloads

Download sources from Git repository.

TODO: Add URL here.