Hi, Dialog
I am developing my application using DA14583. But my CODE+RO is about 35KB. I have rearrange the scatterfile as below. Please correct me. Do I need a second boot loader ashttps://support.dialog-semiconductor.com/forums/post/dialog-smartbond-da...did? I noticed that in this ticket, he uses DA14580 and using SPI interface through P0_X pins. But I see that in DA14583, the default internal flash uses the same pins? Thanks a lot.
#! armcc -E -I .\,.\..,.\..\src\config,.\..\..\sdk\common_project_files\ --cpu Cortex-M0
#include "da1458x_config_basic.h"
#include "da1458x_config_advanced.h"
#include "da1458x_scatter_config.h"
; *************************************************************
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
;
; This scatter file is set up for EM_MAP == 23!
; If an application uses a different memory layout then it must
; use a customized scatter file.
;**************************************************************
LR_IROM1 0x20000000 0x160 { ; load region size_region
ER_IROM1 0x20000000 0x160 { ; load address = execution address
*.o (RESET, +First)
}
}
LR_IROM2 0x20000160 0x160 {
ER_IROM2 0x20000160 0x160 {
* (jump_table_mem_area)
}
}
LR_IROM3 0x200002C0 0x80 {
ER_IROM3 0x200002C0 0x80 {
* (timeout_table_area)
}
}
LR_IROM4 0x20000340 0x100 {
ER_IROM4 x20000340 0 x100 {
* (nvds_data_storage_area)
}
}
LR_IROM5 0x20000440 0xa1c0 {
ER_IROM5 0x20000440 0x9bc0 {
*(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)
#if (SPOTAR_PATCH_AREA == 1)
app_spotar.o (spotar_patch_area)
#endif
.ANY (+RO)
.ANY (+RW)
.ANY (+ZI)
}
RW_IRAM54 0x2000a000 UNINIT 0x600 { ; Stack
.ANY(栈)
}
}
LR_RETENTION_RAM2 0x00080768 0x2098 {
; Extended Sleep mode
; Extended RetRAM : 0x80000 - 0x83000
ZI_RET20 0x00080768 UNINIT 0x1ab8 { ; 0x80768 is the last address used by the ROM code
jump_table.o (heap_env_area)
jump_table.o (heap_db_area)
jump_table.o (heap_msg_area)
;jump_table.o (heap_mem_area_not_ret)
.ANY (retention_mem_area0) ; application data
.ANY (+ZI)
}
ZI_RET21 EXCHANGE_MEMORY_BASE EXCHANGE_MEMORY_SIZE {;EXCHANGE_MEMORY_BASE =0x82A20 ; EXCHANGE_MEMORY_SIZE=DESCRIPT_BUF_SIZE = (1502+2)=0x5e0;
arch_main.o (BLE_exchange_memory)
}
}


Hi caizee,
We will contact you directly on this.
Thanks MT_dialog