mirror of https://github.com/ARMmbed/mbed-os.git
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.pull/4169/head
parent
ae0ef24004
commit
131379aa0c
|
@ -6,8 +6,8 @@ LR_IROM1 0x00000000 0x80000 { ; load region size_region
|
|||
.ANY (+RO)
|
||||
}
|
||||
; 8_byte_aligned(49 vect * 4 bytes) = 8_byte_aligned(0xC4) = 0xC8
|
||||
; 32KB - 0xC8 = 0x7F38
|
||||
RW_IRAM1 0x100000C8 0x7F38 {
|
||||
; 32KB (RAM size) - 0xC8 (NIVT) - 32 (topmost 32 bytes used by IAP functions) = 0x7F18
|
||||
RW_IRAM1 0x100000C8 0x7F18 {
|
||||
.ANY (+RW +ZI)
|
||||
}
|
||||
RW_IRAM2 0x2007C000 0x4000 { ; RW data, USB RAM
|
||||
|
|
Loading…
Reference in New Issue