internal flash write during program execution in LPC1114

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

internal flash write during program execution in LPC1114

716件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by unnati on Fri Jun 04 06:24:29 MST 2010
hi,

i m looking for an example code to write data generated during program execution into the internal flash.
0 件の賞賛
返信
2 返答(返信)

704件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by smarly on Tue Jun 08 02:32:46 MST 2010
Hi,
I am also trying to acces IAP commands, without success (LPC1114).
If I try to reinvoke ISP doing the followings, it just hangs:

#define IAP_LOCATION 0x1fff1ff1
unsigned long command[5];
unsigned long result[4];
void (*iap_entry)(unsigned long *, unsigned long *) = (void *)IAP_LOCATION;

void ReinvokeISP(void)
{
    command[0]=57;
    iap_entry (command, result);
}
Am I doing something wrong ?
Thanks for your help.
0 件の賞賛
返信

704件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Sat Jun 05 07:31:58 MST 2010
I suggest you start by reading the chapter "LPC111x Flash memory programming firmware" in the LPC11xx User Manual available from the NXP website.

The following thread also contains a discussion on this issue...

http://knowledgebase.nxp.com/showthread.php?t=158

The USB secondary bootloader example for the RDB1768 (included in your LPCXpresso install's examples subdirectory) provides code which might be useful to look at too, though this is for the LPC17xx rather than the LPC11xx.

Regards,
CodeRedSupport
0 件の賞賛
返信