AnsweredAssumed Answered

FRDM-KL25Z bootloader stops at the ResetMCU function when i use AN2295 SW.

Question asked by Eunseok Jung on Feb 26, 2015
Latest reply on Feb 27, 2015 by Jorge_Gonzalez

Hi, all.

I'm practicing the bootloader system nowadays. I read the AN2295 application note for building bootload. And, i also download the AN2295 SW for practice.

First, I modify the bootloader_cfg.h to matching the Kinetis L seires. Also, I modify MEMORY size in the AA295_LinkerFile.Icf.

Build is running without problem.

But the problem is when i start the debug, it always stops at the main function or Boot_RsetMCU function.

Except the bootloader_cfg.h file, i didn't touch AN2295 SW file. (I changed baud rate from 115200 to 57600)

I'm using FRDM-KL25Z and Codewarrior 10.3.

Do you have any idea?





I noticed that it caused by Hard Fault.

But i'm not sure what is hard fault and why it occured.

Could you help me?