Bootloader Erased from MRAM after Running

0

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 "go 0" 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: enter image description here

memory
linker
bootloader
boot
u-boot
asked on Stack Overflow Aug 19, 2020 by SomeUser

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0