Posted on December 19, 2006 at 09:46Zouhair, I did exactly as you describe, but it was still crashing. The problem was a timer interrupt running out of flash! This explains the inconsistent mode of failure. Once I disabled interrupts prior to perfor...
Posted on December 18, 2006 at 16:55Zouhair, It turns out I am still experiencing problems writing to flash. What I have done is use IAR's intrinsic '__ramfunc' mechanism to locate my flash-erase/write functions to RAM, but my program is still crash...
Posted on December 18, 2006 at 13:35OK, so I want to use the IAR '__ramfunc' qualifier to locate the code in RAM. I did this and I'm up and running! I can read, write, and erase sectors that my code does not reside in. Again, thanks for your hints. ...
Posted on December 18, 2006 at 13:04Zouhair, Javi, Thanks for your help. It seems you are saying that my program must run out of RAM in order to write/erase Flash, which means my program must be less than 16K, correct? -Mike
Posted on December 14, 2006 at 18:30Hello, I cannot get the STR73x 'flash' sample application to run without causing processor exceptions. I am using IAR EW 4.0 with the ST731FV2 (256K flash). Out of the box, the sample program starts out by erasing...