Thank you for your kind reminder. It solved my confusion.It seems that I need to find another source code of bootloader for the MCF52259. Do you have any good suggestions?
Unfortunately this was the only code with a similar functionality available. In the webpage of this MCU is available the USB stack, you could try to implement something similar as the previous bootloader.