I am trying to adapt a MCUXPresso project in order to flash my MKL25 using kboot. I have already followed the tutorials regarding KDS, but it is not straightforward to do the same at MCUXPresso IDE. I have been using a blinking led driver example imported from the installed SDK and I modified the the flash section as follows:
MEMORY
{
/* Define each memory region */
m_data (rx) : ORIGIN = 0x8800, LENGTH = 0x17800 /* 94K bytes (alias Flash) */
m_text (rx) : ORIGIN = 0x8400, LENGTH = 0x400 /* 1K bytes (alias Flash2) */
m_bca (rx) : ORIGIN = 0x83c0, LENGTH = 0x40 /* 64 bytes (alias Flash3) */
m_interrupts (rx) : ORIGIN = 0x8000, LENGTH = 0x3c0 /* 960 bytes (alias Flash4) */
SRAM (rwx) : ORIGIN = 0x1ffff000, LENGTH = 0x4000 /* 16K bytes (alias RAM) */
}
Since the scripts are not the same compared to KDS, I may have to do extra steps in order to achieve my goal. If there is any tutorial for this issue I would appreciate it very much!