RS-485 Bootloader for Kinetis K60

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

RS-485 Bootloader for Kinetis K60

2,546件の閲覧回数
drb
Contributor II

Hello,

 

I would like to develop an RS-485 bootloader for Kinetis K60. Any reference document/software to be able to help me get started on the bootloader firmware development?

 

thank you so much :smileyhappy:

0 件の賞賛
返信
5 返答(返信)

865件の閲覧回数
LuisCasado
NXP Employee
NXP Employee

Hello,

 

Check AN2295 bootloader:

 

https://community.freescale.com/message/97604#97604

 

 

Best Regards,

 

Luis

0 件の賞賛
返信

865件の閲覧回数
albertolubeiro
Contributor III

Hi luis,

I have checked AN2295.

I am working with K60 and CW10.2. I have copied the function "JumpToUserApplication" to my proyect in order to jump to an absolut address.

First off all, when i build the code, I get some errors and I eliminate these errors doing this:

asm static void JumpToUserApplication(_SOFT_U32BITS userStartup)

{

    /* set up stack pointer */

    LDR      r13, [r0];

    /* jump to application reset vector */

    ADD      r0,r0,#0x04;

    LDR      r0, [r0];

    BX       r0;

}

The problem is that when I pass the address to this function, it branches to a diferent address.

Can you help me?

Thanks and best regards

Hi Luis, I have just seen your response in the other thread. I´m going to test it and will tell you.

Thanks again!!

0 件の賞賛
返信

865件の閲覧回数
LuisCasado
NXP Employee
NXP Employee

Hi,

What is the content of R0 before the BX instruction?

Luis

0 件の賞賛
返信

865件の閲覧回数
mjbcswitzerland
Specialist V

Hi

 

What are the special requirements of RS485 (is it bus oriented?)

 

For UART you can look at the uTasker project's serial loader - this supports SREC loading via any UART as well as USB (and from SD cards).

 

http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF

 

There are additional enryption possibilites as discussed here: http://www.utasker.com/docs/uTasker/uTaskerSecureSREC.pdf

 

Regards

 

Mark

 

 

0 件の賞賛
返信

865件の閲覧回数
J2MEJediMaster
Specialist I

There are number of Freescale Kinetis-specific application notes posted https://community.freescale.com/message/102108#102108 on this board that discuss bootloader implementations. Two in particular are AN4367 and AN4368. (They're located far down the list.)

 

---Tom

0 件の賞賛
返信