We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:c2_hardwarehacking [2015/12/14 15:17]
charles.park created
en:c2_hardwarehacking [2017/02/03 14:40] (current)
odroid [USB Hub IC issue]
Line 1: Line 1:
-====== MicroUSB Power ====== 
-===== ODROID-C2 ===== 
-**ODROID-C2+** can be supplied its power through USB OTG port, which is a H/W hack for ODROID-C2. Since **ODROID-C2+** can consume current more than 500mA by itself while playing a video file or with some peripherals - keyboard/​mouse/​WiFi dongle - are attached to USB port, we strongly recommend to use 5V USB charger with minimal 700mA+ can be supplied. 
  
-Please note that still DC jack works with the same specification of ODROID-C2 apart from USB OTG for power supplying. 
-===== ODROID-C2 ===== 
-**ODROID-C2** can be provided a power through Micro USB instead of DC jack.\\ 
  
- J8에 점퍼를 연결한 경우 USB POWER를 사용할 수 있습니다. 
- 
- ​{{:​en:​c1:​c-microusb_mount_r87.png?​250| After mount r87}} 
- 
-<WRAP left round important 70%> 
-Since MicroUSB connector have high contact resistance relatively than DC jack, there would be much more power loss. 
-</​WRAP>​ 
-<WRAP left round important 70%> 
-If there is a USB device attached on USB host connector and consumes power a lot, the board might not be booted because the CPU can not be provided enough current. In order to prevent boot failure in such case, especially a USB device consumes a current more than 1A, we strongly recommend to keep providing power through DC jack. 
-</​WRAP>​ 
  
 ====== Power On/Off switch ====== ====== Power On/Off switch ======
-You can control power supplying to **ODROID-C2+** and **ODROID-C2** while DC adaptor is connected with external switch, Sliding or Toggle Switch for example, if you connect such switch to **J4** on the board. **J4** is connected to **NCP372** (Protection IC). There is an ENABLE pin on the NCP372 and it is a low-active and have an internal pull-down resistor for default on.+You can control power supplying to **ODROID-C2** while DC adaptor is connected with external switch, Sliding or Toggle Switch for example, if you connect such switch to **J4** on the board. **J4** is connected to **NCP372** (Protection IC). There is an ENABLE pin on the NCP372 and it is a low-active and have an internal pull-down resistor for default on.
  
 || Switch status | Output of NCP372 || || Switch status | Output of NCP372 ||
Line 26: Line 10:
  
 <WRAP left round alert 70%> <WRAP left round alert 70%>
-With this hacking, we strongly recommend to shutdown the O/S completely before turn-off. Otherwise the file system could be damaged ​very easily. In Linux, for example, please make sure to execute **shutdown -r now** or **poweroff**.+With this hacking, we strongly recommend to shutdown the O/S completely before turn-off. Otherwise the file system could be corrupted ​very easily. In Linux, for example, please make sure to execute **shutdown -r now** or **poweroff**.\\
 </​WRAP>​ </​WRAP>​
 +
 +====== Alternative power input ======
 +The J8 pins are added for an alternative power input (for easier wiring/​soldering to power supply cable on PCB rev0.2 20160226)
 +
 +{{:​en:​c1:​c2_j8_power_cable_connection.png}}
 +
 +
 +====== Alternative heartbeat LED ======
 +If you want to remap the blue heartbeat LED to other GPIO, refer this great instruction.
 +
 +[[http://​forum.odroid.com/​viewtopic.php?​f=135&​t=22525#​p151227|paulcrawford'​s guide on the forum]]
 ====== IR Remote Controller (Android) ====== ====== IR Remote Controller (Android) ======
 ---- ----
Line 46: Line 41:
 |Volume Up|0x80|104|KEYCODE_VOLUME_UP| |Volume Up|0x80|104|KEYCODE_VOLUME_UP|
  
 +The IR remote key map is defined in /​system/​etc/​remote.conf file.\\
 +Default IR protocol is NEC type.
 +
 +====== USB Hub IC reset script ======
 +If you need to do power-cycle to the USB devices on the USB host ports, run below commands.\\
 +It will reset all the USB devices connected to the USB host ports. ​
 +<​code>​
 +echo 126 > /​sys/​class/​gpio/​export
 +echo out > /​sys/​class/​gpio/​gpio126/​direction
 +sleep 1
 +echo 0 > /​sys/​class/​gpio/​gpio126/​value
 +sleep 1
 +echo 1 > /​sys/​class/​gpio/​gpio126/​value
 +echo 126 > /​sys/​class/​gpio/​unexport
 +sleep 1
 +</​code>​
 +
 +====== USB Hub IC issue ======
 +Every power cycle, the USB hub controller is disconnecting the USB devices at among 5~7 second after starting the boot process. \\
 +If you use a fast booting OS like Buildroot, Yocto and Ubuntu-Minimal,​ your USB devices will not work correctly. \\
 +To avoid this issue, you need to run your USB application software slightly later after complete the booting process. \\
  
 +Here is an example of the serious problem. Unfortunately,​ we couldn'​t find any workaround yet.\\
 +[[http://​forum.odroid.com/​viewtopic.php?​f=141&​t=23733|Forum Thread]]
en/c2_hardwarehacking.1450075636.txt.gz · Last modified: 2015/12/14 15:17 by charles.park
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0