Full version for Rev C Hardware Also needs modified USBDevice driver in SV repository
Dependencies: MODSERIAL USBDevice_for_Rev_C_HW mbed
Fork of mbed_sv_firmware_with_init by
Diff: SV_USBConfig.h
- Revision:
- 24:41e424031aba
- Parent:
- 22:5707b236cbdb
--- a/SV_USBConfig.h Tue Jun 16 23:03:29 2015 +0000 +++ b/SV_USBConfig.h Tue Jun 23 00:59:31 2015 +0000 @@ -5,15 +5,11 @@ * @brief Freescale KL25Z firmware for USB-RFID adapter * * Includes USB Config Descriptor strings in UNICODE - * iManufacturer = "SV" + * iManufacturer = "Supervision" * iSerial = "SV1" - * iProduct = "SV USB-RFID" + * iProduct = "USB-RFID Adapter" * - * These are shortened strings should only visible directly after manufacture and before factory testing. - * Factory tests will write more appropriate strings into the I2C EEPROM, which then override - * these defaults. If these strings are seen, then the adapter has not been properly tested at - * the factory. - * + * The Serial Number string will be reassigned to the 80-bit KL25Z unique ID * */ #ifndef SV_USBConfig_h @@ -23,13 +19,14 @@ #define SV_VID 0x0425 #define SV_PID 0x0415 + // Strings -#define SV_MFG_CNT 0x06 // String length in UNICODE plus two bytes for the count (this value) and string type -#define SV_MFG 'S',0,'V',0,' ',0, -#define SV_SER_CNT 0x08 +#define SV_MFG_CNT 24 // String length in UNICODE plus two bytes for the count (this value) and string type +#define SV_MFG 'S',0,'u',0,'p',0,'e',0,'r',0,'v',0,'i',0,'s',0,'i',0,'o',0,'n',0, +#define SV_SER_CNT 8 #define SV_SER 'S',0,'V',0,'1',0, -#define SV_DES_CNT 0x18 -#define SV_DES 'S',0,'V',0,' ',0,'U',0,'S',0,'B',0,'-',0,'R',0,'F',0,'I',0,'D',0, +#define SV_DES_CNT 34 +#define SV_DES 'U',0,'S',0,'B',0,'-',0,'R',0,'F',0,'I',0,'D',0,' ',0,'A',0,'d',0,'a',0,'p',0,'t',0,'e',0,'r',0, #endif // EOF SV_USBConfig.h