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

Include binary files at an absolute address

I've to include two binary files, one at address 0x2000 and other at 0x3000. These are absolute address in the CODE section. These files includes ARM cortex M0 firmwares which can be switched to using a bootloader code.

I included an image.s file in my "User group" in my Keil Project workspace.

;/*------------------ image.s -----------------*/

AREA _image, CODE, READONLY

INCBIN ./Objects/blue2000.bin

INCBIN ./Objects/red3000.bin

END

____________________________________________________

How to locate these binary images at absolute address?

Parents
  • For a simple utility to manipulate hex files, I would go straight for writing something myself. It should be bread an butter stuff for a seasoned development engineer.

    But there are some old projects (circa 1980-2000) we have to maintain with a few old compilers and linkers/locaters. They run a treat with MS-DOS player. We always carry out a rebuild of an existing project to ensure the produced binary image is a 100% match before considering any code changes.

Reply
  • For a simple utility to manipulate hex files, I would go straight for writing something myself. It should be bread an butter stuff for a seasoned development engineer.

    But there are some old projects (circa 1980-2000) we have to maintain with a few old compilers and linkers/locaters. They run a treat with MS-DOS player. We always carry out a rebuild of an existing project to ensure the produced binary image is a 100% match before considering any code changes.

Children
No data