lpcware

Writing variables to FLASH with IAP

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by IanJames on Tue Mar 12 07:15:49 MST 2013
Hi,

I am attempting to write a 512 byte variable to FLASH using the IAP routines.

The problem is I get an error code 2 [SRC_ADDR_ERROR]

I have looked in the map file and see that the address of the variable is                 0x10000901                gNodeAddrTable

I assume this is the problem but how can I force the variable to to be word aligned?

I have another variable which works fine:

0x10000b12                gConfig

Thnaks,

Ian

Outcomes