ΣSigmaStudio Ask AI Русский Log in

How can I install a event handle in the init-code

Processors & DSP ChaoW Dec 20, 2017 00:00 4 replies Original on forum ↗
Subscribe
ChaoW Question
Dec 20, 2017 00:00

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;

initcode

blackfin bf609

29d5713ce8f258a61fc58a756988cd51.png
29d5713ce8f258a61fc58a756988cd51.png
29d5713ce8f258a61fc58a756988cd51.png-620x188.png
29d5713ce8f258a61fc58a756988cd51.png-620x188.png
ADIApproved Reply
Dec 27, 2017 00:00

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.

https://ez.analog.com/message/214100

ChaoW Reply
Dec 28, 2017 00:00

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;

ChaoW Reply
Dec 28, 2017 00:00

Annex is my program

ADIApproved Reply
Jan 4, 2018 00:00

Hello,

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,

http://www.analog.com/media/en/technical-documentation/application-notes/EE-364.pdf

The associated code example can be found here

Thanks,

Jithul