Skip to content

Commit 6c3f9bd

Browse files
authored
reserved topmost 32 bytes of RAM used by IAP functions
NXP LPC176x/5x User Manual UM10360 Rev 4.1: 32.3.2.8 RAM used by IAP command handler Flash programming commands use the top 32 bytes of on-chip RAM. The maximum stack usage in the user allocated stack space is 128 bytes and it grows downwards.
1 parent c2fa163 commit 6c3f9bd

File tree

1 file changed

+1
-1
lines changed
  • targets/TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_GCC_CR

1 file changed

+1
-1
lines changed

targets/TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_GCC_CR/LPC1768.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ MEMORY
77
{
88
/* Define each memory region */
99
MFlash512 (rx) : ORIGIN = 0x0, LENGTH = 0x80000 /* 512k */
10-
RamLoc32 (rwx) : ORIGIN = 0x100000C8, LENGTH = 0x7F38 /* 32k */
10+
RamLoc32 (rwx) : ORIGIN = 0x100000C8, LENGTH = 0x7F18 /* 32k (topmost 32 bytes used by IAP functions) */
1111
RamAHB_USB (rwx) : ORIGIN = 0x2007c000, LENGTH = 0x4000 /* 16k */
1212
RamAHB_Eth (rwx) : ORIGIN = 0x20080000, LENGTH = 0x4000 /* 16k */
1313

0 commit comments

Comments
 (0)