Skip to main content
sebastian239955_stm1_st
Associate
May 11, 2009
Question

How can I read from Main-Flash while running from Boot-Flash

  • May 11, 2009
  • 1 reply
  • 544 views
Posted on May 11, 2009 at 09:45

How can I read from Main-Flash while running from Boot-Flash

This topic has been closed for replies.

1 reply

sebastian239955_stm1_st
Associate
May 17, 2011
Posted on May 17, 2011 at 11:52

Hi,

I am trying to read the flash content of the Main-Flash during boot-up (IAP - boot code is located in Boot-Flash).

Purpose of my question: I need to create some sort of check sum for the content of the Main-Flash.

I managed to switch from Boot-Flash to Main-Flash and vice versa, erease of the Main-Flash is also working. If I write a byte to the Main-Flash using the Polling-Mechanism for verifying it seems that the writing was ok.

But if I try to read a byte manualy I only read ''trash''.

Any hint is welcome.

Best regards

Sebastian