Thank you Carlos
But i required more info about this...
This is a g_memoryMap[] i have written in my Bootloader code for KL26Z128VLH4 ..
memory_map_entry_t g_memoryMap[] = {
{ 0x00000000, 0x0001ffff, &g_flashMemoryInterface }, // Flash array
{ 0x1ffff000, 0x20002fff, &g_normalMemoryInterface }, // SRAM (SRAM_L + SRAM_U)
#if !defined(BL_TARGET_RAM)
{ 0x40000000, 0x4007ffff, &g_deviceMemoryInterface }, // AIPS peripherals
{ 0x400ff000, 0x400fffff, &g_deviceMemoryInterface }, // GPIO
{ 0x44000000, 0x5fffffff, &g_deviceMemoryInterface }, // BME
{ 0xe0000000, 0xe00fffff, &g_deviceMemoryInterface }, // M0+ private peripherals
{ 0xf0003000, 0xf0003fff, &g_deviceMemoryInterface }, // MCM
{ 0xf8000000, 0xffffffff, &g_deviceMemoryInterface }, // IOPORT (single-cycle GPIO)
#endif // !BL_TARGET_RAM
Now i want to change in this array for KL26z256VLH4...
so it will be...
memory_map_entry_t g_memoryMap[] = {
{ 0x00000000, 0x0003ffff, &g_flashMemoryInterface }, // Flash array (1024 * 256)
{ 0x1ffff000, 0x20006fff, &g_normalMemoryInterface }, // SRAM (SRAM_L + SRAM_U) for 32Kb SRAM
and remaining array will remain same..
#if !defined(BL_TARGET_RAM)
{ 0x40000000, 0x4007ffff, &g_deviceMemoryInterface }, // AIPS peripherals
{ 0x400ff000, 0x400fffff, &g_deviceMemoryInterface }, // GPIO
{ 0x44000000, 0x5fffffff, &g_deviceMemoryInterface }, // BME
{ 0xe0000000, 0xe00fffff, &g_deviceMemoryInterface }, // M0+ private peripherals
{ 0xf0003000, 0xf0003fff, &g_deviceMemoryInterface }, // MCM
{ 0xf8000000, 0xffffffff, &g_deviceMemoryInterface }, // IOPORT (single-cycle GPIO)
IS there any changes required in array...??
waiting for your valuable input...
Thanks once again ...
Regards
Harsh