Skip to main content
Visitor II
February 9, 2006
Question

IAP,sector 0

  • February 9, 2006
  • 3 replies
  • 742 views
Posted on February 09, 2006 at 03:35

IAP,sector 0

    This topic has been closed for replies.

    3 replies

    luterAuthor
    Visitor II
    February 7, 2006
    Posted on February 07, 2006 at 05:36

    Hello.

    I am new in IAP and have one question. I know that access and execution in sector0 is impossible during write or erase operations in sector 1 or 2. It means that my write/erase routines should be executed in RAM. May I execute another part of my bootloader in sector 0?

    For example, such way:

    1) RS232 routine(reception of code) -- execution in sector 0

    2) flash write routine -- execution in RAM

    3) RS232 routine(reception of next code) -- execution in sector 0

    4) flash write routine -- execution in RAM

    and so on

    My micro is ST7MC.

    Tnx in advance

    Visitor II
    February 8, 2006
    Posted on February 08, 2006 at 17:09

    Hello.

    I have an experience with ICC protocol and ST7F321. I transfer the program that is execute in RAM via ICC pin. With this solution you can reprogram all sector. In the ST7F321, there are lot of ram so I suppose that the RS232 routine can be execute but in the ST7MC I don't know.

    how many RAM in this uC?

    bye.

    excuse for my basic english. ;)

    luterAuthor
    Visitor II
    February 9, 2006
    Posted on February 09, 2006 at 03:35

    Hello.

    Tnx for answer. But I am interested in IAP only. I have to flash my micro during industrial work. Micro has 768 bytes RAM.