Skip to main content
Visitor II
December 3, 2010
Question

STR9 boothloader advice

  • December 3, 2010
  • 3 replies
  • 812 views
Posted on December 03, 2010 at 01:13

STR9 boothloader advice

    This topic has been closed for replies.

    3 replies

    Graduate II
    May 17, 2011
    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.

    Visitor II
    May 17, 2011
    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

    Visitor II
    May 17, 2011
    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