We're no longer updating This wiki!!

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ko:odroidsmartpower [2013/09/12 17:51]
john1117
ko:odroidsmartpower [2013/12/12 13:20] (current)
codewalker
Line 10: Line 10:
 {{http://​www.hardkernel.com/​renewal_2011/​_Files/​prdt/​2013/​201307/​201307231859514295.jpg}} {{http://​www.hardkernel.com/​renewal_2011/​_Files/​prdt/​2013/​201307/​201307231859514295.jpg}}
 ---- ----
- 
 ====== Specifications ====== ====== Specifications ======
 |MCU|PCI18F45K50| |MCU|PCI18F45K50|
Line 24: Line 23:
 |Output|4mm diameter banana jack, USB Host port, Wire connector| |Output|4mm diameter banana jack, USB Host port, Wire connector|
 |ETC|Firmware update via USB| |ETC|Firmware update via USB|
-====== Components ​======+====== Components =====
 ---- ----
 === PACKAGE INCLUDES : === === PACKAGE INCLUDES : ===
Line 44: Line 43:
  
 Measure the system load of ODROIDs, X / X2 / U2 / XU\\ Measure the system load of ODROIDs, X / X2 / U2 / XU\\
-LCD shows voltage, current, watt and watt-hour(Wh) simultaneously.\\+LCD shows voltage, current, watt and watt-hour(Wh) simultaneously.
 ===== PC Application ===== ===== PC Application =====
 You can see the graphical energy transient on your PC via USB interface. You can see the graphical energy transient on your PC via USB interface.
 You can download it from http://​forum.odroid.com/​viewforum.php?​f=72 You can download it from http://​forum.odroid.com/​viewforum.php?​f=72
  
-{{http://www.hardkernel.com/renewal_2011/_Files/prdt/2013/201307/201307231634494316.jpg}}+The binary source code of ODROID Smart Power. ​http://dn.odroid.com/Smart_Power/smart_power_app.zip 
 + 
 +{{http://dn.odroid.com/Smart_Power/smartpower.png}} 
 ====== Hardware ====== ====== Hardware ======
 ---- ----
- 
 This file is the full schematics of ODROID Smart Power. This file is the full schematics of ODROID Smart Power.
 http://​dn.odroid.com/​Smart_Power/​PowerMeter20130624.pdf http://​dn.odroid.com/​Smart_Power/​PowerMeter20130624.pdf
  
 PCI18F45K50 MCU data sheet : http://​www.microchip.com/​wwwproducts/​Devices.aspx?​dDocName=en558861 PCI18F45K50 MCU data sheet : http://​www.microchip.com/​wwwproducts/​Devices.aspx?​dDocName=en558861
- 
-Can use the PICkit In-Circuit Debugger. See here for more information:​ 
-http://​www.microchip.com/​stellent/​idcplg?​IdcService=SS_GET_PAGE&​nodeId=1406&​dDocName=en538340 
- 
 ====== Software ====== ====== Software ======
 ---- ----
-===== Cross Compiler ​===== +===== How to write bootloader ​=====
-MPLAB C18 v3.43 or higher (From Microchip homepage : http://​www.microchip.com/​stellent/​idcplg?​IdcService=SS_GET_PAGE&​nodeId=1406&​dDocName=en010014&​redirects=c18)+
  
 +===== How to write firmware =====
 +=== Cross Compiler 설치 ===
 +MPLAB C18 v3.43 or higher (From Microchip homepage :
 +http://​www.microchip.com/​stellent/​idcplg?​IdcService=SS_GET_PAGE&​nodeId=1406&​dDocName=en010014&​redirects=c18)
 In my case, Standard-Eval Version (Free of Charge) was downloaded for my code optimization. It is the trial version and can only be used for 60 days. In my case, Standard-Eval Version (Free of Charge) was downloaded for my code optimization. It is the trial version and can only be used for 60 days.
-===== IDE =====+ 
 +=== IDE 설치 ​=== 
 +USB framework, main Smart Power firmware 소스 컴파일을 위한 통합개발환경 다운로드\\
 X IDE v1.51 or higher (From Microchip homepage : http://​www.microchip.com/​pagehandler/​en-us/​family/​mplabx ) X IDE v1.51 or higher (From Microchip homepage : http://​www.microchip.com/​pagehandler/​en-us/​family/​mplabx )
-===== How to write firmware ===== 
-The firmware source code of ODROID Smart Power. http://​dn.odroid.com/​Smart_Power/​smart_power_fw.zip 
  
-If you unzip the fw source code, there are two major directories.\\ +=== firmware ​source code downloads === 
-Microchip : it contains the USB framework ​for firmware.\\ +다음 경로에서 Smart Power firmware 소스코드를 받을 수 있습니다. http://​dn.odroid.com/​Smart_Power/​smart_power_fw.zip 
-USB/Device - HID - Custom Demos/​Firmware : it contains ​main firmware of Smart Power.\\+ 
 +압축을 풀면아래와 같이 두개의 폴더가 있습니다.\\ 
 +Microchip : USB framework firmware\\ 
 +USB/Device - HID - Custom Demos/​Firmware : main Smart Power firmware\\ 
 + 
 +**HIDBootloader (windows)를 이용한 펌웨어 쓰기** 
 +  * USB/Device - Bootloaders/​HID 폴더의 HIDBootloader (windows)를 실행합니다. 
 +  * Smart Power의 ON/​OFF버튼을 누른채 Smart Power와 PC를 micro usb cable로 연결합니다. 
 +  * ON/OFF 버튼과 START/​STOP버튼 사이의 LED중 위에 LED가 점멸 하는것을 확인합니다. 
 +  * HIDBootloader에서 import firmware image 버튼을 눌러 hex파일을 선택합니다. 
 +  * Erase/​Program/​Verify Device 버튼을 누릅니다. 
 +  * 마지막으로 Reset Device 버튼을 누르면 firmware 쓰기가 완료됩니다.
ko/odroidsmartpower.1378975902.txt.gz · Last modified: 2013/09/12 17:51 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0