Skip to content
Snippets Groups Projects
Commit 5a745110 authored by Irene Garcia Camacho's avatar Irene Garcia Camacho
Browse files

Updated smart charger's firmware

Changed the Dynamixel version to Version 2 and the baudrate to 1000000.
parent f0fab19e
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
//#define EEPROM_SIZE 31 //#define EEPROM_SIZE 31
#define DYN_BATTERY_MODEL 0x8000 #define DYN_BATTERY_MODEL 0x8000
#define DYN_BATTERY_VERSION 0x01 #define DYN_BATTERY_VERSION 0x02
/* battery charger memory map */ /* battery charger memory map */
/* memory map */ /* memory map */
......
...@@ -67,7 +67,7 @@ void darwin_dyn_master_init(void) ...@@ -67,7 +67,7 @@ void darwin_dyn_master_init(void)
/* initialize the comm object */ /* initialize the comm object */
comm_init(&darwin_dyn_master_comm,0x01,&darwin_dyn_master_timer); comm_init(&darwin_dyn_master_comm,0x01,&darwin_dyn_master_timer);
Init.BaudRate = 1000000; Init.BaudRate = 1000000; //57600;
Init.WordLength = UART_WORDLENGTH_8B; Init.WordLength = UART_WORDLENGTH_8B;
Init.StopBits = UART_STOPBITS_1; Init.StopBits = UART_STOPBITS_1;
Init.Parity = UART_PARITY_NONE; Init.Parity = UART_PARITY_NONE;
......
...@@ -56,7 +56,7 @@ void darwin_dyn_master_v2_init(void) ...@@ -56,7 +56,7 @@ void darwin_dyn_master_v2_init(void)
/* initialize the comm object */ /* initialize the comm object */
comm_init(&darwin_dyn_master_v2_comm,0x01,&darwin_dyn_master_v2_timer); comm_init(&darwin_dyn_master_v2_comm,0x01,&darwin_dyn_master_v2_timer);
Init.BaudRate = 1000000; Init.BaudRate = 1000000; //57600;
Init.WordLength = UART_WORDLENGTH_8B; Init.WordLength = UART_WORDLENGTH_8B;
Init.StopBits = UART_STOPBITS_1; Init.StopBits = UART_STOPBITS_1;
Init.Parity = UART_PARITY_NONE; Init.Parity = UART_PARITY_NONE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment