title: Bootloader Erased from MRAM after Running
body: <p>I am trying to burn the U-boot bootloader in MRAM on my board so that it is able to boot-up on a restart without having to use a serial debugger. I am loading the file using GRMON with the flag -wprot to temporarily enable flash writes to MRAM. The bootloader seems to load into MRAM correctly and then when I run &quot;go 0&quot; the U-boot prompts showup correctly in the serial output. After loading u-boot, there is data stored at 0x00000000 (81882fe0), but when I stop execution and recheck the memory, it seems to be erased. MRAM writes should stick and permanently change the contents of MRAM, so I'm not sure why the bootloader is being erased? Here's an image of what's occurring: <a href="https://i.stack.imgur.com/XI501.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XI501.png" alt="enter image description here" /></a></p>