Skip to main content
eric2
Associate
January 9, 2018
Question

STM32L431 Flash reading problem

  • January 9, 2018
  • 0 replies
  • 395 views
Posted on January 09, 2018 at 11:43

Hello,

I have a problem with my bootloader. At the first launch I write a 64 bit word in flash in 0x8004030. I was able to check with J-Mem to make a dump of the memory and it flash writing OK.

If I read the value at this address in 0x8004030 there is 0xfffffffff.

In assembler I have:

ldr r2, [r5, # 0]

R5 = 0x8004030

and the result in R2 is 0xffffffff wich is wrong.

And if I read the value at this address in 0x00004030 there is good value.

why there is not the same value in 0x08004030 when 0x00004030?

Thanks,

Eric

    This topic has been closed for replies.