AnsweredAssumed Answered

KL82 Bootloader Example not working

Question asked by marcwillem on Mar 13, 2020
Latest reply on Mar 13, 2020 by marcwillem



I am trying to implement a USB-HID bootloader on the KL82. For prototyping I am using the FRDM-KL82Z board.


a) there is a built in bootloader mentioned in the datasheet. Can I use this bootloader or is it overwritten by prior software download to the MCU?

b) When using the example project from the SDK I can see the USB HID device, but if I try to connect I get the following error (on both windows and linux)

sudo ./blhost -u -- get-property 1
Inject command 'get-property'
usb hid write, time left = 5000
sendCommandGetResponse.writePacket error 1.
Response status = 10004 (0x2714) No response packet from target device.

Although if I use the UART (via OpenSDA chip) I seem to be able to access the chip.


Could you please give me feedback what might be going wrong in my project? 


Thank you in advance.


Kind regards