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
Hello,
Check AN2295 bootloader:
https://community.freescale.com/message/97604#97604
Best Regards,
Luis
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!!
Hi,
What is the content of R0 before the BX instruction?
Luis
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
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