2

使用 OpenOCD 和 GDB 将可执行文件加载到板上时,我得到类似于(摘自此处的片段):

 $ arm-none-eabi-gdb example.elf
 (gdb) target remote localhost:3333
 Remote debugging using localhost:3333
 ...
 (gdb) monitor reset halt
 ...
 (gdb) load
 Loading section .vectors, size 0x100 lma 0x20000000
 Loading section .text, size 0x5a0 lma 0x20000100
 Loading section .data, size 0x18 lma 0x200006a0
 Start address 0x2000061c, load size 1720
 Transfer rate: 22 KB/sec, 573 bytes/write.
 (gdb) continue
 Continuing.
 ...

lma在这种情况下是什么意思?

4

1 回答 1

5

这意味着“本地内存地址”,这是代码或数据已加载到的内存地址:

http://www.embeddedrelated.com/usenet/embedded/show/77071-1.php

于 2012-03-21T10:58:36.967 回答