Joined: 08 Sep 2003 Posts: 197 Location: Omaha NE USA
Bootloader - combine with object program in HEX?
Posted: Tue Mar 02, 2010 12:19 pm
Hi guys.
I'm using a slightly modified version of the CCS boot loader, which loads my target program from a USB drive. Everything works perfectly. I have a small HEX file for the bootloader, and a large HEX file for the target program. At compile time, I have a #define that tells the compiler whether to build the bootloader or the main program.
What I'd like to do is generate one HEX file with the bootloader AND the target program, so I don't have to bootload every device I build. I don't particularly care if the compiler does it, or if I manually splice HEX files together.
Joined: 08 Sep 2003 Posts: 197 Location: Omaha NE USA
Posted: Tue Mar 02, 2010 1:52 pm
Your search criteria must have been far better than mine, which returned several hundred hits. Probably would have helped if I'd known that #import was the secret sauce. :) That did the trick perfectly.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum