Is it possible to program a HID device (joystick) and at the same time implement a Bootloader for firmware upgrade?
Ttelmah
Joined: 11 Mar 2010 Posts: 19499
Posted: Thu Oct 24, 2019 3:18 am
Yes, and no.
Not 'at the same time'.
The chip is one device _after_ the other.
Boot and select bootloader mode. USB is programmed as the bootloader
device. Windows enumerates and uses this.
Then reboot, and run the main code for program as the HID device. Windows
sees and enumerates this.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum