Author Topic: KL27 ROM Bootloader with KDS  (Read 94 times)

Offline Phil

  • Newbie
  • *
  • Posts: 40
    • View Profile
KL27 ROM Bootloader with KDS
« 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

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3060
    • View Profile
    • uTasker
Re: KL27 ROM Bootloader with KDS
« Reply #1 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

Offline Phil

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: KL27 ROM Bootloader with KDS
« Reply #2 on: June 16, 2020, 06:15:46 AM »
Thank you, Mark.

Most appreciated!