Skip to main content
fallen_angel_ii
Visitor II
November 18, 2011
Question

writing out of flash memory at adress 0x0

  • November 18, 2011
  • 2 replies
  • 1084 views
Posted on November 18, 2011 at 17:57

writing out of flash memory at adress 0x0

#stk #stm32 #103stk #0x0
    This topic has been closed for replies.

    2 replies

    emalund
    Associate III
    November 18, 2011
    Posted on November 18, 2011 at 20:39

    I amagine this is due to language trouble, however

    a) ''write out'' do you mean 'read'.

    b) flash location 0 is 'reserved' at the start of the vector table; why would anyone want to read/''write out'' there.

    Erik

    Tesla DeLorean
    Guru
    November 18, 2011
    Posted on November 18, 2011 at 21:03

    Perhaps the forum ate your message?

    The flash is always at 0x08000000, you will need/want to write to it there.

    It may appear to be mapped/shadowed at ZERO based on the state of the BOOTx pins at startup (or programmatically on F2 and F4 designs), but writing to it at it's usual address is recommended.

    Writing to flash will fail if the memory has not been erased, and writing while executing from flash will seriously stall the processor operation.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..