Reply
Highlighted
Posts: 1
Registered: ‎03-28-2016

UB2 Bootloader HID IN report count question

The Boot Loaders for the EFM8 UB2 parts (AN945SW) list a HID report size as 8 (8 bits) and a report count of 4.  Yet only one byte is returned as a response to the Boot Loader commands. The other 3 bytes are just remnant values associated with the declared TxBuffer.  This is easily seen with a USB analyzer.

 

The USB HID specification is quite flexible with regard to the report size and report count.  Is this 4 byte usage a consequence of the Host side driver?  Can I shorten the report count to 1?

Posts: 111
Registered: ‎07-12-2016

Re: UB2 Bootloader HID IN report count question

hi @Electroniker,

 

The host tool's source code can be found here, and you should change the Input (device to host) report size synchronously.

\AN945SW\AN945SW\Tools\Source\.

 

enter the folder, and type the command similar as below,

python .\efm8loader.py EFM8UB2_RainbowBlinky.efm8

 

Thanks