Hello Dialog,
In scatterfile_common_581.sct, we have the following:
...
LR_IROM5 0x20000450 0x93b0 {
ER_IROM5 0x20000450 0x7ab0 {
*(InRoot$$Sections) ; All library sections that must be in a
; root region, for example, __main.o,
; __scatter*.o, __dc*.o, and * Region$$Table
boot_vectors.o (+RO)
system_ARMCM0.o (+RO)
; * armlib * (+ RO)
.ANY (+RO)
.ANY (+RW)
}
; *********************************************************************************************
; * END OF OTP - ANYTHING BELOW THIS POINT IS NOT WRITTEN WHEN THE CODE IS BURNED TO THE OTP! *
; *********************************************************************************************
RW_IRAM50 0x20008000 ZI_AT_8000 { ; ZI
.ANY (retention_mem_area0) ; application data
.ANY (+ZI)
}
...
This leaves the memory range 0x20007F00 - 0x20007FFF unallocated. May I increase the size of ER_IROM5 to 0x7bb0 without side effects? I may need those 256 bytes ;-).
Thanks!

Hi JamesHierbert,
Yes, you can do that but, you wont be able to use the OTP (for performing an OTP copy). This area should stay clean for the OTP header to be copied.
Thanks MT_Dialog