Skip to main content
Visitor II
May 18, 2005
Question

IAP

  • May 18, 2005
  • 2 replies
  • 769 views
Posted on May 18, 2005 at 08:13

IAP

    This topic has been closed for replies.

    2 replies

    saravanAuthor
    Visitor II
    May 11, 2005
    Posted on May 11, 2005 at 07:07

    Hi,

    I am using a ST72521 MCU in my project.

    I have a problem with IAP.

    When i try to erase sectors it is successful.

    Byte write is also succesful.

    But Block Write is failing.

    What are the different reasons for this problem.

    Thanks,

    Sarav

    Visitor II
    May 18, 2005
    Posted on May 18, 2005 at 08:13

    you have to ensure that the parameters are passed correctly i.e. the source buffer address (located in the RAM) and the number of bytes etc. You can read the error status(returned at 0xFF) and find the exact error. The information about the error status is given in the ST7 flash programming manual. You can also try with a higher FREQ value.

    regards,

    venky