cancel
Showing results for 
Search instead for 
Did you mean: 

str912faz47 nonboot bank0

bbalasa
Associate II
Posted on December 10, 2009 at 18:23

str912faz47 nonboot bank0

2 REPLIES 2
bbalasa
Associate II
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?

tomas23
Associate II
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.