Quantcast
Viewing all articles
Browse latest Browse all 5369

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

I did use that link. What I'm trying to do is look into the bin file now to see how I set up the gpio I made changes to the layout and didn't have the good sense to write it down.
for that, objdump is far simpler

Code:

vc4-elf-objdump -D -b binary -m vc4 --adjust-vma=0x60000000 ~/apps/rpi/mask-rom.bin
something like this can fix the base addr and disassembly a binary file
then you just need to search for the addr of the gpio, and see what its writing

Statistics: Posted by cleverca22 — Sun Mar 17, 2024 10:56 pm



Viewing all articles
Browse latest Browse all 5369

Trending Articles