Skip to main content
Visitor II
December 10, 2009
Question

str912faz47 nonboot bank0

  • December 10, 2009
  • 2 replies
  • 666 views
Posted on December 10, 2009 at 18:23

str912faz47 nonboot bank0

    This topic has been closed for replies.

    2 replies

    bbalasaAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:59

    Hi guys,

    I have a str912faz47 and ewarm 5. , bootbank1 128KB and nonbootbank0 2MB. In bootbank1 I have the bootloader starting fine but whenever I try to access an address from flash bank0 I get Address Abort Exception.

    I use the latest library 2.1 and I have uncommented the

    /*Uncomment the following line if the Flash size is 1MB or 2MB */

    #define Flash_2MB_1MB in 91x_conf.h

    and

    ;#define Flash_256KB_Bank1_Boot

    ;#define Flash_512KB_Bank1_Boot

    #define Flash_2MB_Bank1_Boot

    ;#define Flash_1MB_Bank1_Boot

    in 91x_init.s

    PLL is configured at 48MHz.

    // Init PLL = 48 MHz

    SCU_PLLFactorsConfig( 192 , 25 , 3 );

    Any ideas?

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:59

    FLASH is set to 1 or two waitstates and prefetch enable?

    Did you change the bootcode? The FMI_(N)BBSR etc. must be set correctly and both banks enabled.