Editing Move Motion Controller
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[[Category:Hardware]] | |||
== Move Hardware == | == Move Hardware == | ||
*Model reference | |||
**'''CECH-ZCM1U''' (bought in ?) | |||
**'''CECH-ZCM1E''' (bought in europe) | |||
* | |||
* | |||
*Main board reference | *Main board reference | ||
Line 14: | Line 10: | ||
**'''YCON2.5_1.03''' (different Bluetooth chip, different 2-axis gyro "PR425A 2117 AEWEP") | **'''YCON2.5_1.03''' (different Bluetooth chip, different 2-axis gyro "PR425A 2117 AEWEP") | ||
*Note some components and testpoints (TP) are | *Note some components and testpoints (TP) are differet between models. | ||
=== STM32F103 VBT6 Y (ARM Cortex-M3 32bit@72MHz SRAM20Kb FLASH128Kb RISC Microcontroller) === | === STM32F103 VBT6 Y (ARM Cortex-M3 32bit@72MHz SRAM20Kb FLASH128Kb RISC Microcontroller) === | ||
Line 32: | Line 28: | ||
*Firmware | *Firmware | ||
**Board '''YCON2_1.01''' (STM32F103) Original Firmware Dump (region unknown) ---> http://www.eissq.com/ps3_move/files/1e93d333d39a9b0d43a47489503859a2-7.html | **Board '''YCON2_1.01''' (STM32F103) Original Firmware Dump (region unknown) ---> http://www.eissq.com/ps3_move/files/1e93d333d39a9b0d43a47489503859a2-7.html | ||
Calibration data for sensors (magnetometer, gyroscope, and acelerometer) is stored in the internal flash. This configuration is different for each country (mostly because the magnetometer/compass). When writing a flash dump made in a board for one region... to other board from other region this calibration values will be wrong (calibration data stored at last 0x800 bytes starting from 0x0001F800 ?) | |||
*Firmware dump analisys (wrote by nico @ Kenn Sebesta blog) | *Firmware dump analisys (wrote by nico @ Kenn Sebesta blog) | ||
Line 63: | Line 60: | ||
*Bootloader | *Bootloader | ||
**STM32 Arm-Cortex bootloader: http://www.micromouseonline.com/2009/05/08/stm32-arm-cortex-bootloader/?doing_wp_cron=1348086547.3716659545898437500000 | **STM32 Arm-Cortex bootloader: http://www.micromouseonline.com/2009/05/08/stm32-arm-cortex-bootloader/?doing_wp_cron=1348086547.3716659545898437500000 | ||
**Sony bootloader: ''there are two sections in the beginning that are blanketed by empty flash: one from 0x00000 to 0x006B7 and the other from 0x00800 to 0x027BB. My guess is that the first section is the NVIC table and that the second is a bootloader'' | **Sony bootloader: ''there are two sections in the beginning that are blanketed by empty flash: one from 0x00000 to 0x006B7 and the other from 0x00800 to 0x027BB. My guess is that the first section is the NVIC table and that the second is a bootloader'' (from Kenn Sebesta blog) | ||
*JTAG programmer | *JTAG programmer | ||
3.3V and http://www.amontec.com/openocd.shtml compatible e.g: "bus pirate" https://www.sparkfun.com/products/9544 | 3.3V and http://www.amontec.com/openocd.shtml compatible e.g: "bus pirate" https://www.sparkfun.com/products/9544 | ||
*Buses: | *Buses: | ||
Line 94: | Line 76: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Pin # !! Name | ! Pin # !! Name !! colspan="3" | TestPoints (TP) !! Move Controller Function !! Notes | ||
|- | |- | ||
! colspan=" | ! colspan="2" | !! YCON2_1.01 !! YCON2.5_1.03 !! Others ? !! colspan="2" | | ||
|- | |- | ||
| 1 || PE2 || TP21 || || || TRACECK || | |||
|- | |- | ||
| | | 2 || PE3 || TP22 || || || TRACED0 || | ||
|- | |- | ||
| | | 3 || PE4 || TP23 || || || TRACED1 || | ||
|- | |- | ||
| | | 4 || PE5 || TP24 || || || TRACED2 || | ||
|- | |- | ||
| | | 5 || PE6 || TP25 || || || TRACED3 || | ||
|- | |- | ||
| 6 || V<sub>BAT</sub> || Vcc || || || || | |||
| 6 || V<sub>BAT</sub> || | |||
|- | |- | ||
| 7 || PC13-TAMPER-RTC || | | 7 || PC13-TAMPER-RTC || SW10 || || || || | ||
|- | |- | ||
| 8 || PC14-OSC32_IN || | | 8 || PC14-OSC32_IN || SW11 || || || || | ||
|- | |- | ||
| 9 || PC15-OSC32_OUT | | 9 || PC15-OSC32_OUT || SW12 || || || || | ||
|- | |- | ||
| | | 10 || V<sub>SS_5</sub> || TP69 || || || || | ||
|- | |- | ||
| | | 11 || V<sub>DD_5</sub> || TP68 || || || || | ||
|- | |- | ||
| | | 12 || OSC_IN || || || || || | ||
|- | |- | ||
| | | 13 || OSC_OUT || || || || || | ||
|- | |- | ||
| | | 14 || NRST || TP54 || || || || Connected to ground through reset switch | ||
|- | |- | ||
| | | 15 || PC0 || Gyro_y || || || ADC12_IN10 || Gyroscope Y-channel input | ||
|- | |- | ||
| | | 16 || PC1 || Gyro_x || || || ADC12_IN11 || Gyroscope X-channel input | ||
|- | |- | ||
| | | 17 || PC2 || Gyro_z || || || ADC12_IN12 || Gyroscope Z-channel input | ||
|- | |- | ||
| | | 18 || PC3 || Acc_y || || || ADC12_IN13 || Accelerometer Y-channel input | ||
|- | |- | ||
| | | 19 || V<sub>SSA</sub> || || || || || | ||
|- | |- | ||
| | | 20 || V<sub>REF-</sub> || || || || || | ||
|- | |- | ||
| | | 21 || V<sub>REF+</sub> || || || || || | ||
|- | |- | ||
| | | 22 || V<sub>DDA</sub> || || || || || | ||
|- | |- | ||
| | | 23 || PA0-WKUP || SW8 || || || WKUP || Normally pulled to ground by 10kΩ | ||
|- | |- | ||
| | | 24 || PA1 || Acc_x || || || ADC12_IN1 || Accelerometer X-channel input | ||
|- | |- | ||
| | | 25 || PA2 || || || || || | ||
|- | |- | ||
| | | 26 || PA3 || Acc_z || || || ADC12_IN2 || Accelerometer Z-channel input | ||
|- | |- | ||
| | | 27 || V<sub>SS_4</sub> || TP70 || || || || | ||
|- | |- | ||
| | | 28 || V<sub>DD_4</sub> || || || || || | ||
|- | |- | ||
| | | 29 || PA4 || || || || || | ||
|- | |- | ||
| | | 30 || PA5 || || || || || | ||
|- | |- | ||
| | | 31 || PA6 || || || || || | ||
|- | |- | ||
| | | 32 || PA7 || || || || || | ||
|- | |- | ||
| | | 33 || PC4 || Gyro_7 || || || ADC12_IN14 || Gyroscope pin7. Constant 1.25V. Possibly a comparison feedback for the gyroscope? | ||
|- | |- | ||
| | | 34 || PC5 || || || || || | ||
|- | |- | ||
| | | 35 || PB0 || || || || || | ||
|- | |- | ||
| | | 36 || PB1 || Joystick_9 || || || ADC12_IN9 || Analog trigger reading | ||
|- | |- | ||
| | | 37 || PB2 || || || || || | ||
|- | |- | ||
| | | 38 || PE7 || TP33 || || || || | ||
|- | |- | ||
| | | 39 || PE8 || || || || || | ||
|- | |- | ||
| | | 40 || PE9 || || || || || | ||
|- | |- | ||
| | | 41 || PE10 || || || || || EXT connector Pin 3 | ||
|- | |- | ||
| | | 42 || PE11 || || || || || EXT connector Pin 4 | ||
|- | |- | ||
| | | 43 || PE12 || Mag_14 || || || Interrupt || Magnetometer pin14. Interrupt to signal new sample ready | ||
|- | |- | ||
| | | 44 || PE13 || || || || || | ||
|- | |- | ||
| | | 45 || PE14 || || || || || | ||
|- | |- | ||
| | | 46 || PE15 || TP34 || || || || | ||
|- | |- | ||
| | | 47 || PB10 || Mag_15 || || || I2C2_SCL || Magnetometer pin15 clock | ||
|- | |- | ||
| | | 48 || PB11 || Mag_16 || || || I2C2_SDA || Magnetometer pin16 data | ||
|- | |- | ||
| | | 49 || V<sub>SS_1</sub> || || || || || | ||
|- | |- | ||
| | | 50 || V<sub>DD_1</sub> || || || || || | ||
|- | |- | ||
| | | 51 || PB12 || || || || || | ||
|- | |- | ||
| | | 52 || PB13 || || || || || | ||
|- | |- | ||
| | | 53 || PB14 || || || || || | ||
|- | |- | ||
| | | 54 || PB15 || || || || || | ||
|- | |- | ||
| | | 55 || PD8 || BT_7 || || || USART3_TX || Bluetooth pin7 transmitter | ||
|- | |- | ||
| | | 56 || PD9 || BT_6 || || || USART3_RX || Bluetooth pin6 receiver | ||
|- | |- | ||
| | | 57 || PD10 || TP51 || || || || | ||
|- | |- | ||
| | | 58 || PD11 || U6_6 || || || DIO || TPS63030 regulator enable | ||
|- | |- | ||
| | | 59 || PD12 || || || || || | ||
|- | |- | ||
| | | 60 || PD13 || || || || || Reacts slowly to USB plug. Logic LO when USB plugged in, HI when not. | ||
|- | |- | ||
| | | 61 || PD14 || || || || || Reacts slowly to USB plug. Logic LO when USB plugged in, HI when not. | ||
|- | |- | ||
| | | 62 || PD15 || || || || || | ||
|- | |- | ||
| | | 63 || PC6 || || || || || | ||
|- | |- | ||
| | | 64 || PC7 || || || || || | ||
|- | |- | ||
| | | 65 || PC8 || || || || || | ||
|- | |- | ||
| | | 66 || PC9 || R_39 || || || DIO || 1.25V??? | ||
|- | |- | ||
| | | 67 || PA8 || BT_36 || || || DIO || Bluetooth pin36. Constant 85Hz PWM | ||
|- | |- | ||
| | | 68 || PA9 || BT_15 || || || DIO || Bluetooth pin15. Varying TTL signal | ||
|- | |- | ||
| | | 69 || PA10 || BT_14 || || || DIO || Bluetooth pin14. Very occasional, only really seen at startup. SPI chip select? | ||
|- | |- | ||
| | | 70 || PA11 || TP26 || || || USBDM || Connected through 2.1Ωresistor | ||
|- | |- | ||
| | | 71 || PA12 || TP27 || || || USBDP || Connected through 2.1Ωresistor | ||
|- | |- | ||
| | | 72 || PA13 || TP56 || || || JTMS || Can also be used for SWDIO debugging | ||
|- | |- | ||
| | | 73 || N.C || || || || || Not Connected | ||
|- | |- | ||
| | | 74 || V<sub>SS_2</sub> || || || || || | ||
|- | |- | ||
| | | 75 || V<sub>DD_2</sub> || || || || || | ||
|- | |- | ||
| | | 76 || PA14 || TP57 || || || JTCK || Can also be used for SWCLK debugging | ||
|- | |- | ||
| | | 77 || PA15 || TP55 || || || JTDI || | ||
|- | |- | ||
| | | 78 || PC10 || TP38 ? || || || DIO || | ||
|- | |- | ||
| | | 79 || PC11 || TP37 ? || || || DIO || | ||
|- | |- | ||
| | | 80 || PC12 || || || || || | ||
|- | |- | ||
| | | 81 || PD0 || || || || || | ||
|- | |- | ||
| | | 82 || PD1 || || || || || | ||
|- | |- | ||
| | | 83 || PD2 || || || || || | ||
|- | |- | ||
| | | 84 || PD3 || || || || || | ||
|- | |||
| 85 || PD4 || || || || || | |||
|- | |||
| 86 || PD5 || SW13 || || || || | |||
|- | |||
| 87 || PD6 || || || || || Reacts slowly to USB plug. Logic LO when USB plugged in, HI when not. | |||
|- | |||
| 88 || PD7 || || || || DIO || Reacts instantly to USB plug. Logic HI when USB plugged in, LO when not. | |||
|- | |||
| 89 || PB3 || TP58 || || || JTDO || | |||
|- | |||
| 90 || PB4 || TP59 || || || JNTRST || | |||
|- | |||
| 91 || PB5 || || || || || | |||
|- | |||
| 92 || PB6 || || || || EXT connector Pin 5 || | |||
|- | |||
| 93 || PB7 || || || || EXT connector Pin 6 || | |||
|- | |||
| 94 || BOOT0 || || || || || | |||
|- | |||
| 95 || PB8 || SW15 || || || || | |||
|- | |||
| 96 || PB9 || SW14 || || || || | |||
|- | |||
| 97 || PE0 || SW9 || || || || | |||
|- | |||
| 98 || PE1 || || || || || | |||
|- | |||
| 99 || V<sub>SS_3</sub> || || || || || | |||
|- | |||
| 100 || V<sub>DD_3</sub> || || || || || | |||
|- | |- | ||
|} | |} | ||
Line 313: | Line 293: | ||
U14 <br /> | U14 <br /> | ||
=== Kionix KXSC4 (3-Axis Accelerometer) === | === Kionix KXSC4 10227 2410 (3-Axis Accelerometer) === | ||
[[Image:Kionix KXSC4 | [[Image:Kionix KXSC4.gif|400px|thumb|right| Kionix KXSC4 <br /> 3-Axis Accelerometer]][[Image:Kionix KXSC4 application squematic.jpg|800px|thumb|right| Kionix KXSC4 <br /> application squematic]] | ||
alt.no.: Kionix KXSC4-XLU 90831 3909 <br /> | alt.no.: Kionix KXSC4-XLU 90831 3909 <br /> | ||
alt.no.: Kionix KXSC4 10115 2010 <br /> | alt.no.: Kionix KXSC4 10115 2010 <br /> | ||
U12 <br /> | U12 <br /> | ||
Line 386: | Line 365: | ||
alt.no.:AKM8974 008F <br /> | alt.no.:AKM8974 008F <br /> | ||
U13 <br /> | U13 <br /> | ||
http://www.chipworks.com/seamark.aspx?sm=s4%3BDatedfl11%3BDevCategory12%3BMEMS+Devicesm12%3BReleaseMonthm10%3BDeviceTypefl10%3BReportCode12%3BEXR-0908-802&cw=detail2 | http://www.chipworks.com/seamark.aspx?sm=s4%3BDatedfl11%3BDevCategory12%3BMEMS+Devicesm12%3BReleaseMonthm10%3BDeviceTypefl10%3BReportCode12%3BEXR-0908-802&cw=detail2 | ||
Line 444: | Line 406: | ||
|} | |} | ||
=== Cambridge Silicon Radio BC4RE A16U (Bluetooth transmitter) === | |||
U8? <br /> | |||
U8? | |||
http://www.csr.com/products/technology/bluetooth | http://www.csr.com/products/technology/bluetooth | ||
Line 538: | Line 498: | ||
|} | |} | ||
</div> | </div> | ||
=== ALPS 503A 04C (Radio Module) === | |||
=== LED2 (High Power RGB LED) === | === LED2 (High Power RGB LED) === | ||
Line 580: | Line 542: | ||
==== Extension Connector ==== | ==== Extension Connector ==== | ||
Marked in the plastic as "ext" and refered as "extension connector" in the [[Move Sharp Shooter | Marked in the plastic as "ext" and refered as "extension connector" in the [[Move Sharp Shooter]] "Instruction Manual.pdf" | ||
8 pins custom made (exact alternative part not found yet) | 8 pins custom made (exact alternative part not found yet) | ||
Line 609: | Line 571: | ||
*Notes | *Notes | ||
**All the | **All the squematics and pinouts in "D-lite MoveCopter manual" and "Kenn Sebesta blog" related with this connector are taken directly from the main board (not from the external connector). The squematics explained in these pages are from an old model with different number of pins (some of them duplicated or displaced). There are at least 3 different board models where this pins are different, but in all models the lines are reordered at the "EXT connector" (and reduced to 8), all models has the same pinout externally explained here in ps3devwiki | ||
**In MoveCopter bootloader several pins of MCU has been remaped, included 3 pins of "EXT connector" (for input/output data), and the 3 RGB lines from the LED + 1 line from the rumble motor (to controll 4 servo motors for the helices of the quadcopter) | **In MoveCopter bootloader several pins of MCU has been remaped, included 3 pins of "EXT connector" (for input/output data), and the 3 RGB lines from the LED + 1 line from the rumble motor (to controll 4 servo motors for the helices of the quadcopter) | ||
Line 619: | Line 581: | ||
==Software Related Projects== | ==Software Related Projects== | ||
===PSL1GHT=== | |||
===PSL1GHT | |||
* https://github.com/ps3dev/PSL1GHT/tree/master/samples/input/gemsample | * https://github.com/ps3dev/PSL1GHT/tree/master/samples/input/gemsample | ||
* https://github.com/ps3dev/PSL1GHT/tree/master/samples/input/gemtest | * https://github.com/ps3dev/PSL1GHT/tree/master/samples/input/gemtest | ||
<!--// PS3 homebrew support for move controller by faking the device as a wireless mouse, there is no support for native firmware move modules/functions (yet) //--> | <!--// PS3 homebrew support for move controller by faking the device as a wireless mouse, there is no support for native firmware move modules/functions (yet) //--> | ||
===The PS Move API=== | ===The PS Move API=== | ||
Line 702: | Line 648: | ||
http://forums.openpilot.org/topic/5526-coptercontrol-on-a-game-controller/page__st__140#entry81223 | http://forums.openpilot.org/topic/5526-coptercontrol-on-a-game-controller/page__st__140#entry81223 | ||
{{Console}} | |||
[[Category:Peripherals]] |