Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5530

SDK • Re: How debug a Pico without the elf?

$
0
0
I tried arm-none-eabi-objcopy -I binary -O elf32-little --change-section-address .data=0x08000000 pt52lua_lostver.bin output.elf
but then radare2 -w arm -b 16 output.elf doesn't seem to work.
If that came via Pavel Kirienko - https://gist.github.com/pavel-kirienko/6835194423df07f6160af19f7ea33a4d - The '.data' address needs to change. This is what my tools use -

Code:

arm-none-eabi-objcopy -I binary -O elf32-little --change-section-address .data=0x10000000 input.bin output.elf
But I'm not sure what the status of that '.elf' is, how well it will work with other tools. And, as others have said, it will contain only the executable binary, not all that was in the original '.elf' created by Pico SDK.

Statistics: Posted by hippy — Sun Mar 17, 2024 5:26 pm



Viewing all articles
Browse latest Browse all 5530

Trending Articles