2009-12-10 09:23 AM
2011-05-17 12:59 AM
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?2011-05-17 12:59 AM
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.