This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

axf to bin: getting a generic 10k file.

I put the following in Options->User->Run#1:

fromelf --bin --output ProjectFiles\MyFile.bin ProjectFiles\MyFile.AXF

This is pretty much what I've always used to make a *.bin from an *.axf.
There are no errors (verified that error was returned with incorrect path to MyFile.axf) and a file MyFile.bin was created, but it was only 10k and unrelated to the contents of my program.

Is it because I am currently using a code-size limited version?
I am using uVision 4, though I downloaded 5 and the same thing happened.

Dustin Soodak

Parents
  • unrelated meaning that the same file is produced regardless of actual code. Doesn't change even when I manually edit or add to the interrupt vector table at the beginning (and verify that changes were made by downloading the file and looking at the flash in debug mode (also looked at the axf file).

    If I could figure out how to decode the end of binary file info from the axf file I could extract the *.bin manually (bin code always starts at position 52 in this file).

    Another thing that could solve my problem is if there was a way to always put a constant data array at the end of the flash section so I could use this as a marker.

Reply
  • unrelated meaning that the same file is produced regardless of actual code. Doesn't change even when I manually edit or add to the interrupt vector table at the beginning (and verify that changes were made by downloading the file and looking at the flash in debug mode (also looked at the axf file).

    If I could figure out how to decode the end of binary file info from the axf file I could extract the *.bin manually (bin code always starts at position 52 in this file).

    Another thing that could solve my problem is if there was a way to always put a constant data array at the end of the flash section so I could use this as a marker.

Children