Skip to main content
Visitor II
October 6, 2004
Question

ST10F276 Program/Erase registers using Tasking v8.0r1

  • October 6, 2004
  • 3 replies
  • 763 views
Posted on October 06, 2004 at 06:18

ST10F276 Program/Erase registers using Tasking v8.0r1

    This topic has been closed for replies.

    3 replies

    drosaAuthor
    Visitor II
    February 23, 2004
    Posted on February 23, 2004 at 12:46

    Hi all,

    I'm using Tasking compiler for the ST10F276 micro. I've found that program/erase flash registers are not defined, and I have some doubts about how to define them.

    Please, if anyone knows if the definition is or not correct, let me know:

    #define FCR0L *(unsigned int _far*)0xE0000

    #define FCR0H *(unsigned int _far*)0xE0002

    #define FCR1L *(unsigned int _far*)0xE0004

    #define FCR1H *(unsigned int _far*)0xE0006

    .................................................................................

    Visitor II
    October 4, 2004
    Posted on October 04, 2004 at 14:37

    Yes, your definition is correct.

    Visitor II
    October 6, 2004
    Posted on October 06, 2004 at 06:18

    Daniev,

    just a hint when writing some flash driver SW for the 276 :

    ST did not meet the timing for IFLASH/XFLASH specified in the datasheet some months ago (BEA stepping).

    That's the case for writing and erasing as well.

    You may check up with them if this is still the case if you have a new step available.

    They can provide you with a flashlib (c-sources) as well.

    tom.