1
USB Infrared Toy / Flashing the firmware with an PIC programmer?
I have my IR Toy in firmware upgrade mode but it looks like the macOS Sierra grabs the USB HID device exclusively:
My self-compiled and and log statement enriched version of fw_update says it fails to open the USB port.
trying fw_update with a Windows7 or Windows 10 VM on that Sierra machine also fails.
It looks like the only way for me is to use an PIC programmer to flash the IR Toy.
I tried to flash the firmware with an PIC KIT 2 programmer. However, I can not get a working device with my firmware flash attempts.
I tried:
- Flash the v22 firmware .hex => Seems missing the boot loader
- Flash the Bootloader afterwards -> Seems to overwrite the firmware
- Flash a firmware created by merging boot loader + firmware.v22 merged with the python intelhex package.
All three options just 'brick' my IRToy. Restoring an firmware dump extracted poor to flaming brings it back in the "HID firmware upgrade mode".
Any hints how to:
- get it out of firmware upgrade mode with ah PIC programmer
- create a firmware I can upload with the PIC KIT programmer?
- which regions to program? the PicKit programmer has the options
memory regions:
P = Program memory
E = EEPROM
I = ID memory
C = Configuration memory