cancel
Showing results for 
Search instead for 
Did you mean: 

F276 Erase sectors while interrups enabled

stefan2
Associate
Posted on July 30, 2007 at 11:27

F276 Erase sectors while interrups enabled

1 REPLY 1
stefan2
Associate
Posted on July 18, 2007 at 11:18

We need to erase I-FLASH sectors on bank 1 while interrupt routines (on bank 0) are still active. We observe that sporadically (~1%) some of our tasks are killed while we try to erase this sectors. Due to the ST10 users manual concurrent write and read operations on different banks should be possible.

Any ideas what could kill our tasks here?

In another forum-thread was mentioned that it is necessary to place a NOP after the erase operation (succeeding jumps might not be handled correct due to pipelining). How can i ensure that the NOP will be executed, if interrupts are enabled?

thanks,

Steve

[ This message was edited by: Steverino on 26-07-2007 13:49 ]