We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi, i was trying 2 interface SST flash 39vf400a external flash located at 0x000000. however, while debugging i'm using a initialization file wherein i point PC to internal 8k SRAM address(0x10000000) it works fine.So i'm able to run programs where flash memory is not needed. But if want to erase sector of flash & try to "step through" the code which the SST flash site has provided i am not able to do so.if anybody could help me i would be very much greatful. Thanks & regards Renuka Prasad
I doubt that the ARM allows you to interface 2 flash chips at the same address - maybe this is your problem?
i have only one external flash interfaced at location 0x0000000. but i do have internal 8k sram at address 0x10000000 & i am using this location to download code. this method is working fine as long as i dont touch the flash memory locations. Temp1 = (unsigned long *)0x00005555; *Temp1= 0xAAAA; 1. line points to flash location 2. write data 0xAAAA to the address. when then pc comes to the 2 line it invokes Data abort interrupt.
"i was trying 2 interface SST flash ..." Your SMS laziness wasted Stefan's time since you used '2' when you meant 'to'. Good lord man! Is typing a single extra character so difficult. Just think about the value that single extra character would have provided!
"when then pc comes to the 2 line it invokes Data abort interrupt." Of course it does. Your access is misaligned. Look at your flash datasheet, your schematic, and where the address lines are connected. Adjust your address accordingly. http://www.keil.com/forum/docs/thread6013.asp