Skip to main content
Visitor II
March 12, 2009
Question

Flash End-Of-Write Interrupt

  • March 12, 2009
  • 20 replies
  • 3671 views
Posted on March 12, 2009 at 09:31

Flash End-Of-Write Interrupt

    This topic has been closed for replies.

    20 replies

    Visitor II
    September 13, 2006
    Posted on September 13, 2006 at 15:02

    In fairness, they do usually get around to it and have been better recently. Your previous post would have been unfounded optimism within living memory!

    kleshovAuthor
    Visitor II
    September 13, 2006
    Posted on September 13, 2006 at 15:21

    Just sent an online product support request from this website. We'll see if it leads to anything.

    Visitor II
    September 13, 2006
    Posted on September 13, 2006 at 16:16

    Nah, they aren't bad these days. The answer you get should be definitive. Additionally, if it turns out to be serious, it will be in the next datasheet revision.

    Should've thought before I shot my mouth off really.

    Visitor II
    January 25, 2007
    Posted on January 25, 2007 at 11:32

    Hi,

    I'm experingsing the same problem as described by volius

    I have observed 2 things:

    1. If a new write is started within the ''end-of-write'' interrupt

    And is completed before the interrupt rutine is ended the ''end-of-write'' interrupt will not be retrigged.

    2. Sometimes the ''end-of-write'' interrupt isn't triggered even thou the INTP and INTM bits are set. This occurs also when I only starts new writes from my main program. (This is rare but happens maybe 1 out of 10000 writes)

    Does anyone know a solution ?

    Visitor II
    March 28, 2007
    Posted on March 28, 2007 at 07:31

    Hi all,

    Could you please tell me which toolchain you are using?

    Best regards,

    Najoua.

    [ This message was edited by: Najoua on 28-03-2007 11:02 ]

    kleshovAuthor
    Visitor II
    March 29, 2007
    Posted on March 29, 2007 at 04:46

    My toolchain is IAR EWARM 4.40. And I'm still confident that the bug is in the silicon. I could even direct you to the bit of the VHDL code (or whatever language is used to design MCUs these days) containing the bug if I had it.

    - mike

    Visitor II
    March 30, 2007
    Posted on March 30, 2007 at 07:44

    Unfortunately the end of write interrupt doesn't work you need to test the relevant bit as managed in standard library.

    Nice and efficient way would be also using timer so you won't waste your time by wait loop and you would get dedicated time frame for testing bit according to the ammount of data to be written.

    I'm sorry about that information I beliave we'll solvve the issu in the next revision.

    Regards

    Radim

    Visitor II
    April 2, 2007
    Posted on April 02, 2007 at 11:41

    Hi,

    >>My toolchain is IAR EWARM 4.40. And I'm still confident that the bug is in the silicon.

    => At the first, we are still investigating on the issue and thanks for all your details.

    We reproduced the problem of end of write operation but ONLY when using running in Debug Mode:

    - If a Global run is applied, there is no problem: the

    End Of Write Interrupt is serviced normally.

    - If Breakpoints are inserted in the project and ‘Step

    Over’ or ‘Step Into’ are used, the problem could occurs.

    In stand-alone, there is no problem: the End Of Write Interrupt is serviced normally.

    We are also using the toolchain IAR 4.40 and other tests are set to find precisely the root cause.

    Thanks for your understanding. We will keep you informed with our last results.

    Visitor II
    March 12, 2009
    Posted on March 12, 2009 at 05:04

    Hello,

    I've just found this tree.

    I'm using the IAR 4.42A toolchain.

    Is the problem active yet?

    BTW: Raises the Erase-Op an Inter-

    rupt too?

    regards,

    Steffen

    kleshovAuthor
    Visitor II
    March 12, 2009
    Posted on March 12, 2009 at 09:31

    Is the problem active yet?

    It is, unless they've done a new revision of the silicon with the bug corrected. Since they haven't released a single errata document for this MCU and they haven't corrected the flash programming manual, the only public source of information is this forum. The problem has been confirmed by the user klasik, presumably a representative of ST. And that's all the information there is. Not very encouraging, I'm afraid...