Dear Champs,
I am asking this for our customer.
Looking into TIDM-02011 and the related app note "SPRUIU9" for LFU (live firmware update) without reset.
1. Does the term "Switchover" mainly mean
Swap of PIE table
Swap of function pointers of LS0/LS1
Stack initialization
Or is there anything else?
2. In buck_main.c, there are below codes for switchover.
if(LFU_getSwap(LFU_BASE))
{
LFU_clearSwap(LFU_BASE);
}
else
{
LFU_setSwap(LFU_BASE);
}
We wonder why you need to write below? Is there any concern?
if(LFU_getSwap(LFU_BASE))
{
LFU_clearSwap(LFU_BASE);
}
Why don't you just use
LFU_setSwap(LFU_BASE);
2. In "f28003x_bank1_flash_lnk_lfu.cmd", there is
.TI.noinit : > RAMLS2
What is this used for?
We don't see it's used in the .map file.
3. About stack initialization,
//
// Stack initialization
//
__TI_init_stack();
Is it used to reset the stack pointer to 0?
Is there anything else for this function?