Skip to main content
Visitor II
May 13, 2008
Question

Running Bootloader from Bank1 and trying to load new application to Bank0

  • May 13, 2008
  • 1 reply
  • 645 views
Posted on May 13, 2008 at 17:06

Running Bootloader from Bank1 and trying to load new application to Bank0

    This topic has been closed for replies.

    1 reply

    rgantiAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:53

    It doesn't succeed in writing the new application at Bank0 (0x00080000).

    91x_init.s

    -------------

    LDR R6, =0x54000004 ; non boot bank size

    LDR R7, =0x6 ; 512K

    STR R7, [R6]

    LDR R6, =0x5400000C ; boot bank address = Bank 1

    LDR R7, =0x00 ; 0x0

    STR R7, [R6]

    LDR R6, =0x54000010 ; non boot bank address = Bank 0

    LDR R7, =0x20000 ; 0x10000 = 4x 0x4000

    STR R7, [R6]

    LDR R6, =0x54000018 ; enable Non Boot bank

    LDR R7, =0x18

    STR R7, [R6]