Differences
This shows you the differences between the selected revision and the current version of the page.
| hardware:serial 2011/04/16 09:05 | hardware:serial 2017/09/06 18:38 current | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| **WARNING: attaching a serial port will certainly void your warranty and could destroy your unit.** | **WARNING: attaching a serial port will certainly void your warranty and could destroy your unit.** | ||
| + | |||
| ===== Serial Connector Basics ===== | ===== Serial Connector Basics ===== | ||
| * The serial connector is at **CON4**, a white connector inbetween the two drive leds. | * The serial connector is at **CON4**, a white connector inbetween the two drive leds. | ||
| * This is a 3.3V TTL serial port, common on many hardware devices. | * This is a 3.3V TTL serial port, common on many hardware devices. | ||
| - | * You **CAN NOT** connect it directly to a PC serial port, you will need a level shifter, a popular (and simple) chip for this is the **MAX323** | + | * You **CAN NOT** connect it directly to a PC serial port, you will need a level shifter, a popular (and simple) chip for this is the **MAX232** |
| * **Warning:** Do not use 5v signals - you might damage the CPU | * **Warning:** Do not use 5v signals - you might damage the CPU | ||
| * TX is the outgoing 3.3 volt CMOS signal FROM the Marvell 88F5181 ARM CPU | * TX is the outgoing 3.3 volt CMOS signal FROM the Marvell 88F5181 ARM CPU | ||
| * RX is the ingoing signal TO the CPU. | * RX is the ingoing signal TO the CPU. | ||
| * Baud rate is 115200 baud - 8 bits, no parity and no flow control | * Baud rate is 115200 baud - 8 bits, no parity and no flow control | ||
| + | |||
| ==== Pinout on the NAS ==== | ==== Pinout on the NAS ==== | ||
| Line 19: | Line 21: | ||
| ^Pin 1^Pin 2^Pin 3^Pin 4^ | ^Pin 1^Pin 2^Pin 3^Pin 4^ | ||
| - | |3.3V|RX|TX|GND|\\ | + | |3.3V|RX|TX|GND| |
| + | | |Tx of the Soc|Rx of the Soc| |\\ | ||
| - | [[http://picasaweb.google.com/100894775614123215686/DNS323#5596044900892645362|DNS323 Rev B Board w/Pin 1 Marked]] | + | * [[http://picasaweb.google.com/100894775614123215686/DNS323#5596044900892645362|DNS323 Rev B Board w/Pin 1 Marked]] |
| __**It doesn't matter what adapter you choose below so long as you match up the PINs / Wires to the table above.**__ | __**It doesn't matter what adapter you choose below so long as you match up the PINs / Wires to the table above.**__ | ||
| + | |||
| + | __**In general you only need to connect Pins: 2, 3, and 4**__ | ||
| ===== Serial Connectors ===== | ===== Serial Connectors ===== | ||
| Line 30: | Line 35: | ||
| If you do not have a serial port on your computer, FTDI sell a convenient USB cable that contains a serial chip and level converter in one, and has bare wires at the other end. The cable has drivers for all major operating systems, I am running it under linux with no problems. The datasheet is [[http://www.ftdichip.com/Documents/DataSheets/Modules/DS_TTL232R3V3.pdf|here]]. This is what i used: | If you do not have a serial port on your computer, FTDI sell a convenient USB cable that contains a serial chip and level converter in one, and has bare wires at the other end. The cable has drivers for all major operating systems, I am running it under linux with no problems. The datasheet is [[http://www.ftdichip.com/Documents/DataSheets/Modules/DS_TTL232R3V3.pdf|here]]. This is what i used: | ||
| - | * DigiKey 768-1016-ND USB cable and logic converter (TTL232R3V3) | + | * [[http://www.digikey.ca/product-detail/en/TTL-232R-3V3/768-1015-ND/1836393|DigiKey 768-1015-ND USB cable and logic converter (TTL232R3V3)]] |
| - | * Digikey WM1722-ND female housing (Molex 51021-0400) and WM1775-ND pins (Molex 50058-8000) | + | * [[http://www.digikey.ca/product-search/en?vendor=0&keywords=WM1722-ND|Digikey WM1722-ND female housing (Molex 51021-0400)]] and [[http://www.digikey.ca/product-detail/en/0500588000/WM1775CT-ND/242897|WM1775-ND pins (Molex 50058-8000)]] |
| + | |||
| + | Instead of buying the Molex Housing and Pins separate, you can __purchase a pre-assembled Molex Housing/Pins__ and save yourself the trouble of soldering/fitting the pins. [[https://picasaweb.google.com/100894775614123215686/DNS323#5596065303294291378|Example]] - [[http://cgi.ebay.ca/ws/eBayISAPI.dll?ViewItem&item=220743624686|Buy From eBay]] | ||
| Just solder the wires to the connector in this order: | Just solder the wires to the connector in this order: | ||
| ^Pin 1^Pin 2^Pin 3^Pin 4^ | ^Pin 1^Pin 2^Pin 3^Pin 4^ | ||
| - | |Red|Yellow|Orange|Black|\\ | + | |Red|Yellow|Orange|Black| |
| When using the USB to Serial adapter with the DNS-323, you may have to disconnect the red (power) lead from the connector. On the Rev. A1 of the board, once the USB connector is plugged into a computer, it may power up the DNS-323 mainboard and start the boot process without the powerbutton being pushed. Once the red lead was disconnected, the DNS-323 wouldn't start until the power button was pushed, thereby allowing the complete boot sequence to be viewed. | When using the USB to Serial adapter with the DNS-323, you may have to disconnect the red (power) lead from the connector. On the Rev. A1 of the board, once the USB connector is plugged into a computer, it may power up the DNS-323 mainboard and start the boot process without the powerbutton being pushed. Once the red lead was disconnected, the DNS-323 wouldn't start until the power button was pushed, thereby allowing the complete boot sequence to be viewed. | ||
| Line 125: | Line 132: | ||
| {{:hardware:trs_mounted.jpg}} | {{:hardware:trs_mounted.jpg}} | ||
| - | |||
| - | |||
| - | |||