When I install a event handle in the init-code use the "adi_int_InstallHandler", it will occur link error.
The pic. is the lin-error-log;
The better idea is to use Second Slate Loader (SSL) for your scenario, where a small application is loaded into the processor using a natively supported boot mode. This SSL kernel can be used to customize the configuration of the processor and/or perform automated tasks as part of the boot process. To be more specific, in the SSL you can select whether you want to update the firmware or continue the booting of main application.
For more information please refer to the application note EE-364,
The associated code example can be found here
Which processor are you using?
I am curious to know the purpose of installing interrupt in the init_code, can you please elaborate?
can you please share your completed project file to replicate the issue on EZ-Kit?
BTW, for more information about Error li1021 error, please refer the below thread.
Thanks for response, I wanna update the program befor the main program(boot loader like), and when I update the program it will bypass the "bootloader". So I add this program to the init code. And I use the bf609;
Annex is my program
Retrieving data ...