an2295sw usage

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

an2295sw usage

1,205 Views
hotashu
Contributor III

I run an2295sw kinetis L code with CW10.6, i can download this code to my KL25 frdm board well, when lauch debugger, it stops at main(). when i step over the code . it jumps to Boot_ResetMCU routine. what's the problem? (my an2295 is the latest download from freescale website)

void Boot_ResetMCU(void)

{   SCB_AIRCR = SCB_AIRCR_VECTKEY(0x5FA) | SCB_AIRCR_SYSRESETREQ_MASK;   while(1)   {};  }

Labels (1)
0 Kudos
Reply
2 Replies

759 Views
mjbcswitzerland
Specialist V

Hi Hotas

Although not the same UART method as described in AN2295 there are KBOOT and SREC UART loaders for your board here:

http://www.utasker.com/kinetis/FRDM-KL25Z.html

They work directly with CW10.6 in case that is the main requirement (although also with KDS, IAR, Keil, Rowley, Green Hills, CooCox, Atollic and VisualStudio).

Regards

Mark

Kinetis: µTasker Kinetis support

KL25: µTasker Kinetis FRDM-KL25Z support / µTasker Kinetis TWR-KL25Z48M support

For the complete "out-of-the-box" Kinetis experience and faster time to market

0 Kudos
Reply

759 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello hotas holy:

I think the CodeWarrior project is not functional, only the IAR and Keil projects. Sorry for that inconvenience.

There is also a serial bootloader developed by colleague Erich Styger with Processor Expert, described and shared in the next tutorial:

http://mcuoneclipse.com/2013/04/28/serial-bootloader-for-the-freedom-board-with-processor-expert/


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply