I want to combine the hex files of the boot and application code.
I have a software update project and I have two different codes. I want to combine the hex files of these two codes into a single file and finally lock the processor with the help of Option bytes. How can I do this?

