diff --git a/servo_firmware/ax12/Makefile b/servo_firmware/ax12/Makefile index 8f2792f73bca782f60187dbf36dcca4156803edf..ff67ea55b796e5a41436e9d8d99182cc09dac032 100755 --- a/servo_firmware/ax12/Makefile +++ b/servo_firmware/ax12/Makefile @@ -30,7 +30,8 @@ $(PROJECT).elf: $(OBJS) $(CC) -c $(CFLAGS) -I$(INCLUDE_DIR) -o $@ $< download: $(MAIN_OUT_HEX) - ../../bin/fw_downloader -d /dev/ttyUSB0 -f $(PROJECT).hex -s ax12 + ../../bin/fw_downloader -d /dev/ttyUSB0 -c + ../../bin/fw_downloader -d /dev/ttyUSB0 -f $(PROJECT).hex -p ax clean: rm $(PROJECT).* diff --git a/servo_firmware/ax12/src/mem.c b/servo_firmware/ax12/src/mem.c index 214779b4017b92736d305af1e58ec182f05b0073..813582178117d02935d753830e3adb47939f4241 100644 --- a/servo_firmware/ax12/src/mem.c +++ b/servo_firmware/ax12/src/mem.c @@ -5,8 +5,8 @@ // dynamixel RAM variables unsigned char ram_data[RAM_SIZE]; -// Dynamixel EEPROM variables -unsigned char EEMEM eeprom_data[19]={0x1C,0x00,0x00,0x01,0x22,0xFA,0x00,0x00,0xFF,0x03,0x00,0x50,0x3C,0xF0,0xFF,0x03,0x02,0x24,0x24}; +// Dynamixel EEPROM variables ID baud +unsigned char EEMEM eeprom_data[19]={0x1C,0x00,0x00,0x01,0x01,0xFA,0x00,0x00,0xFF,0x03,0x00,0x50,0x3C,0xF0,0xFF,0x03,0x02,0x24,0x24}; void ram_init(void) {