cancel
Showing results for 
Search instead for 
Did you mean: 

passing parameter to different page of boot flash

babidesai123
Associate II
Posted on May 13, 2003 at 05:59

passing parameter to different page of boot flash

1 REPLY 1
babidesai123
Associate II
Posted on May 17, 2011 at 11:54

Hello,

Secondary boot flash csboot0 & csboot 1 can be combined to make it as one 16KB virtual page?

It's not a feesible solution that for a minor change in application code, we have to erase the entire block of 16KB of primary flash.

Because fo this limitation .we have to write our application code in secondary flash & primary flash will hold IAP code.

& at power on booting is done from primary flash.

But our application code may be more than 8KByte, So we neeed to pass the parameter between to differnt page of secondary flash.

Along with this, we have to keep a provision for back up of application code.So we decided to use CSBOOT0(page 0-0000 to 1FFF -!swap # page0 - 8000 to 9FFFh- swap) & CSBOOT1( w/o page bits0-2000 to 3FFF- !swap1 bit # no page -- A000 to BFFF h--- swap1 bit)

where csboot1 will contain code which needs frequent modification.

Now we are not able to pass the parameter from CSBOO0 to CSBBOT1.

we are able to call the routine which is there at CSBOOT1 & successfully come back to CSBOOT0.

afetra lots of try we couldn't achieve the passing of the parameter between the two blocks.

Can anyone help me in this????

purvi