This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

prob related to external flash memory accessing

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

Parents
  • 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.

Reply
  • 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.

Children