Hi,
Thank you so much to guide me.
I have changed the ram address in the descriptor mentioned below.
In descriptor-
0x10050000, // ram start address (for bootloader storage)
0x100FFFFF, // ram end address (for bootloader storage)
0x400,//0x10000, // programmable sector size in bytes
0xFF, // programmable memory erased value
256, // number of bytes to program at once
In the target, I have set
IROM1- Start Address-0x10000500 and size:0x6000
IRAM1- Start Address-0x10050000 and size:0x10000
After setting the configuration, I compiled the code and created the .map and .hex file. Below is the memory layout in the .map file
Load Region LR_IROM1 (Base: 0x10000500, Size: 0x0000565c, Max: 0x00006000, ABSOLUTE)
Execution Region ER_IROM1 (Exec base: 0x10000500, Load base: 0x10000500, Size: 0x000055dc, Max: 0x00006000, ABSOLUTE)
Execution Region RW_IRAM1 (Exec base: 0x10050000, Load base: 0x10005adc, Size: 0x00000e50, Max: 0x00010000, ABSOLUTE)