Difference between revisions of "CanServo/FW Version Value/en"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (Created page with "You can read FW Version on Register 0xFC, 0xFE.  1. Read Register 0xFC, 0xFE  V=REG[0xFC] nV=REG[0xFE]  2. Verify V = (bits) NOT nV  if Error * It has NO VERSION INFO. * It ha...")  | 
				|||
| Line 1: | Line 1: | ||
You can read FW Version on Register 0xFC, 0xFE.  | You can read FW Version on Register 0xFC, 0xFE.  | ||
1. Read Register 0xFC, 0xFE  | 1. Read Register 0xFC, 0xFE  | ||
| Line 5: | Line 6: | ||
V=REG[0xFC]  | V=REG[0xFC]  | ||
nV=REG[0xFE]  | nV=REG[0xFE]  | ||
2. Verify V = (bits) NOT nV  | 2. Verify V = (bits) NOT nV  | ||
| Line 12: | Line 14: | ||
* It has NO BOOTLOADER TYPE INFO.  | * It has NO BOOTLOADER TYPE INFO.  | ||
* End Process  | * End Process  | ||
3. Now V has Version and Bootloader Type.  | 3. Now V has Version and Bootloader Type.  | ||
| Line 23: | Line 26: | ||
ex) 2.1(2) = 2012  | ex) 2.1(2) = 2012  | ||
4. Special Case  | 4. Special Case  | ||
| Line 31: | Line 35: | ||
Our PC UI display as 1.1(2) [ OLD 2.1(2) ] ( after PC UI Version 2021_09_03 ).  | Our PC UI display as 1.1(2) [ OLD 2.1(2) ] ( after PC UI Version 2021_09_03 ).  | ||
5. Version  | 5. Version  | ||
| Line 38: | Line 43: | ||
* 21052 = 21.5(2) = Display as "1.5(2) /U"  | * 21052 = 21.5(2) = Display as "1.5(2) /U"  | ||
Read:  | |||
Please Read:  | |||
[[CanServo/FW Types/en]]  | [[CanServo/FW Types/en]]  | ||
Revision as of 02:51, 18 September 2021
You can read FW Version on Register 0xFC, 0xFE.
1. Read Register 0xFC, 0xFE
V=REG[0xFC] nV=REG[0xFE]
2. Verify V = (bits) NOT nV
if Error
- It has NO VERSION INFO.
 - It has NO BOOTLOADER TYPE INFO.
 - End Process
 
3. Now V has Version and Bootloader Type.
- Bootloader Type = bit 15
- bit value = 0 : NEW BOOTLOADER ( B2 or B3 )
 - bit value = 1 : OLD BOOTLOADER ( B1 )
 
 - Version Value = bit 14:0 = 0 ~ 32767
- Version Value = a x 1000 + b x 10 + c
 - Format: a.b(c) = (dec) aabbc
 
 
ex) 2.1(2) = 2012
4. Special Case
2.1(2) = 2012
This is First UAVCAN only FW.
Our PC UI display as 1.1(2) [ OLD 2.1(2) ] ( after PC UI Version 2021_09_03 ).
5. Version
- 3052 = 3.5(2) = Display as "1.5(2) /A"
 - 11052 = 11.5(2) = Display as "1.5(2) /C"
 - 21052 = 21.5(2) = Display as "1.5(2) /U"
 
Please Read:
CanServo/FW Types/en