AnsweredAssumed Answered

Boot loader and fixing function in a specific memory location

Question asked by Maoz Ohad on Apr 26, 2011
Latest reply on May 11, 2011 by Alexander Brezinov

I am trying to write a simple flash boot loader , that will get the s19 file from a PC using a serial connection (such as UART) , without using any RTOS at the moment , has anyone tried this and have some example (even if preliminary code) to shae ?

What are the compiler directives to tell the linker to put specific functions such as the thumb_startup code, init_hardware code and main() in a specific memory location ?

How do I write to a specific flash location ?

Thank you.

 

Outcomes