µTasker Forum

µTasker Forum => NXPTM M522XX, KINETIS and i.MX RT => Topic started by: Phil on June 16, 2020, 12:00:23 AM

Title: KL27 ROM Bootloader with KDS
Post by: Phil on June 16, 2020, 12:00:23 AM
Mark, et al,

I am writing firmware for a KL27 with embedded ROM bootloader using KDS.

When writing directly directly into the KL27 using my SEGGER JLINK I using the build configuration uTaskerV1.4_FLASH. Everything works fine.

When using the ROM bootloader, I would think the build configuration changes to uTaskerV1.4_BM_FLASH. When I try to use the ROM bootloader with the newly created BM_FLASH image everything seems to load fine but the KL27 goes into a watchdog-type reset loop upon startup.

Again, when I load using the uTasker1.4_FLASH build configuration using my SEGGER JLINK debugger everything works fine.

Any ideas?

Thanks.

Phil
Title: Re: KL27 ROM Bootloader with KDS
Post by: mark on June 16, 2020, 12:22:00 AM
Hi Phil

When using the KL27's ROM Loader you can load the uTaskerV1.4_FLASH target with the KBOOT utility. The uTaskerV1.4_BM_FLASH target has an offset which the ROM loader doesn't use.

Regards

Mark
Title: Re: KL27 ROM Bootloader with KDS
Post by: Phil on June 16, 2020, 06:15:46 AM
Thank you, Mark.

Most appreciated!