Hi Long Zhao ,
What's the nxp chip you are using?
If it is the flash bootloader, you totally can modify the flash bootloader code to meet your own demand.
The bootloader code can be found in the KSDK download package:
Welcome | MCUXpresso SDK Builder
When you select the chip, in the middleware, please also select the mcu-boot.
If you don't want to use the blhost, just want to receive some specific data, you can write your own bootloader, just refer to the official bootloader code.
Wish it helps you!
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------