This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

fill flash with data

My program in flash end at some point. From that endpoint on I'd like to fill up the whole flash with 0xff.

Something like

.equ FlashDictionaryEnde,   0x00100000

.equ numberofbytes , FlashDictionaryEnde-.
.space numberofbytes,0xff

doesn't work.

How can I achieve this?

Parents
  • Let me exaplain what was the reason behind and why it came to my question:

    In the first place I was only interested in the ARM assembler syntax. That was my original question. And I found the solution by myself.

    Re-thinking about the original intention behind it was the following:

    Consider you program a piece of program from 0x0800000 to 0x080001a0, would it be possible to do another program step from 0x080001a1 to 0x08001fff, so to say fit a second piece of program seamlessly right after the end of the first one? (without "damaging" the first piece?)

Reply
  • Let me exaplain what was the reason behind and why it came to my question:

    In the first place I was only interested in the ARM assembler syntax. That was my original question. And I found the solution by myself.

    Re-thinking about the original intention behind it was the following:

    Consider you program a piece of program from 0x0800000 to 0x080001a0, would it be possible to do another program step from 0x080001a1 to 0x08001fff, so to say fit a second piece of program seamlessly right after the end of the first one? (without "damaging" the first piece?)

Children