roboforum.ruТехнический форум по робототехнике. |
|
|
avr-size orfa.elf
text data bss dec hex filename
12600 584 676 13860 3624 orfa.elf
avr-size orfa.elf
text data bss dec hex filename
10624 166 676 11466 2cca orfa.elf
vovan@vovan-laptop:~/src/pyor$ python2.6 bin/orintro.py /dev/rfcomm0
PyOR version: 0.1.6
UIDs database version: 1.0.2
Serial Gate protocol version: 1.0
Selected device: 0x00
Drivers:
#1 RoboGPIO ADC driver
ADC driver
ADC_CONF — write 2 byte (WO):
| byte 1: adc mode & refrence mode
| bit 2: 8 bit/10 bit
| bit 0-1:
| 00: External refrence
| 01: AVCC refrence
| 10, 11: Internal refrence
| byte 2: enabled channels mask
ADC_DATA — write 1 byte start channel, output 1 or 2 bytes.
UID: 0x0040
Version: 1.0
Registers: 0x12, 0x13
ADC_CONF: 0x12
ADC_DATA: 0x13
#2 Unknown driver
UID: 0x0031
Version: 1.0
Registers: 0x10, 0x11
#3 RoboMD2 motor driver
Motor driver
PWMn — motor n speed register (R/W)
DIRn — motor n direction register (R/W)
UID: 0x0060
Version: 1.0
Registers: 0x0C, 0x0D, 0x0E, 0x0F
DIR1: 0x0E
DIR2: 0x0F
PWM1: 0x0C
PWM2: 0x0D
#4 RoboBus SPI driver
SPI driver
<need more information about this driver>
UID: 0x0001
Version: 1.0
Registers: 0x0A, 0x0B
SPI_CONF: 0x0B
SPI_DATA: 0x0A
#5 RoboGPIO digital driver
Digital I/O driver
PORTc — port register (R/W)
DDRc — port direction (WO)
UID: 0x0020
Version: 1.0
Registers: 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09
DDRA: 0x06
DDRB: 0x07
DDRC: 0x08
DDRD: 0x09
PORTA: 0x02
PORTB: 0x03
PORTC: 0x04
PORTD: 0x05
Meta information:
rbgp: PORTB.4, PORTD.7, PORTD.6
gpio: 0, 0xe3, 0x03, 0x33
#6 Introspection driver
ORFA Introspection driver
INTRO register always 0x00
00 00 — get driver count
00 nn — get driver nn info
UID: 0x0000
Version: 1.0
Registers: 0x00
INTRO: 0x00
vovan@vovan-laptop:~/src/pyor$
Vooon писал(а):Черт, добились таки конфликта драйверов.
Если собрано с драйвером серв, то драйвер моторов не работает.
vovan@vovan-pc:~/dev/project/orfa$ find -name '*.c' -o -name '*.h' -o -name '*.S' -o -name '*.mk' -o -name 'Ma*' | wc -l
57
vovan@vovan-pc:~/dev/project/orfa$ wc -l $(find -name '*.c' -o -name '*.h' -o -name '*.S' -o -name '*.mk' -o -name 'Ma*')
19 ./resolve.mk
9 ./core/resolve.mk
197 ./core/driver.c
163 ./core/driver.h
62 ./core/common.h
61 ./core/docs.h
71 ./core/test.c
81 ./core/scheduler.c
84 ./core/scheduler.h
108 ./core/ports.c
117 ./core/ports.h
108 ./Makefile
5 ./drivers/adc/resolve.mk
179 ./drivers/adc/adc_driver.c
47 ./drivers/adc/adc_driver.h
110 ./drivers/adc/adc_interrupts.S
4 ./drivers/spi/resolve.mk
173 ./drivers/spi/spi_driver.c
59 ./drivers/spi/spi_driver.h
22 ./drivers/resolve.mk
5 ./drivers/motor/resolve.mk
170 ./drivers/motor/motor_driver.c
38 ./drivers/motor/motor_driver.h
4 ./drivers/ports/resolve.mk
100 ./drivers/ports/ports_driver.c
69 ./drivers/ports/ports_driver.h
6 ./drivers/servo4017/resolve.mk
91 ./drivers/servo4017/servo_driver.c
37 ./drivers/servo4017/servo_driver.h
192 ./drivers/servo4017/servo4017.c
49 ./drivers/servo4017/servo4017.h
73 ./drivers/driver_skeleton.c
37 ./drivers/driver_skeleton.h
5 ./drivers/servo_gpio/resolve.mk
378 ./drivers/servo_gpio/servo_driver.c
37 ./drivers/servo_gpio/servo_driver.h
16 ./debug.mk
211 ./main.c
8 ./serialgate/resolve.mk
31 ./serialgate/Makefile
311 ./serialgate/i2c.c
132 ./serialgate/i2c.h
221 ./serialgate/command.c
55 ./serialgate/command.h
456 ./serialgate/parser.c
73 ./serialgate/parser.h
54 ./serialgate/usart_config.h
85 ./serialgate/cbuf.c
120 ./serialgate/cbuf.h
56 ./serialgate/common.h
64 ./serialgate/test.c
101 ./serialgate/usart.c
131 ./serialgate/usart.h
77 ./serialgate/serialgate.c
74 ./serialgate/serialgate.h
9 ./platform/OR_AVR_M32_D.mk
11 ./platform/OR_AVR_M64_S.mk
5266 итого
vovan@vovan-pc:~/dev/project/orfa$
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 3