Skip to content

Commit 0125f9f

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 131379a commit 0125f9f

File tree

1 file changed

+2
-2
lines changed
  • targets/TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_ARM_STD

1 file changed

+2
-2
lines changed

targets/TARGET_NXP/TARGET_LPC176X/device/TOOLCHAIN_ARM_STD/LPC1768.sct

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ LR_IROM1 0x00000000 0x80000 { ; load region size_region
66
.ANY (+RO)
77
}
88
; 8_byte_aligned(49 vect * 4 bytes) = 8_byte_aligned(0xC4) = 0xC8
9-
; 32KB - 0xC8 = 0x7F38
10-
RW_IRAM1 0x100000C8 0x7F38 {
9+
; 32KB (RAM size) - 0xC8 (NIVT) - 32 (topmost 32 bytes used by IAP functions) = 0x7F18
10+
RW_IRAM1 0x100000C8 0x7F18 {
1111
.ANY (+RW +ZI)
1212
}
1313
RW_IRAM2 0x2007C000 0x4000 { ; RW data, ETH RAM

0 commit comments

Comments
 (0)