The standard objcopy should be able to extract and convert:
pru-objcopy -j .data myprog.elf -O binary DMEM.bin
pru-objcopy -j .text myprog.elf -O binary IMEM.bin
Alternatively, you can parse the ELF file yourself, as does the example
loader:
Just to let you know that the PRU GCC toolchain also has a disassembler:
pru-objdump -d myprog.elf
For more information do man objdump
Regards,
Dimitar
19 ноември 2014, сряда, 15:25:21 UTC+2, Karl Karpfen написа:
Meanwhile I'm more than happy with TI's C-compiler. Especially the
Meanwhile I'm more than happy with TI's C-compiler. Especially the
disassembler is very useful in case one has to count instructions to get
the exact number of clock cycles a code-sequence requires (needed in some
realtime applications).
Am Donnerstag, 6. November 2014 18:40:08 UTC+1 schrieb
On Tue, Nov 4, 2014 at 11:56 AM, Karl Karpfen karlkarpfe...@gmail.com wrote:
OK, I'll try GCC version! Just wanted to collect some information regarding
both compilers in this thread...
2014-11-04 17:47 GMT+01:00 dinu...@gmail.com:
Hi Karl,
The PRU GAS and LD ports should be in a good
Hi Karl,
The PRU GAS and LD ports should be in a good shape. But the PRU GCC port
has not yet reached beta. Judge for yourself:
- PRU GCC has not been battle tested on a big project.
- Only two small examples are currently used to sanity check the pru
gcc releases.
- PRU GCC has no
OK, I'll try GCC version! Just wanted to collect some information regarding
both compilers in this thread...
2014-11-04 17:47 GMT+01:00 dinu...@gmail.com:
Hi Karl,
The PRU GAS and LD ports should be in a good shape. But the PRU GCC port
has not yet reached beta. Judge for yourself:
-