Dear Champs,
I am asking this for our customer.
Regarding to step 9 of the app note "spruiu9".
1. For LFU PIE table population:
For example,
old image:
ISR A
ISR B
ISR C
new image
ISR A
ISR D
The user needs to popular the ISR in the new application code in this way:
Interrupt_disable(interrupt number B);
Interrupt_disable(interrupt number C);
Shadow_Interrupt_register(interrupt number A, &A);
Interrupt_enable(interrupt number A);
Shadow_Interrupt_register(interrupt number D, &D);
Interrupt_enable(interrupt number D);
That is, the user should
disable these ISR that are not yet available in the new app
popular ISR that are available in old and new apps and popular ISR the are available in the new apps and enable them.
Is our understanding correct?
2. For LS0/LS1 swap,
The user is responsible to allocate these function pointers "symmetrically" in LS0 and LS1.
That is, the function pointers for old app and new app should reside at the same relative location in both LS0 and LS1
Is it right?
3. LS0/LS1 swap is optional to the user if there is no function pointers swap. Is it right?