Skip to main content
Visitor II
June 22, 2006
Question

How to program Bank0 from Bank1 (internal flash)?

  • June 22, 2006
  • 3 replies
  • 908 views
Posted on June 22, 2006 at 08:01

How to program Bank0 from Bank1 (internal flash)?

    This topic has been closed for replies.

    3 replies

    Visitor II
    June 20, 2006
    Posted on June 20, 2006 at 10:20

    Hello,

    I want to reprogram Bank0 of STR710 internal flash memory (with In Application Programming), but in my software STR710 must boot with internal flash (not with RAM).

    The code that realize the update of Bank0 must be in Bank1 of internal flash. This code (in Bank1) must copy the data that must be written in Bank0 from an external flash memory.

    I just want to know, how to execute the code in Bank1 to realize the update (how to execute instructions which are in the Bank1).

    Thanks

    Visitor II
    June 21, 2006
    Posted on June 21, 2006 at 09:58

    Thanks,

    But how to be sour that the update function is exactly at the address 0x400C0000 at the beginning of bank 1?

    Must I modify the scatter file to copy the file containing the update functions at the beginning of bank 1?

    Or create a new project allowing to copy only the update fonctions in bank 1? In this case there will be 2 projects on the STR710, and the compiler is likely not to find the function indicated by the pointer of function.

    [ This message was edited by: julienduay on 22-06-2006 08:56 ]

    Visitor II
    June 22, 2006
    Posted on June 22, 2006 at 05:27

    Help me please...