I am planning to use dev_hid_mouse_bm as custom firmware for USB DFU-based firmware updates on the RT1064 EVK.
I would like to:
Flash the dev_hid_mouse_bm firmware to the board's flash memory.
Configure the board such that:
When the user key is pressed while connecting the EVK board, it enters DFU mode.
If the user key is not pressed, the dev_hid_mouse_bm firmware executes normally.
Could you guide me on how to properly configure the dev_hid_mouse_bm project to support this functionality? Any tips or necessary modifications would be greatly appreciated!
Thank you for your response. I don’t want to write the dev_hid_mouse_bm firmware to RAM; I want to write it to flash memory. I would really appreciate your help with this.
You will notice that there is no flash read/write support in this project. It would be a very big code modification to implement your application. It is recommended to try other options such as a secondary bootloader solution or an OTA solution.