Hi all
I want to use Bootloader functions outside of the bootloader, means I want to use the function
bootloader_load_image_no_verify() in another application.
How can I do that?
I found out that I have to define the BOOTLOADER_BUILD macro.
Then I had to fix some linker problems.
Now my application aborts during startup in the do_multicore_settings() function.
How to use BOOTLOADER functions outside of BOOTLOADER
-
- Posts: 9727
- Joined: Thu Nov 26, 2015 4:08 am
Re: How to use BOOTLOADER functions outside of BOOTLOADER
You can't. Specifically that function will (iirc) reconfigure the memory mapping, and your application is using that. It probably also wants to reconfigure memory protection, and that's generally locked until a reset. Suggest you reboot the app into the bootloader instead, then add whatever functionality you require to said bootloader.
Who is online
Users browsing this forum: No registered users and 89 guests