Difference between revisions of "Hardware FAQ"

From PhatHack Wiki
Jump to navigation Jump to search
(Hardware FAQ)
 
 
(26 intermediate revisions by 5 users not shown)
Line 1: Line 1:
  +
[[Category:FAQ]]
  +
[[Category:Specs]]
 
This page gathers all kinds of information we know about the PB hardware
 
This page gathers all kinds of information we know about the PB hardware
 
 
CPU (ARM):
+
= CPU =
  +
* ARM
- Cirrus Logic EP7312 (Maverick)
 
  +
* Cirrus Logic [http://www.cirrus.com/en/products/pro/detail/P139.html EP7312] (Maverick)
- 74MHz
 
  +
* 74MHz
- 2x 16550 UART (serial)
 
  +
* 2x 16550 UART (serial)
- LCD display controller
 
  +
* LCD display controller
- Datasheet
 
  +
* [http://www.cirrus.com/en/pubs/proDatasheet/EP7312_F1.pdf Datasheet]
- User's Guide
 
  +
* [http://www.cirrus.com/en/pubs/manual/ep73xx_um-f.pdf User's Guide]
 
 
Microcontroller:
+
= Microcontroller =
  +
* [http://www.8052.com/ 8052]
- 8052
 
- 24MHz
+
* 24MHz
  +
* [[8052 Specs]]
- Headunit interfacing
 
  +
* Headunit interfacing
- Datasheet (Winbond W78E516B)
 
  +
* [http://www.winbond-usa.com/products/winbond_products/pdfs/8-bit/W78E516Bk.pdf Datasheet (Winbond W78E516B)]
  +
* [http://www.8052.com/chips.phtml?Chip=3276 Winbond Chip Specs at 8052.com]
 
 
D/A-Converter:
+
= D/A-Converter =
- Cirrus Logic CS4341
+
* Cirrus Logic CS4341
- 16-bit
+
* 16-bit
  +
* [http://www.cirrus.com/en/pubs/proDatasheet/CS4341_F4.pdf Datasheet]
- Datasheet
 
  +
  +
or
  +
  +
* Burr-Brown/TI PCM1748E (U7)
  +
* 24-bit/96kHz
  +
* [http://www-s.ti.com/sc/ds/pcm1748.pdf Datasheet]
  +
  +
= IDE interface controller =
  +
* XILINK XC9572XL
  +
* [http://www.engin.brown.edu/courses/En163/xc9572XL.pdf Datasheet]
  +
* [http://www.xilinx.com/xlnx/xebiz/designResources/ip_product_details.jsp?key=DS-ISE-WEBPACK SDK]
 
 
  +
= Flash ROM =
IDE interface controller:
 
  +
* ST Micro M29W200BB (Flash ID 0020 0057)
- XILINK XC9572XL
 
  +
* 2 MBit
- Datasheet
 
  +
* Automotive grade
- SDK
 
  +
* [http://us.st.com/stonline/books/pdf/docs/6616.pdf Datasheet]
  +
  +
or
  +
  +
* AMD AM29LV200BB-90EC (Flash ID 0001 22BF)
  +
* 2 MBit
  +
* Commercial grade (0-70 degC)
  +
* [http://never.net/files/21521d3.pdf Datasheet]
  +
  +
or
  +
  +
* Fujitsu MBM29LV200BC (Flash ID 0004 22BF)
  +
* [http://pdf.alldatasheet.com/datasheet-pdf/view/61825/FUJITSU/MBM29LV200BC-90PFTR.html Datasheet]
  +
  +
or
  +
  +
* Fujitsu MBM29LV400BC (Flash ID 0004 22BA)
  +
* [http://pdf.alldatasheet.co.kr/datasheet-pdf/view/61839/FUJITSU/MBM29LV400BC-70PCV.html Datasheet]
  +
* Note: This is a 4 megabit chip, whereas all of the other ones are 2 megabit -- but it doesn't seem to matter...
  +
  +
or
  +
  +
* Silicon Storage Technology (SST) SST39VF200A (Flash ID 00BF 2789)
  +
* [http://www.sst.com/downloads/datasheet/S71117.pdf Datasheet]
  +
  +
  +
== Connection to CPU ==
  +
  +
The flash chip is connected to the ARM CPU for only 16 bit accesses (the nBYTE pin on the flash appears to be shorted to Vcc).
  +
  +
Flash address lines A[0:14], A[15] are connected to CPU address lines A[2:16], A[1]. A[0] on the CPU is not connected to the flash, thus also preventing byte-wise access.
  +
  +
The data lines appear to be connected straight-through.
  +
  +
= Complex Programmable Logic Device (CPLD) =
  +
* XCR5032C
  +
* [http://www.nalanda.nitc.ac.in/industry/appnotes/xilinx/documents/partinfo/ds046.pdf Datasheet] (VQFP package)
  +
* [http://www.xilinx.com/xlnx/xebiz/designResources/ip_product_details.jsp?key=DS-ISE-WEBPACK SDK]
  +
  +
= Power Regulator =
  +
* TDA3681J : Multiple voltage regulator with switch and ignition buffer [PHILIPS]
  +
* [http://pdf.alldatasheet.com/datasheet-pdf/view/94044/PHILIPS/TDA3681J.html Datasheet]
  +
  +
The pins go from 1 to 17 from left to right as you're looking from the inside of the phatbox towards the back.
  +
  +
== Constant Power Pins ==
  +
  +
* Pin 13 is ground
  +
* Pin 15 (Regulator 2) should be 5V. This powers the microcontroller.
  +
  +
These pins should be on at least when the ignition is on, but don't require the head unit to be "on."
  +
  +
== Switched Power Pins ==
  +
  +
* Pin 4 (Regulator 4) is 3.3V, This is the supply for the ARM, SDRAM, Flash, etc. (Enable input is pin 9.)
  +
* Pin 2 (Regulator 3) is 5V (Enable input is pin 10.)
  +
* Pin 1 (Regulator 1) is 8.5V, and I'm not sure it gets used for anything (it might not even be enabled, I haven't checked) (Enable input is pin 10.)
  +
  +
The regulators that supply the power on these pins are controlled by the 8051 and are only on when the PB is powered-up by the head unit.
  +
  +
= PCB Layout (Photos) =
  +
* [http://downloads.phathack.com/sbingner/images/c710-front.jpg Keg C710 Front]
  +
* [http://downloads.phathack.com/sbingner/images/c710-back.jpg Keg C710 Back]
  +
* [http://downloads.phathack.com/sbingner/images/cx910-front.jpg Keg CX910 Front]
  +
* [http://downloads.phathack.com/sbingner/images/cx910-back.jpg Keg CX910 Back]
  +
  +
= PCB Jumpers =
  +
== JP1 ==
  +
* JP1 -- Power-on jumper?
  +
* The center pin of this 3-pin block is connected to pins 9 and 10 of the voltage regulator -- that is to say, applying power to it causes the rest of the box to turn on.
  +
* The box will not boot with no jumper.
  +
* Some have had luck getting an apparently "dead" PhatBox to respond by either switching the jumper to its other position, or even just removing it and reinstalling it, while power was applied to the unit.
  +
  +
== JP5 ==
  +
* JP5 -- XILINX 9572XL - JTAG
  +
** Pin 6 > 9572XL Pin 48 - TCLK
  +
** Pin 8 > 9572XL Pin 83 - TDO
  +
** Pin 10 > 9572XL Pin 45 - TDI
  +
** Pin 12 > 9572XL Pin 47 - TMS
 
 
  +
== JP6 ==
Flash ROM
 
  +
* JP6 -- ARM JTAG (No Connector, just pads)
- ST Micro M29W200BB
 
  +
** Pin 3 > 7312 Pin 125 - nTRST
- 2 MBit
 
  +
** Pin 5 > 7312 Pin 11 - TDI
- Automotive grade
 
  +
** Pin 7 > 7312 Pin 58 - TMS
- Datasheet
 
  +
** Pin 9 > 7312 Pin 90 - TCLK
  +
** Pin 11 > 7312 Pin 22 - TDO
 
 
  +
== JP8 ==
Complex Programmable Logic Device (CPLD)
 
  +
'''This is JP4 on the C710 board'''
- XCR5032C
 
  +
* JP8 -- ARM UART1 (SERIAL PORT!!!)
- Datasheet (VQFP package)
 
  +
** Pin 1 > board power
- SDK
 
  +
** Pin 2 > pin18 - PB2 [GPIO port B]
 
  +
** Pin 3 > some resistor, hard to trace past.
PCB Layout (Photos):
 
  +
** Pin 5 > 7312 Pin 32 - TDX[1]
- Front
 
  +
** Pin 7 > 7312 Pin 36 - RXD[1]
- Back
 
  +
** Pin 9 > 7312 Pin 37 - DCD
- Keg CX910 Front
 
  +
** Pin 11 > 7312 Pin 38 - DSR
- Keg CX910 Back
 
  +
** Pin 13 > 7312 Pin 35 - CTS
 
PCB Jumpers:
 
 
JP5 -- XILINX 9572XL - JTAG
 
Pin 6 > 9572XL Pin 48 - TCLK
 
Pin 8 > 9572XL Pin 83 - TDO
 
Pin 10 > 9572XL Pin 45 - TDI
 
Pin 12 > 9572XL Pin 47 - TMS
 
 
JP6 -- ARM JTAG (No Connector, just pads)
 
Pin 3 > 7312 Pin 125 - nTRST
 
Pin 5 > 7312 Pin 11 - TDI
 
Pin 7 > 7312 Pin 58 - TMS
 
Pin 9 > 7312 Pin 90 - TCLK
 
Pin 11 > 7312 Pin 22 - TDO
 
 
JP8 -- ARM UART1 (SERIAL PORT!!!)
 
Pin 1 > board power
 
Pin 2 > pin18 - PB2 [GPIO port B]
 
Pin 3 > some resistor, hard to trace past.
 
Pin 5 > 7312 Pin 32 - TDX[1]
 
Pin 7 > 7312 Pin 36 - RXD[1]
 
Pin 9 > 7312 Pin 37 - DCD
 
Pin 11 > 7312 Pin 38 - DSR
 
Pin 13 > 7312 Pin 35 - CTS
 
 
JP9 -- XILINX 5032C - JTAG
 
Pin 6 > 5032C Pin 26 - TCLK
 
Pin 8 > 5032C Pin 32 - TDO
 
Pin 10 > 5032C Pin 1 - TDI
 
Pin 12 > 5032C Pin 7 - TMS
 
 
 
  +
== JP9 ==
  +
* JP9 -- XILINX 5032C - JTAG
  +
** Pin 6 > 5032C Pin 26 - TCLK
  +
** Pin 8 > 5032C Pin 32 - TDO
  +
** Pin 10 > 5032C Pin 1 - TDI
  +
** Pin 12 > 5032C Pin 7 - TMS
  +
 
For connections to the JP arrays you can use either:
 
For connections to the JP arrays you can use either:
 
Molex 87332-1420 or DigiKey WM18078-ND
 
Molex 87332-1420 or DigiKey WM18078-ND
 
 
   
  +
= DMS Cartridge =
 
  +
* 2.5" Notebook harddisk (9.5mm, "rugged" edition)
DMS Cartridge:
 
  +
* FAT32 filesystem
- 2.5" Notebook harddisk (9.5mm, "rugged" edition)
 
  +
* 2 Partitions (PHTSYS, PHTDATA)
- FAT32 filesystem
 
- 2 Partitions (PHTSYS, PHTDATA)
 

Latest revision as of 19:37, 27 January 2009

This page gathers all kinds of information we know about the PB hardware

CPU

Microcontroller

D/A-Converter

or

  • Burr-Brown/TI PCM1748E (U7)
  • 24-bit/96kHz
  • Datasheet

IDE interface controller

Flash ROM

  • ST Micro M29W200BB (Flash ID 0020 0057)
  • 2 MBit
  • Automotive grade
  • Datasheet

or

  • AMD AM29LV200BB-90EC (Flash ID 0001 22BF)
  • 2 MBit
  • Commercial grade (0-70 degC)
  • Datasheet

or

  • Fujitsu MBM29LV200BC (Flash ID 0004 22BF)
  • Datasheet

or

  • Fujitsu MBM29LV400BC (Flash ID 0004 22BA)
  • Datasheet
  • Note: This is a 4 megabit chip, whereas all of the other ones are 2 megabit -- but it doesn't seem to matter...

or

  • Silicon Storage Technology (SST) SST39VF200A (Flash ID 00BF 2789)
  • Datasheet


Connection to CPU

The flash chip is connected to the ARM CPU for only 16 bit accesses (the nBYTE pin on the flash appears to be shorted to Vcc).

Flash address lines A[0:14], A[15] are connected to CPU address lines A[2:16], A[1]. A[0] on the CPU is not connected to the flash, thus also preventing byte-wise access.

The data lines appear to be connected straight-through.

Complex Programmable Logic Device (CPLD)

Power Regulator

  • TDA3681J : Multiple voltage regulator with switch and ignition buffer [PHILIPS]
  • Datasheet

The pins go from 1 to 17 from left to right as you're looking from the inside of the phatbox towards the back.

Constant Power Pins

  • Pin 13 is ground
  • Pin 15 (Regulator 2) should be 5V. This powers the microcontroller.

These pins should be on at least when the ignition is on, but don't require the head unit to be "on."

Switched Power Pins

  • Pin 4 (Regulator 4) is 3.3V, This is the supply for the ARM, SDRAM, Flash, etc. (Enable input is pin 9.)
  • Pin 2 (Regulator 3) is 5V (Enable input is pin 10.)
  • Pin 1 (Regulator 1) is 8.5V, and I'm not sure it gets used for anything (it might not even be enabled, I haven't checked) (Enable input is pin 10.)

The regulators that supply the power on these pins are controlled by the 8051 and are only on when the PB is powered-up by the head unit.

PCB Layout (Photos)

PCB Jumpers

JP1

  • JP1 -- Power-on jumper?
  • The center pin of this 3-pin block is connected to pins 9 and 10 of the voltage regulator -- that is to say, applying power to it causes the rest of the box to turn on.
  • The box will not boot with no jumper.
  • Some have had luck getting an apparently "dead" PhatBox to respond by either switching the jumper to its other position, or even just removing it and reinstalling it, while power was applied to the unit.

JP5

  • JP5 -- XILINX 9572XL - JTAG
    • Pin 6 > 9572XL Pin 48 - TCLK
    • Pin 8 > 9572XL Pin 83 - TDO
    • Pin 10 > 9572XL Pin 45 - TDI
    • Pin 12 > 9572XL Pin 47 - TMS

JP6

  • JP6 -- ARM JTAG (No Connector, just pads)
    • Pin 3 > 7312 Pin 125 - nTRST
    • Pin 5 > 7312 Pin 11 - TDI
    • Pin 7 > 7312 Pin 58 - TMS
    • Pin 9 > 7312 Pin 90 - TCLK
    • Pin 11 > 7312 Pin 22 - TDO

JP8

This is JP4 on the C710 board

  • JP8 -- ARM UART1 (SERIAL PORT!!!)
    • Pin 1 > board power
    • Pin 2 > pin18 - PB2 [GPIO port B]
    • Pin 3 > some resistor, hard to trace past.
    • Pin 5 > 7312 Pin 32 - TDX[1]
    • Pin 7 > 7312 Pin 36 - RXD[1]
    • Pin 9 > 7312 Pin 37 - DCD
    • Pin 11 > 7312 Pin 38 - DSR
    • Pin 13 > 7312 Pin 35 - CTS

JP9

  • JP9 -- XILINX 5032C - JTAG
    • Pin 6 > 5032C Pin 26 - TCLK
    • Pin 8 > 5032C Pin 32 - TDO
    • Pin 10 > 5032C Pin 1 - TDI
    • Pin 12 > 5032C Pin 7 - TMS

For connections to the JP arrays you can use either: Molex 87332-1420 or DigiKey WM18078-ND


DMS Cartridge

  • 2.5" Notebook harddisk (9.5mm, "rugged" edition)
  • FAT32 filesystem
  • 2 Partitions (PHTSYS, PHTDATA)