Skip to content

Commit c2fa163

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 6e46c7a commit c2fa163

File tree

1 file changed

+1
-1
lines changed
  • targets/TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_GCC_ARM/TARGET_XBED_LPC1768

1 file changed

+1
-1
lines changed

targets/TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_GCC_ARM/TARGET_XBED_LPC1768/XBED_LPC1768.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
MEMORY
55
{
66
FLASH (rx) : ORIGIN = 0x00002000, LENGTH = 504K
7-
RAM (rwx) : ORIGIN = 0x100000C8, LENGTH = (32K - 0xC8)
7+
RAM (rwx) : ORIGIN = 0x100000C8, LENGTH = (32K - 0xC8 - 32) /* topmost 32 bytes used by IAP functions */
88

99
USB_RAM(rwx) : ORIGIN = 0x2007C000, LENGTH = 16K
1010
ETH_RAM(rwx) : ORIGIN = 0x20080000, LENGTH = 16K

0 commit comments

Comments
 (0)