Hello everyone,
I've been working on my Pico Lua computer project and suffered a system crash that wiped out all my recent changes the only place a working copy exists is in my Pico's flash but I can't seem to save the elf file. I can get the bin or uf2 I've searched for an hour now and I don't see a way to get the elf that works.
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.
I admit I don't know how to use this tool but it doesn't like the elf and can't find the main function. All I need to do is find out how I setup some of the registers.
I've been working on my Pico Lua computer project and suffered a system crash that wiped out all my recent changes the only place a working copy exists is in my Pico's flash but I can't seem to save the elf file. I can get the bin or uf2 I've searched for an hour now and I don't see a way to get the elf that works.
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.
I admit I don't know how to use this tool but it doesn't like the elf and can't find the main function. All I need to do is find out how I setup some of the registers.
Statistics: Posted by DarkElvenAngel — Sat Mar 16, 2024 6:51 pm