Sebastian et al, A couple of questions regarding the Hostmot2 configuration.
1> Adding a hostmot2 sample configuration to CVS Once I get a working configuration using the Hostmot2 driver, I think it would be beneficial to include a sample configuration in the general distribution. I am not sure I understand how to do that under CVS, as everything I have checked in was under src, and I know when I do an update, my local configurations don't get added to CVS. 2> Adding the PIN file to the configuration folder I also think, at least for the configurations for the various Mesa boards, that it would make sense to include the pin files in with the configuration files (ini, hal, etc). Having to find it under src/hal/drivers/m5i20/...(current configurations - I presume a PIN file will be added to mesa-hostmot2) is a bit daunting both for the novice and when installing from the precompiled packages. 3> Updated PIN file This is mostly for Sebastian, but any input is appreciated. I have included below a PIN file specifically for the HOSTMOT2 configuration and based on the generic m5i20 PIN file. It should be a lot more convenient than figuring it out from a dmesg log. Sorry about the tabs and line wraps. --------------------HOSTMOT2.PIN-------------------------- 5I20 HOSTMOT2 IO CONNECTIONS IONAME USERNAME IC PIN P2 PIN HOSTMOT2 Description IO0 B1 96 1 Encoder 1 B / GPIO 0 (P2.000) IO1 A1 94 3 Encoder 1 A / GPIO 1 (P2.001) IO2 B0 89 5 Encoder 0 B / GPIO 2 (P2.002) IO3 A0 87 7 Encoder 0 A / GPIO 3 (P2.003) IO4 IDX1 84 9 Encoder 1 Idx / GPIO 4 (P2.004) IO5 IDX0 82 11 Encoder 0 Idx / GPIO 5 (P2.005) IO6 PWM1 75 13 PWMGen 1 Out / GPIO 6 (P2.006) IO7 PWM0 73 15 PWMGen 0 Out / GPIO 7 (P2.007) IO8 DIR1 70 17 PWMGen 1 Dir / GPIO 8 (P2.008) IO9 DIR0 68 19 PWMGen 0 Dir / GPIO 9 (P2.009) IO10 ENA1 63 21 PWMGen 1 ~En / GPIO 10 (P2.010) IO11 ENA0 61 23 PWMGen 0 ~En / GPIO 11 (P2.011) IO12 B3 59 25 Encoder 3 B / GPIO 12 (P2.012) IO13 A3 57 27 Encoder 3 A / GPIO 13 (P2.013) IO14 B2 48 29 Encoder 2 B / GPIO 14 (P2.014) IO15 A2 46 31 Encoder 2 A / GPIO 15 (P2.015) IO16 IDX3 44 33 Encoder 3 Idx / GPIO 16 (P2.016) IO17 IDX2 42 35 Encoder 2 Idx / GPIO 17 (P2.017) IO18 PWM3 37 37 PWMGen 3 Out / GPIO 18 (P2.018) IO19 PWM2 35 39 PWMGen 2 Out / GPIO 19 (P2.019) IO20 DIR3 33 41 PWMGen 3 Dir / GPIO 20 (P2.020) IO21 DIR2 30 43 PWMGen 2 Dir / GPIO 21 (P2.021) IO22 ENA3 27 45 PWMGen 3 ~En / GPIO 22 (P2.022) IO23 ENA2 23 47 PWMGen 2 ~En / GPIO 23 (P2.023) PWR 49 IONAME USERNAME IC PIN P3 PIN IO24 B5 95 1 Encoder 5 B / GPIO 24 (P3.024) IO25 A5 90 3 Encoder 5 A / GPIO 25 (P3.025) IO26 B4 88 5 Encoder 4 B / GPIO 26 (P3.026) IO27 A4 86 7 Encoder 4 A / GPIO 27 (P3.027) IO28 IDX5 83 9 Encoder 5 Idx / GPIO 28 (P3.028) IO29 IDX4 81 11 Encoder 4 Idx / GPIO 29 (P3.029) IO30 PWM5 74 13 PWMGen 5 Out / GPIO 30 (P3.030) IO31 PWM4 71 15 PWMGen 4 Out / GPIO 31 (P3.031) IO32 DIR5 69 17 PWMGen 5 Dir / GPIO 32 (P3.032) IO33 DIR4 67 19 PWMGen 4 Dir / GPIO 33 (P3.033) IO34 ENA5 62 21 PWMGen 5 ~En / GPIO 34 (P3.034) IO35 ENA4 60 23 PWMGen 4 ~En / GPIO 35 (P3.035) IO36 B7 58 25 Encoder 7 B / GPIO 36 (P3.036) IO37 A7 49 27 Encoder 7 A / GPIO 37 (P3.037) IO38 B6 47 29 Encoder 6 B / GPIO 38 (P3.038) IO39 A6 45 31 Encoder 6 A / GPIO 39 (P3.039) IO40 IDX7 43 33 Encoder 7 Idx / GPIO 40 (P3.040) IO41 IDX6 41 35 Encoder 6 Idx / GPIO 41 (P3.041) IO42 PWM7 36 37 PWMGen 7 Out / GPIO 42 (P3.042) IO43 PWM6 34 39 PWMGen 6 Out / GPIO 43 (P3.043) IO44 DIR7 31 41 PWMGen 7 Dir / GPIO 44 (P3.044) IO45 DIR6 29 43 PWMGen 6 Dir / GPIO 45 (P3.045) IO46 ENA7 24 45 PWMGen 7 ~En / GPIO 46 (P3.046) IO47 ENA6 22 47 PWMGen 6 ~En / GPIO 47 (P3.047) PWR 49 IONAME USERNAME IC PIN P4 PIN IO48 STP0 181 1 StepGen 0 Stp / GPIO 48 (P4.048) IO49 DIR0 187 3 StepGen 0 Dir / GPIO 49 (P4.049) IO50 Unused 188 5 StepGen 0 Res / GPIO 50 (P4.050) IO51 Unused 189 7 StepGen 0 Res / GPIO 51 (P4.051) IO52 Unused 191 9 StepGen 0 Res / GPIO 52 (P4.052) IO53 Unused 192 11 StepGen 0 Res / GPIO 53 (P4.053) IO54 STP1 193 13 StepGen 1 Stp / GPIO 54 (P4.054) IO55 DIR1 194 15 StepGen 1 Dir / GPIO 55 (P4.055) IO56 Unused 195 17 StepGen 1 Res / GPIO 56 (P4.056) IO57 Unused 199 19 StepGen 1 Res / GPIO 57 (P4.057) IO58 Unused 200 21 StepGen 1 Res / GPIO 58 (P4.058) IO59 Unused 201 23 StepGen 1 Res / GPIO 59 (P4.059) IO60 STP2 202 25 StepGen 2 Stp / GPIO 60 (P4.060) IO61 DIR2 203 27 StepGen 2 Dir / GPIO 61 (P4.061) IO62 Unused 204 29 StepGen 2 Res / GPIO 62 (P4.062) IO63 Unused 205 31 StepGen 2 Res / GPIO 63 (P4.063) IO64 Unused 206 33 StepGen 2 Res / GPIO 64 (P4.064) IO65 Unused 3 35 StepGen 2 Res / GPIO 65 (P4.065) IO66 STP3 4 37 StepGen 3 Stp / GPIO 66 (P4.066) IO67 DIR3 5 39 StepGen 3 Dir / GPIO 67 (P4.067) IO68 Unused 6 41 StepGen 3 Res / GPIO 68 (P4.068) IO69 Unused 7 43 StepGen 3 Res / GPIO 69 (P4.069) IO70 Unused 8 45 StepGen 3 Res / GPIO 70 (P4.070) IO71 Unused 9 47 StepGen 3 Res / GPIO 71 (P4.071) PWR 49 RES - Reserved (Unused) GND - All even pins LED CONNECTIONS: LED0,CR8 10 LED1,CR7 14 LED2,CR6 15 LED3,CR5 16 LED4,CR4 17 LED5,CR3 18 LED6,CR2 20 LED7,CR1 21 --------------------HOSTMOT2.PIN-------------------------- Regards, Eric ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
