Silicon Laboratories Si4010 Software Programming Manual page 71

Hide thumbs Also See for Si4010:
Table of Contents

Advertisement

7.10.1. Non-Volatile Memory Copy Module Functions
vNvm_SetAddr
Description: Sets the NVM address where the next invocation of bNvm_CopyBlock()
will start copying from NVM. The Silicon Labs provided NVM composer and burner will
correctly format the user input IntelHEX files into the NVM block data structures required
by this function.
The NVM occupies addresses 0xE000 to 0xFFFF. The NVM address must lie in this
range. Not all NVM is available to the user. The user should not use address which is less
than the content of the wBoot_NvmUserBeg variable after boot. The last 64 bytes of the
NVM, at addresses from 0xFFC0 to 0xFFFF, are reserved for Silicon Labs use as well.
Those last 64 bytes of the NVM will not be copied by the vNvm_CopyBlock() function.
Inputs:
wiAddr: (WORD) The 16 bit NVM start address of the NVM block to be copied
by the next call to the bNvm_CopyBlock.
Outputs:
None
wNvm_GetAddr
Description: Returns the NVM address from which the next call to the bNvm_Copy-
Block() is going to start copying the NVM data.
This address is set either by the vNvm_SetAddr(). It is also updated by the bNvm_Copy-
Block() call. If the user calls this function immediately after the bNvm_CopyBlock() then
return value is the first NVM unread address after the last NVM read address by the
bNvm_CopyBlock() function. The user then can use this information to determine
whether the block was copied in its entirety. This can be useful for checking whether an
overlay was read correctly from the NVM since the user would know in advance what the
NVM address range of the particular overlay block is in the NVM.
Inputs:
None
Outputs:
Start NVM address: (WORD) NVM address where the next bNvm_CopyBlock()
call going to start in NVM.
Rev. 1.0
AN370
71

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Si4010 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents