cancel
Showing results for 
Search instead for 
Did you mean: 

STR9 boothloader advice

glujan
Associate
Posted on December 03, 2010 at 01:13

STR9 boothloader advice

3 REPLIES 3
Posted on May 17, 2011 at 10:01

Is there a reason why you must remap the application to 0, couldn't you just point the vectors from the boot loader into the application?

Have you reviewed AN2475? and the accompanying source code.

http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/APPLICATION_NOTE/CD00147352.pdf

It's a lot simpler to write code to be copied to RAM in assembler, it's more challenging to do it in C with libraries. In assembler you can place the code you want to end up in RAM between two labels, then you copy that code into a RAM location and branch to it. Try looking at some ARM9 startup code used by the compiler, examples for other processors/chips, books and online examples.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
willie
Associate II
Posted on May 17, 2011 at 10:01

Does anyone know where I can get the ''ST Flash loader'' referred to in the AN2475 manual:

http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/APPLICATION_NOTE/CD00147352.pdf

Pantuca.Erwin
Associate II
Posted on May 17, 2011 at 10:01

you can search your particular mcu in stmicro site, it should come out in the Design Support tab.  ex this is for str912faw44.

http://www.st.com/internet/mcu/product/165891.jsp